Skip to content

fix some minor issues based on code analysis #307

fix some minor issues based on code analysis

fix some minor issues based on code analysis #307

Triggered via push July 26, 2024 21:36
Status Success
Total duration 8m 30s
Artifacts 1

maven.yml

on: push
Matrix: build
Static Analysis
5m 30s
Static Analysis
Fit to window
Zoom out
Zoom in

Annotations

1 error, 21 warnings, and 23 notices
Test with Java 11
TypeError: Cannot read properties of undefined (reading 'group')
Test with Java 11
The following actions uses Node.js version which is deprecated and will be forced to run on node20: madrapps/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Redundant type cast: barcode4j/src/main/java/org/krysalis/barcode4j/configuration/DefaultConfiguration.java#L93
Casting `this.m_attributes.keySet().toArray(...)` to `String[]` is redundant
Redundant type cast: barcode4j/src/main/java/org/krysalis/barcode4j/configuration/DefaultConfiguration.java#L238
Casting `this.m_attributes.put(...)` to `String` is redundant
Redundant type cast: barcode4j/src/main/java/org/krysalis/barcode4j/configuration/DefaultConfiguration.java#L103
Casting `this.m_attributes.get(...)` to `String` is redundant
Redundant type cast: barcode4j/src/main/java/org/krysalis/barcode4j/configuration/DefaultConfiguration.java#L98
Casting `this.m_children.toArray(...)` to `Configuration[]` is redundant
Unchecked warning: barcode4j/src/main/java/org/krysalis/barcode4j/DefaultBarcodeClassResolver.java#L122
Unchecked cast: 'java.lang.Class\>' to 'java.lang.Class'
Unchecked warning: barcode4j/src/main/java/org/krysalis/barcode4j/DefaultBarcodeClassResolver.java#L138
Unchecked cast: 'java.lang.Class\>' to 'java.lang.Class'
Static Analysis
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/

Artifacts

Produced during runtime
Name Size
jacoco.html Expired
1.44 KB