Add CI with SpotBugs and fix Errors found by SpotBugs #3
Annotations
10 errors and 10 warnings
checkstyle
File contains tab characters (this is the first instance).
|
checkstyle
Class 'ToolBarButtonBorder' looks like designed for extension (can be subclassed), but the method 'isBorderOpaque' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'ToolBarButtonBorder' final or making the method 'isBorderOpaque' static/final/abstract/empty, or adding allowed annotation for the method.
|
checkstyle
Class 'ToolBarButtonBorder' looks like designed for extension (can be subclassed), but the method 'paintBorder' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'ToolBarButtonBorder' final or making the method 'paintBorder' static/final/abstract/empty, or adding allowed annotation for the method.
|
checkstyle
'if' is not followed by whitespace.
|
checkstyle
'5' is a magic number.
|
checkstyle
'5' is a magic number.
|
checkstyle
'5' is a magic number.
|
checkstyle
'5' is a magic number.
|
checkstyle
'5' is a magic number.
|
checkstyle
'5' is a magic number.
|
checkstyle:
src/main/java/com/vlsolutions/swing/toolbars/ToolBarButtonBorder.java#L43
Line is longer than 120 characters (found 134).
|
checkstyle:
src/main/java/com/vlsolutions/swing/toolbars/ToolBarButtonBorder.java#L45
Line is longer than 120 characters (found 149).
|
checkstyle:
src/main/java/com/vlsolutions/swing/toolbars/ToolBarButtonBorder.java#L68
Line is longer than 120 characters (found 133).
|
checkstyle:
src/main/java/com/vlsolutions/swing/toolbars/ToolBarButtonBorder.java#L70
Line is longer than 120 characters (found 144).
|
checkstyle:
src/main/java/com/vlsolutions/swing/toolbars/ToolBarButtonBorder.java#L73
Line is longer than 120 characters (found 134).
|
checkstyle
Name 'uiClassID' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.
|
checkstyle:
src/main/java/com/vlsolutions/swing/toolbars/ToolBarGripper.java#L56
Line is longer than 120 characters (found 137).
|
checkstyle:
src/main/java/com/vlsolutions/swing/toolbars/ToolBarPanelBorder.java#L39
Line is longer than 120 characters (found 133).
|
checkstyle
switch without "default" clause.
|
checkstyle
switch without "default" clause.
|