Skip to content

v12.0.0-beta9; update spotbugs #41

v12.0.0-beta9; update spotbugs

v12.0.0-beta9; update spotbugs #41

Triggered via push December 16, 2023 05:22
Status Success
Total duration 3m 19s
Artifacts

codeql.yml

on: push
Matrix: Analyze
Fit to window
Zoom out
Zoom in

Annotations

12 warnings and 5 notices
Class is exposed outside of its visibility scope: utility/src/main/java/com/dua3/utility/math/geometry/Segment2f.java#L9
Class `Path2fImpl` is not exported from module 'com.dua3.utility'
Class is exposed outside of its visibility scope: utility/src/main/java/com/dua3/utility/text/AnsiConverter.java#L95
Class `AnsiConverterImpl` is exposed outside its defined visibility scope
Class is exposed outside of its visibility scope: utility/src/main/java/com/dua3/utility/math/geometry/Segment2f.java#L7
Class `Path2fImpl` is not exported from module 'com.dua3.utility'
Collection added to itself: utility-swing/src/main/java/com/dua3/utility/swing/StyledDocumentConverter.java#L85
'putAll()' called on collection `attributes` with itself as argument
Suspicious 'System.arraycopy()' call: utility/src/main/java/com/dua3/utility/lang/RingBuffer.java#L206
Source parameter type 'java.lang.Object\[\]' is not assignable to destination parameter `a` of type 'T\[\]'
Suspicious 'System.arraycopy()' call: utility/src/main/java/com/dua3/utility/lang/RingBuffer.java#L207
Source parameter type 'java.lang.Object\[\]' is not assignable to destination parameter `a` of type 'T\[\]'
Unstable API Usage: settings.gradle.kts#L66
'FAIL_ON_PROJECT_REPOS' is declared in unstable enum 'org.gradle.api.initialization.resolve.RepositoriesMode' marked with @Incubating
Unstable API Usage: settings.gradle.kts#L66
'org.gradle.api.initialization.resolve.RepositoriesMode' is marked unstable with @Incubating
Unstable API Usage: settings.gradle.kts#L66
'getRepositoriesMode()' is marked unstable with @Incubating
Unstable API Usage: settings.gradle.kts#L67
'repositories(org.gradle.api.Action)' is marked unstable with @Incubating
Constant values: utility/src/main/java/com/dua3/utility/text/Style.java#L143
Value `TEXT_DECORATION_UNDERLINE_VALUE_NO_LINE` is always 'false'
Constant values: utility/src/main/java/com/dua3/utility/text/Style.java#L148
Value `TEXT_DECORATION_LINE_THROUGH_VALUE_LINE` is always 'true'
Constant values: utility/src/main/java/com/dua3/utility/text/Style.java#L139
Value `TEXT_DECORATION_UNDERLINE_VALUE_LINE` is always 'true'
Constant values: utility/src/main/java/com/dua3/utility/text/Style.java#L152
Value `TEXT_DECORATION_LINE_THROUGH_VALUE_NO_LINE` is always 'false'
'if' statement with identical branches: utility/src/main/java/com/dua3/utility/math/MathUtil.java#L282
Common parts with variables can be extracted from 'if'