r4fterman/pdf.forms

View on GitHub
src/main/java/org/pdf/forms/gui/hierarchy/tree/HierarchyTreeCellEditor.java

Summary

Maintainability
A
45 mins
Test Coverage
F
40%

Method getTreeCellEditorComponent has 6 arguments (exceeds 4 allowed). Consider refactoring.
Open

            final JTree tree,
            final Object value,
            final boolean isSelected,
            final boolean expanded,
            final boolean leaf,

    Line is longer than 100 characters (found 120).
    Open

            final Container tf = (Container) super.getTreeCellEditorComponent(tree, value, isSelected, expanded, leaf, row);

    Checks for long lines.

    Rationale: Long lines are hard to read in printouts or if developershave limited screen space for the source code, e.g. if the IDEdisplays additional information like project tree, class hierarchy,etc.

    This documentation is written and maintained by the Checkstyle community and is covered under the same license as the Checkstyle project.

    Extra separation in import group before 'javax.swing.JTextField'
    Open

    import javax.swing.JTextField;

    Checks that the groups of import declarations appear in the order specifiedby the user. If there is an import but its group is not specified in theconfiguration such an import should be placed at the end of the import list.

    This documentation is written and maintained by the Checkstyle community and is covered under the same license as the Checkstyle project.

    There are no issues that match your filters.

    Category
    Status