Skip to content

use enum for HumanReadablePlacement and BarGroup #300

use enum for HumanReadablePlacement and BarGroup

use enum for HumanReadablePlacement and BarGroup #300

GitHub Actions / Qodana Community for JVM failed Jul 23, 2024 in 0s

186 new problems found by Qodana Community for JVM

Qodana Community for JVM

186 new problems were found

Inspection name Severity Problems
Unused assignment 🔶 Warning 21
Redundant type cast 🔶 Warning 11
Unchecked warning 🔶 Warning 9
Statement with empty body 🔶 Warning 8
Redundant local variable 🔶 Warning 8
Nullability and data flow problems 🔶 Warning 7
Unnecessary conversion to 'String' 🔶 Warning 6
Unnecessarily escaped character 🔶 Warning 6
Unnecessary call to 'toString()' 🔶 Warning 6
Unnecessary unicode escape sequence 🔶 Warning 6
Redundant 'String' operation 🔶 Warning 5
Call to 'printStackTrace()' 🔶 Warning 5
Constant values 🔶 Warning 4
Link specified as plain text 🔶 Warning 4
Deprecated API usage 🔶 Warning 3
'Collection.toArray()' call style 🔶 Warning 3
Deprecated member is still used 🔶 Warning 2
'static' method declared 'final' 🔶 Warning 2
'StringBuilder' can be replaced with 'String' 🔶 Warning 2
Suspicious variable/parameter name combination 🔶 Warning 2
'Throwable' printed to 'System.out' 🔶 Warning 2
Unnecessary 'return' statement 🔶 Warning 2
Redundant 'Collection.addAll()' call 🔶 Warning 1
Double negation 🔶 Warning 1
Excessive range check 🔶 Warning 1
Explicit array filling 🔶 Warning 1
Field can be local 🔶 Warning 1
Javadoc declaration problems 🔶 Warning 1
Mismatched read and write of array 🔶 Warning 1
Mismatched query and update of collection 🔶 Warning 1
Simplifiable boolean expression 🔶 Warning 1
Suspicious byte value returned from 'InputStream.read()' 🔶 Warning 1
Unnecessary label on 'break' statement 🔶 Warning 1
Unnecessary semicolon 🔶 Warning 1
Commented out code ◽️ Notice 40
Multiple occurrences of the same expression ◽️ Notice 6
Method can be extracted ◽️ Notice 3
Duplicate branches in 'switch' ◽️ Notice 1

💡 Qodana analysis was run in the pull request mode: only the changed files were checked
☁️ View the detailed Qodana report

Contact Qodana team

Contact us at [email protected]

Details

This result was published with Qodana GitHub Action

Annotations

Check warning on line 47 in barcode4j/src/main/java/org/krysalis/barcode4j/impl/ConfigurableBarcodeGenerator.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Redundant 'Collection.addAll()' call

'addAll()' call can be replaced with parametrized constructor call

Check notice on line 388 in barcode4j/src/main/java/org/krysalis/barcode4j/impl/code128/EAN128AI.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Commented out code

Commented out code (2 lines)

Check notice on line 907 in barcode4j/src/main/java/org/krysalis/barcode4j/impl/datamatrix/DataMatrixHighLevelEncoder.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Commented out code

Commented out code (3 lines)

Check notice on line 182 in barcode4j/src/main/java/org/krysalis/barcode4j/output/java2d/Java2DCanvasProvider.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Commented out code

Commented out code (8 lines)

Check notice on line 73 in barcode4j-fop-ext/src/main/java/org/krysalis/barcode4j/fop/BarcodeXMLHandler.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Commented out code

Commented out code (3 lines)

Check notice on line 110 in barcode4j/src/main/java/org/krysalis/barcode4j/swing/BarcodeComponent.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Commented out code

Commented out code (8 lines)

Check notice on line 141 in barcode4j-xalan/src/main/java/org/krysalis/barcode4j/xalan/ElemWrappingConfiguration.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Commented out code

Commented out code (3 lines)

Check notice on line 251 in barcode4j/src/main/java/org/krysalis/barcode4j/configuration/DefaultConfiguration.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Commented out code

Commented out code (6 lines)

Check notice on line 150 in barcode4j/src/main/java/org/krysalis/barcode4j/impl/datamatrix/DataMatrixHighLevelEncoder.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Commented out code

Commented out code (3 lines)

Check notice on line 58 in barcode4j/src/main/java/org/krysalis/barcode4j/configuration/MutableConfiguration.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Commented out code

Commented out code (39 lines)

Check notice on line 121 in barcode4j/src/main/java/org/krysalis/barcode4j/output/bitmap/ImageIOBitmapEncoder.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Commented out code

Commented out code (2 lines)

Check notice on line 229 in barcode4j-fop-ext/src/main/java/org/krysalis/barcode4j/fop/BarcodeXMLHandler.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Commented out code

Commented out code (3 lines)

Check notice on line 174 in barcode4j/src/main/java/org/krysalis/barcode4j/output/java2d/Java2DCanvasProvider.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Commented out code

Commented out code (4 lines)

Check notice on line 203 in barcode4j/src/main/java/org/krysalis/barcode4j/configuration/DefaultConfiguration.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Commented out code

Commented out code (24 lines)

Check notice on line 141 in barcode4j/src/main/java/org/krysalis/barcode4j/output/java2d/Java2DCanvasProvider.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Commented out code

Commented out code (7 lines)

Check notice on line 396 in barcode4j/src/main/java/org/krysalis/barcode4j/impl/pdf417/PDF417HighLevelEncoder.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Commented out code

Commented out code (11 lines)

Check notice on line 112 in barcode4j-fop-ext/src/main/java/org/krysalis/barcode4j/fop/BarcodeXMLHandler.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Commented out code

Commented out code (3 lines)

Check notice on line 252 in barcode4j/src/main/java/org/krysalis/barcode4j/impl/code128/EAN128LogicImpl.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Commented out code

Commented out code (8 lines)

Check notice on line 118 in barcode4j/src/main/java/org/krysalis/barcode4j/impl/code128/EAN128Bean.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Commented out code

Commented out code (7 lines)

Check notice on line 172 in barcode4j-fop-ext/src/main/java/org/krysalis/barcode4j/fop/BarcodeXMLHandler.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Commented out code

Commented out code (3 lines)

Check notice on line 274 in barcode4j/src/main/java/org/krysalis/barcode4j/configuration/DefaultConfiguration.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Commented out code

Commented out code (12 lines)

Check notice on line 134 in barcode4j-xalan/src/main/java/org/krysalis/barcode4j/xalan/ElemWrappingConfiguration.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Commented out code

Commented out code (3 lines)

Check notice on line 321 in barcode4j/src/main/java/org/krysalis/barcode4j/configuration/DefaultConfiguration.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Commented out code

Commented out code (67 lines)

Check notice on line 177 in barcode4j/src/main/java/org/krysalis/barcode4j/impl/code128/EAN128AI.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Commented out code

Commented out code (3 lines)

Check notice on line 990 in barcode4j/src/main/java/org/krysalis/barcode4j/impl/datamatrix/DataMatrixHighLevelEncoder.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Commented out code

Commented out code (22 lines)