PMD Results

The following document contains the results of PMD 7.3.0.

Violations By Priority

Priority 3

nl/tudelft/simulation/dsol/swing/animation/d2/AnimationUpdaterThread.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 6972
EmptyCatchBlock Avoid empty catch blocks 7780

nl/tudelft/simulation/dsol/swing/animation/d2/AutoPanAnimationPanel.java

Rule Violation Line
UnusedPrivateField Avoid unused private fields such as 'autoPanOnNextPaintComponent'. 56
UselessOverridingMethod Overriding method merely calls super 107

nl/tudelft/simulation/dsol/swing/animation/d2/InputListener.java

Rule Violation Line
UnnecessaryReturn Unnecessary return statement 80

nl/tudelft/simulation/dsol/swing/animation/d2/VisualizationPanel.java

Rule Violation Line
SimplifiedTernary This conditional expression can be simplified with || or && 303
CollapsibleIfStatements This if statement could be combined with its parent 329332
UnnecessaryReturn Unnecessary return statement 384
EmptyCatchBlock Avoid empty catch blocks 734737
UselessOverridingMethod Overriding method merely calls super 989

nl/tudelft/simulation/dsol/swing/charts/xy/XYSeries.java

Rule Violation Line
CollapsibleIfStatements This if statement could be combined with its parent 105109
CollapsibleIfStatements This if statement could be combined with its parent 113117

nl/tudelft/simulation/dsol/swing/gui/DsolApplication.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 130133

nl/tudelft/simulation/dsol/swing/gui/animation/panel/InfoTextPanel.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 163166

nl/tudelft/simulation/dsol/swing/gui/animation/panel/SearchPanel.java

Rule Violation Line
UselessOverridingMethod Overriding method merely calls super 266

nl/tudelft/simulation/dsol/swing/gui/animation/panel/TogglePanel.java

Rule Violation Line
UnusedFormalParameter Avoid unused constructor parameters such as 'animationTab'. 27

nl/tudelft/simulation/dsol/swing/gui/control/AbstractControlPanel.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 187190

nl/tudelft/simulation/dsol/swing/gui/control/RealTimeControlPanel.java

Rule Violation Line
CollapsibleIfStatements This if statement could be combined with its parent 7683

nl/tudelft/simulation/dsol/swing/gui/control/RunSpeedSliderPanel.java

Rule Violation Line
UselessQualifiedThis Useless qualified this usage in the same class. 133

nl/tudelft/simulation/dsol/swing/gui/util/Icons.java

Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'final' on method 'loadIcon': the method is already in a final class 33
UnnecessaryModifier Unnecessary modifier 'final' on method 'loadGrayscaleIcon': the method is already in a final class 51

nl/tudelft/simulation/dsol/swing/introspection/gui/IntrospectionDialog.java

Rule Violation Line
CollapsibleIfStatements This if statement could be combined with its parent 153157

nl/tudelft/simulation/dsol/swing/introspection/sortable/Sortable.java

Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'public' on interface 'Definition': the interface is declared in an interface type 22

Priority 4

nl/tudelft/simulation/dsol/swing/animation/d2/InputListener.java

Rule Violation Line
UselessParentheses Useless parentheses. 95

nl/tudelft/simulation/dsol/swing/animation/d2/actions/HomeAction.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Action': 'SMALL_ICON' is already in scope because it is inherited by an enclosing type 39

nl/tudelft/simulation/dsol/swing/animation/d2/actions/PanDownAction.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Action': 'SMALL_ICON' is already in scope because it is inherited by an enclosing type 41

nl/tudelft/simulation/dsol/swing/animation/d2/actions/PanLeftAction.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Action': 'SMALL_ICON' is already in scope because it is inherited by an enclosing type 40

nl/tudelft/simulation/dsol/swing/animation/d2/actions/PanRightAction.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Action': 'SMALL_ICON' is already in scope because it is inherited by an enclosing type 40

nl/tudelft/simulation/dsol/swing/animation/d2/actions/PanUpAction.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Action': 'SMALL_ICON' is already in scope because it is inherited by an enclosing type 40

