Skip to content

fix qodana warnings #61

fix qodana warnings

fix qodana warnings #61

Triggered via push November 19, 2023 03:39
Status Failure
Total duration 3m 22s
Artifacts

CI.yml

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

Annotations

1 error, 9 warnings, and 5 notices
gradle (windows-latest)
TypeError: Cannot read properties of undefined (reading 'addChild')
Class is exposed outside of its visibility scope: utility/src/main/java/com/dua3/utility/math/geometry/Segment2f.java#L11
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/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
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\[\]'
gradle (ubuntu-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: jwgmeligmeyling/spotbugs-github-action@master. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
gradle (windows-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: jwgmeligmeyling/spotbugs-github-action@master. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
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'