Skip to content

Add CI with SpotBugs and fix Errors found by SpotBugs #5

Add CI with SpotBugs and fix Errors found by SpotBugs

Add CI with SpotBugs and fix Errors found by SpotBugs #5

Triggered via pull request March 23, 2024 05:38
Status Failure
Total duration 58s
Artifacts

checkstyle-annotate.yml

on: pull_request
checkstyle
50s
checkstyle
Fit to window
Zoom out
Zoom in

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).