nl/tudelft/simulation/dsol/swing/animation/d2/actions/ZoomInAction.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Action': 'SMALL_ICON' is already in scope because it is inherited by an enclosing type 40

nl/tudelft/simulation/dsol/swing/animation/d2/actions/ZoomOutAction.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Action': 'SMALL_ICON' is already in scope because it is inherited by an enclosing type 40

nl/tudelft/simulation/dsol/swing/charts/boxwhisker/BoxAndWhiskerPlot.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'BoxAndWhiskerPlot': 'extent' is already in scope 272

nl/tudelft/simulation/dsol/swing/charts/histogram/Histogram.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Histogram': 'LABEL_Y_AXIS' is already in scope because it is declared in an enclosing type 86
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Histogram': 'LABEL_X_AXIS' is already in scope because it is declared in an enclosing type 89

nl/tudelft/simulation/dsol/swing/charts/histogram/HistogramDomainAxis.java

Rule Violation Line
UselessParentheses Useless parentheses. 70
UselessParentheses Useless parentheses. 138

nl/tudelft/simulation/dsol/swing/charts/xy/XYChart.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'XYChart': 'XLINEAR_YLOGARITHMIC' is already in scope because it is declared in an enclosing type 97
UnnecessaryFullyQualifiedName Unnecessary qualifier 'XYChart': 'LABEL_Y_AXIS' is already in scope because it is declared in an enclosing type 98
UnnecessaryFullyQualifiedName Unnecessary qualifier 'XYChart': 'XLOGARITHMIC_YLINEAR' is already in scope because it is declared in an enclosing type 100
UnnecessaryFullyQualifiedName Unnecessary qualifier 'XYChart': 'LABEL_X_AXIS' is already in scope because it is declared in an enclosing type 101
UnnecessaryFullyQualifiedName Unnecessary qualifier 'XYChart': 'XLOGARITHMIC_YLOGARITHMIC' is already in scope because it is declared in an enclosing type 103
UnnecessaryFullyQualifiedName Unnecessary qualifier 'XYChart': 'LABEL_X_AXIS' is already in scope because it is declared in an enclosing type 104
UnnecessaryFullyQualifiedName Unnecessary qualifier 'XYChart': 'LABEL_Y_AXIS' is already in scope because it is declared in an enclosing type 105
UnnecessaryFullyQualifiedName Unnecessary qualifier 'XYChart': 'XLINEAR_YLINEAR' is already in scope because it is declared in an enclosing type 183
UnnecessaryFullyQualifiedName Unnecessary qualifier 'XYChart': 'XLINEAR_YLINEAR' is already in scope because it is declared in an enclosing type 194
UnnecessaryFullyQualifiedName Unnecessary qualifier 'XYChart': 'XLINEAR_YLINEAR' is already in scope because it is declared in an enclosing type 230
UnnecessaryFullyQualifiedName Unnecessary qualifier 'XYChart': 'XLINEAR_YLINEAR' is already in scope because it is declared in an enclosing type 242

nl/tudelft/simulation/dsol/swing/charts/xy/XYSeries.java

Rule Violation Line
UselessParentheses Useless parentheses. 125

nl/tudelft/simulation/dsol/swing/gui/DsolApplication.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Frame': 'MAXIMIZED_BOTH' is already in scope because it is inherited by an enclosing type 80
UnnecessaryFullyQualifiedName Unnecessary qualifier 'WindowConstants': 'EXIT_ON_CLOSE' is already in scope because it is inherited by an enclosing type 324
UnnecessaryFullyQualifiedName Unnecessary qualifier 'WindowConstants': 'DISPOSE_ON_CLOSE' is already in scope because it is inherited by an enclosing type 328

nl/tudelft/simulation/dsol/swing/gui/animation/DsolAnimationGisTab.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Component': 'LEFT_ALIGNMENT' is already in scope because it is inherited by an enclosing type 136

nl/tudelft/simulation/dsol/swing/gui/animation/DsolAnimationTab.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Component': 'LEFT_ALIGNMENT' is already in scope because it is inherited by an enclosing type 250
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Component': 'LEFT_ALIGNMENT' is already in scope because it is inherited by an enclosing type 288
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Component': 'LEFT_ALIGNMENT' is already in scope because it is inherited by an enclosing type 312

