Add CI with SpotBugs and fix Errors found by SpotBugs #5
Annotations
10 errors and 10 warnings
checkstyle
File contains tab characters (this is the first instance).
|
checkstyle
File contains tab characters (this is the first instance).
|
checkstyle
File contains tab characters (this is the first instance).
|
checkstyle
File contains tab characters (this is the first instance).
|
checkstyle
File contains tab characters (this is the first instance).
|
checkstyle
File contains tab characters (this is the first instance).
|
checkstyle
File contains tab characters (this is the first instance).
|
checkstyle
File contains tab characters (this is the first instance).
|
checkstyle
File contains tab characters (this is the first instance).
|
checkstyle
File contains tab characters (this is the first instance).
|
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
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:
src/main/java/com/vlsolutions/swing/toolbars/ToolBarButtonBorder.java#L68
Line is longer than 120 characters (found 133).
|