code cleanup; remove now obsolete LangUtil.map() method #30
13 new problems found by Qodana Community for JVM
Qodana Community for JVM
13 new problems were found
Inspection name | Severity | Problems |
---|---|---|
Class is exposed outside of its visibility scope |
🔶 Warning | 3 |
Suspicious 'System.arraycopy()' call |
🔶 Warning | 2 |
Collection added to itself |
🔶 Warning | 1 |
Statement with empty body |
🔶 Warning | 1 |
Mismatched query and update of collection |
🔶 Warning | 1 |
Constant values |
◽️ Notice | 4 |
'if' statement with identical branches |
◽️ 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]
- Or via our issue tracker: https://jb.gg/qodana-issue
- Or share your feedback: https://jb.gg/qodana-discussions
Details
This result was published with Qodana GitHub Action
Annotations
Check warning on line 11 in utility/src/main/java/com/dua3/utility/math/geometry/Segment2f.java
github-actions / Qodana Community for JVM
Class is exposed outside of its visibility scope
Class `Path2fImpl` is not exported from module 'com.dua3.utility'
Check warning on line 9 in utility/src/main/java/com/dua3/utility/math/geometry/Segment2f.java
github-actions / Qodana Community for JVM
Class is exposed outside of its visibility scope
Class `Path2fImpl` is not exported from module 'com.dua3.utility'
Check warning on line 95 in utility/src/main/java/com/dua3/utility/text/AnsiConverter.java
github-actions / Qodana Community for JVM
Class is exposed outside of its visibility scope
Class `AnsiConverterImpl` is exposed outside its defined visibility scope
github-actions / Qodana Community for JVM
Collection added to itself
'putAll()' called on collection `attributes` with itself as argument
Check notice on line 143 in utility/src/main/java/com/dua3/utility/text/Style.java
github-actions / Qodana Community for JVM
Constant values
Value `TEXT_DECORATION_UNDERLINE_VALUE_NO_LINE` is always 'false'
Check notice on line 148 in utility/src/main/java/com/dua3/utility/text/Style.java
github-actions / Qodana Community for JVM
Constant values
Value `TEXT_DECORATION_LINE_THROUGH_VALUE_LINE` is always 'true'
Check notice on line 139 in utility/src/main/java/com/dua3/utility/text/Style.java
github-actions / Qodana Community for JVM
Constant values
Value `TEXT_DECORATION_UNDERLINE_VALUE_LINE` is always 'true'
Check notice on line 152 in utility/src/main/java/com/dua3/utility/text/Style.java
github-actions / Qodana Community for JVM
Constant values
Value `TEXT_DECORATION_LINE_THROUGH_VALUE_NO_LINE` is always 'false'
Check warning on line 414 in utility/src/main/java/com/dua3/utility/xml/XmlUtil.java
github-actions / Qodana Community for JVM
Statement with empty body
`if` statement has empty body
Check notice on line 282 in utility/src/main/java/com/dua3/utility/math/MathUtil.java
github-actions / Qodana Community for JVM
'if' statement with identical branches
Common parts with variables can be extracted from 'if'
github-actions / Qodana Community for JVM
Mismatched query and update of collection
Contents of collection `markerLevelMap` are queried, but never updated
Check warning on line 206 in utility/src/main/java/com/dua3/utility/lang/RingBuffer.java
github-actions / Qodana Community for JVM
Suspicious 'System.arraycopy()' call
Source parameter type 'java.lang.Object\[\]' is not assignable to destination parameter `a` of type 'T\[\]'
Check warning on line 207 in utility/src/main/java/com/dua3/utility/lang/RingBuffer.java
github-actions / Qodana Community for JVM
Suspicious 'System.arraycopy()' call
Source parameter type 'java.lang.Object\[\]' is not assignable to destination parameter `a` of type 'T\[\]'