nl/tudelft/simulation/dsol/swing/gui/animation/panel/InfoTextPanel.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Thread': 'sleep' is already in scope 161

nl/tudelft/simulation/dsol/swing/gui/control/AbstractControlPanel.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Thread': 'sleep' is already in scope 185

nl/tudelft/simulation/dsol/swing/gui/inputparameters/InputFieldDistContinuous.java

Rule Violation Line
UselessParentheses Useless parentheses. 125

nl/tudelft/simulation/dsol/swing/gui/inputparameters/InputFieldDistDiscrete.java

Rule Violation Line
UselessParentheses Useless parentheses. 125

nl/tudelft/simulation/dsol/swing/gui/inputparameters/TabbedParameterDialog.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'WindowConstants': 'DISPOSE_ON_CLOSE' is already in scope because it is inherited by an enclosing type 71

nl/tudelft/simulation/dsol/swing/introspection/gui/CollectionTableModel.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'CollectionTableModel': 'COLUMNS' is already in scope because it is declared in an enclosing type 148
UnnecessaryFullyQualifiedName Unnecessary qualifier 'CollectionTableModel': 'COLUMNS' is already in scope because it is declared in an enclosing type 174

nl/tudelft/simulation/dsol/swing/introspection/gui/ImmutableCollectionTableModel.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'ImmutableCollectionTableModel': 'COLUMNS' is already in scope because it is declared in an enclosing type 141
UnnecessaryFullyQualifiedName Unnecessary qualifier 'ImmutableCollectionTableModel': 'COLUMNS' is already in scope because it is declared in an enclosing type 167

nl/tudelft/simulation/dsol/swing/introspection/gui/IntrospectionDialog.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'WindowConstants': 'DISPOSE_ON_CLOSE' is already in scope because it is inherited by an enclosing type 145

nl/tudelft/simulation/dsol/swing/introspection/gui/MapTableModel.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'MapTableModel': 'COLUMNS' is already in scope because it is declared in an enclosing type 138
UnnecessaryFullyQualifiedName Unnecessary qualifier 'MapTableModel': 'COLUMNS' is already in scope because it is declared in an enclosing type 168

nl/tudelft/simulation/dsol/swing/introspection/gui/ObjectJTable.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'ObjectJTable': 'updateTimer' is already in scope because it is declared in an enclosing type 136
UnnecessaryFullyQualifiedName Unnecessary qualifier 'JTable': 'AUTO_RESIZE_LAST_COLUMN' is already in scope because it is inherited by an enclosing type 221

nl/tudelft/simulation/dsol/swing/introspection/gui/ObjectTableModel.java

Rule Violation Line
UselessParentheses Useless parentheses. 126

nl/tudelft/simulation/dsol/swing/introspection/gui/UpdateTimer.java

Rule Violation Line
UselessParentheses Useless parentheses. 66
UselessParentheses Useless parentheses. 96

nl/tudelft/simulation/dsol/swing/introspection/mapping/DefaultConfiguration.java

Rule Violation Line
UnnecessaryImport Unused import 'java.awt.Component' 4

nl/tudelft/simulation/dsol/swing/introspection/sortable/SortingHeaderCell.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'SortingHeaderCell': 'SORT_NONE' is already in scope because it is declared in an enclosing type 42
UnnecessaryFullyQualifiedName Unnecessary qualifier 'SortingHeaderCell': 'instanceCounter' is already in scope because it is declared in an enclosing type 45
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Component': 'CENTER_ALIGNMENT' is already in scope because it is inherited by an enclosing type 54
UnnecessaryFullyQualifiedName Unnecessary qualifier 'SortingHeaderCell': 'instanceCounter' is already in scope because it is declared in an enclosing type 56
UselessParentheses Useless parentheses. 99
UnnecessaryFullyQualifiedName Unnecessary qualifier 'SortingHeaderCell': 'SORT_DESCENDING' is already in scope because it is declared in an enclosing type 119
UnnecessaryFullyQualifiedName Unnecessary qualifier 'SortingHeaderCell': 'SORT_ASCENDING' is already in scope because it is declared in an enclosing type 123

