Skip to content

change array type; move cast from access to array creation time #77

change array type; move cast from access to array creation time

change array type; move cast from access to array creation time #77

GitHub Actions / Qodana Community for JVM completed Mar 12, 2024 in 0s

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 4
Suspicious 'System.arraycopy()' call 🔶 Warning 2
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]

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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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 92 in utility/src/main/java/com/dua3/utility/text/AnsiConverter.java

See this annotation in the file changed.

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

Class is exposed outside of its visibility scope

Class `AnsiConverterImpl` is exposed outside its defined visibility scope

Check warning on line 84 in utility/src/main/java/com/dua3/utility/concurrent/ThreadFactoryBuilder.java

See this annotation in the file changed.

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

Class is exposed outside of its visibility scope

Class `CustomThreadFactory` is not exported from module 'com.dua3.utility'

Check notice on line 143 in utility/src/main/java/com/dua3/utility/text/Style.java

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

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

Constant values

Value `TEXT_DECORATION_LINE_THROUGH_VALUE_NO_LINE` is always 'false'

Check warning on line 413 in utility/src/main/java/com/dua3/utility/xml/XmlUtil.java

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

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

'if' statement with identical branches

Common parts with variables can be extracted from 'if'

Check warning on line 24 in utility-logging/utility-logging-slf4j/src/main/java/com/dua3/utility/logging/slf4j/LoggerSlf4j.java

See this annotation in the file changed.

@github-actions 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 225 in utility/src/main/java/com/dua3/utility/lang/RingBuffer.java

See this annotation in the file changed.

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

Suspicious 'System.arraycopy()' call

Source parameter type 'E\[\]' is not assignable to destination parameter `a` of type 'T\[\]'

Check warning on line 224 in utility/src/main/java/com/dua3/utility/lang/RingBuffer.java

See this annotation in the file changed.

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

Suspicious 'System.arraycopy()' call

Source parameter type 'E\[\]' is not assignable to destination parameter `a` of type 'T\[\]'