nl/tudelft/simulation/dsol/swing/introspection/sortable/SortingTableModel.java

Rule Violation Line
UselessParentheses Useless parentheses. 69
UselessParentheses Useless parentheses. 164

Files

nl/tudelft/simulation/dsol/swing/animation/d2/AnimationUpdaterThread.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 6972
EmptyCatchBlock Avoid empty catch blocks 3 7780

nl/tudelft/simulation/dsol/swing/animation/d2/AutoPanAnimationPanel.java

Rule Violation Priority Line
UnusedPrivateField Avoid unused private fields such as 'autoPanOnNextPaintComponent'. 3 56
UselessOverridingMethod Overriding method merely calls super 3 107

nl/tudelft/simulation/dsol/swing/animation/d2/InputListener.java

Rule Violation Priority Line
UnnecessaryReturn Unnecessary return statement 3 80
UselessParentheses Useless parentheses. 4 95

nl/tudelft/simulation/dsol/swing/animation/d2/VisualizationPanel.java

Rule Violation Priority Line
SimplifiedTernary This conditional expression can be simplified with || or && 3 303
CollapsibleIfStatements This if statement could be combined with its parent 3 329332
UnnecessaryReturn Unnecessary return statement 3 384
EmptyCatchBlock Avoid empty catch blocks 3 734737
UselessOverridingMethod Overriding method merely calls super 3 989

nl/tudelft/simulation/dsol/swing/animation/d2/actions/HomeAction.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Action': 'SMALL_ICON' is already in scope because it is inherited by an enclosing type 4 39

nl/tudelft/simulation/dsol/swing/animation/d2/actions/PanDownAction.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Action': 'SMALL_ICON' is already in scope because it is inherited by an enclosing type 4 41

nl/tudelft/simulation/dsol/swing/animation/d2/actions/PanLeftAction.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Action': 'SMALL_ICON' is already in scope because it is inherited by an enclosing type 4 40

nl/tudelft/simulation/dsol/swing/animation/d2/actions/PanRightAction.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Action': 'SMALL_ICON' is already in scope because it is inherited by an enclosing type 4 40

nl/tudelft/simulation/dsol/swing/animation/d2/actions/PanUpAction.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Action': 'SMALL_ICON' is already in scope because it is inherited by an enclosing type 4 40

nl/tudelft/simulation/dsol/swing/animation/d2/actions/ZoomInAction.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Action': 'SMALL_ICON' is already in scope because it is inherited by an enclosing type 4 40

nl/tudelft/simulation/dsol/swing/animation/d2/actions/ZoomOutAction.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Action': 'SMALL_ICON' is already in scope because it is inherited by an enclosing type 4 40

nl/tudelft/simulation/dsol/swing/charts/boxwhisker/BoxAndWhiskerPlot.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'BoxAndWhiskerPlot': 'extent' is already in scope 4 272

nl/tudelft/simulation/dsol/swing/charts/histogram/Histogram.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Histogram': 'LABEL_Y_AXIS' is already in scope because it is declared in an enclosing type 4 86
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Histogram': 'LABEL_X_AXIS' is already in scope because it is declared in an enclosing type 4 89

nl/tudelft/simulation/dsol/swing/charts/histogram/HistogramDomainAxis.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 70
UselessParentheses Useless parentheses. 4 138

nl/tudelft/simulation/dsol/swing/charts/xy/XYChart.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'XYChart': 'XLINEAR_YLOGARITHMIC' is already in scope because it is declared in an enclosing type 4 97
UnnecessaryFullyQualifiedName Unnecessary qualifier 'XYChart': 'LABEL_Y_AXIS' is already in scope because it is declared in an enclosing type 4 98
UnnecessaryFullyQualifiedName Unnecessary qualifier 'XYChart': 'XLOGARITHMIC_YLINEAR' is already in scope because it is declared in an enclosing type 4 100
UnnecessaryFullyQualifiedName Unnecessary qualifier 'XYChart': 'LABEL_X_AXIS' is already in scope because it is declared in an enclosing type 4 101
UnnecessaryFullyQualifiedName Unnecessary qualifier 'XYChart': 'XLOGARITHMIC_YLOGARITHMIC' is already in scope because it is declared in an enclosing type 4 103
UnnecessaryFullyQualifiedName Unnecessary qualifier 'XYChart': 'LABEL_X_AXIS' is already in scope because it is declared in an enclosing type 4 104
UnnecessaryFullyQualifiedName Unnecessary qualifier 'XYChart': 'LABEL_Y_AXIS' is already in scope because it is declared in an enclosing type 4 105
UnnecessaryFullyQualifiedName Unnecessary qualifier 'XYChart': 'XLINEAR_YLINEAR' is already in scope because it is declared in an enclosing type 4 183
UnnecessaryFullyQualifiedName Unnecessary qualifier 'XYChart': 'XLINEAR_YLINEAR' is already in scope because it is declared in an enclosing type 4 194
UnnecessaryFullyQualifiedName Unnecessary qualifier 'XYChart': 'XLINEAR_YLINEAR' is already in scope because it is declared in an enclosing type 4 230
UnnecessaryFullyQualifiedName Unnecessary qualifier 'XYChart': 'XLINEAR_YLINEAR' is already in scope because it is declared in an enclosing type 4 242

nl/tudelft/simulation/dsol/swing/charts/xy/XYSeries.java

Rule Violation Priority Line
CollapsibleIfStatements This if statement could be combined with its parent 3 105109
CollapsibleIfStatements This if statement could be combined with its parent 3 113117
UselessParentheses Useless parentheses. 4 125

nl/tudelft/simulation/dsol/swing/gui/DsolApplication.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Frame': 'MAXIMIZED_BOTH' is already in scope because it is inherited by an enclosing type 4 80
EmptyCatchBlock Avoid empty catch blocks 3 130133
UnnecessaryFullyQualifiedName Unnecessary qualifier 'WindowConstants': 'EXIT_ON_CLOSE' is already in scope because it is inherited by an enclosing type 4 324
UnnecessaryFullyQualifiedName Unnecessary qualifier 'WindowConstants': 'DISPOSE_ON_CLOSE' is already in scope because it is inherited by an enclosing type 4 328

nl/tudelft/simulation/dsol/swing/gui/animation/DsolAnimationGisTab.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Component': 'LEFT_ALIGNMENT' is already in scope because it is inherited by an enclosing type 4 136

nl/tudelft/simulation/dsol/swing/gui/animation/DsolAnimationTab.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Component': 'LEFT_ALIGNMENT' is already in scope because it is inherited by an enclosing type 4 250
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Component': 'LEFT_ALIGNMENT' is already in scope because it is inherited by an enclosing type 4 288
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Component': 'LEFT_ALIGNMENT' is already in scope because it is inherited by an enclosing type 4 312

nl/tudelft/simulation/dsol/swing/gui/animation/panel/InfoTextPanel.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Thread': 'sleep' is already in scope 4 161
EmptyCatchBlock Avoid empty catch blocks 3 163166

nl/tudelft/simulation/dsol/swing/gui/animation/panel/SearchPanel.java

Rule Violation Priority Line
UselessOverridingMethod Overriding method merely calls super 3 266

nl/tudelft/simulation/dsol/swing/gui/animation/panel/TogglePanel.java

Rule Violation Priority Line
UnusedFormalParameter Avoid unused constructor parameters such as 'animationTab'. 3 27

nl/tudelft/simulation/dsol/swing/gui/control/AbstractControlPanel.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Thread': 'sleep' is already in scope 4 185
EmptyCatchBlock Avoid empty catch blocks 3 187190

nl/tudelft/simulation/dsol/swing/gui/control/RealTimeControlPanel.java

Rule Violation Priority Line
CollapsibleIfStatements This if statement could be combined with its parent 3 7683

nl/tudelft/simulation/dsol/swing/gui/control/RunSpeedSliderPanel.java

Rule Violation Priority Line
UselessQualifiedThis Useless qualified this usage in the same class. 3 133

nl/tudelft/simulation/dsol/swing/gui/inputparameters/InputFieldDistContinuous.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 125

nl/tudelft/simulation/dsol/swing/gui/inputparameters/InputFieldDistDiscrete.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 125

nl/tudelft/simulation/dsol/swing/gui/inputparameters/TabbedParameterDialog.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'WindowConstants': 'DISPOSE_ON_CLOSE' is already in scope because it is inherited by an enclosing type 4 71

nl/tudelft/simulation/dsol/swing/gui/util/Icons.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'final' on method 'loadIcon': the method is already in a final class 3 33
UnnecessaryModifier Unnecessary modifier 'final' on method 'loadGrayscaleIcon': the method is already in a final class 3 51

nl/tudelft/simulation/dsol/swing/introspection/gui/CollectionTableModel.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'CollectionTableModel': 'COLUMNS' is already in scope because it is declared in an enclosing type 4 148
UnnecessaryFullyQualifiedName Unnecessary qualifier 'CollectionTableModel': 'COLUMNS' is already in scope because it is declared in an enclosing type 4 174

nl/tudelft/simulation/dsol/swing/introspection/gui/ImmutableCollectionTableModel.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'ImmutableCollectionTableModel': 'COLUMNS' is already in scope because it is declared in an enclosing type 4 141
UnnecessaryFullyQualifiedName Unnecessary qualifier 'ImmutableCollectionTableModel': 'COLUMNS' is already in scope because it is declared in an enclosing type 4 167

nl/tudelft/simulation/dsol/swing/introspection/gui/IntrospectionDialog.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'WindowConstants': 'DISPOSE_ON_CLOSE' is already in scope because it is inherited by an enclosing type 4 145
CollapsibleIfStatements This if statement could be combined with its parent 3 153157

nl/tudelft/simulation/dsol/swing/introspection/gui/MapTableModel.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'MapTableModel': 'COLUMNS' is already in scope because it is declared in an enclosing type 4 138
UnnecessaryFullyQualifiedName Unnecessary qualifier 'MapTableModel': 'COLUMNS' is already in scope because it is declared in an enclosing type 4 168

nl/tudelft/simulation/dsol/swing/introspection/gui/ObjectJTable.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'ObjectJTable': 'updateTimer' is already in scope because it is declared in an enclosing type 4 136
UnnecessaryFullyQualifiedName Unnecessary qualifier 'JTable': 'AUTO_RESIZE_LAST_COLUMN' is already in scope because it is inherited by an enclosing type 4 221

nl/tudelft/simulation/dsol/swing/introspection/gui/ObjectTableModel.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 126

nl/tudelft/simulation/dsol/swing/introspection/gui/UpdateTimer.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 66
UselessParentheses Useless parentheses. 4 96

nl/tudelft/simulation/dsol/swing/introspection/mapping/DefaultConfiguration.java

Rule Violation Priority Line
UnnecessaryImport Unused import 'java.awt.Component' 4 4

nl/tudelft/simulation/dsol/swing/introspection/sortable/Sortable.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'public' on interface 'Definition': the interface is declared in an interface type 3 22

nl/tudelft/simulation/dsol/swing/introspection/sortable/SortingHeaderCell.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'SortingHeaderCell': 'SORT_NONE' is already in scope because it is declared in an enclosing type 4 42
UnnecessaryFullyQualifiedName Unnecessary qualifier 'SortingHeaderCell': 'instanceCounter' is already in scope because it is declared in an enclosing type 4 45
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Component': 'CENTER_ALIGNMENT' is already in scope because it is inherited by an enclosing type 4 54
UnnecessaryFullyQualifiedName Unnecessary qualifier 'SortingHeaderCell': 'instanceCounter' is already in scope because it is declared in an enclosing type 4 56
UselessParentheses Useless parentheses. 4 99
UnnecessaryFullyQualifiedName Unnecessary qualifier 'SortingHeaderCell': 'SORT_DESCENDING' is already in scope because it is declared in an enclosing type 4 119
UnnecessaryFullyQualifiedName Unnecessary qualifier 'SortingHeaderCell': 'SORT_ASCENDING' is already in scope because it is declared in an enclosing type 4 123

nl/tudelft/simulation/dsol/swing/introspection/sortable/SortingTableModel.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 69
UselessParentheses Useless parentheses. 4 164