Skip to content

update .gitignore

update .gitignore #43

This check has been archived and is scheduled for deletion. Learn more about checks retention
GitHub Actions / Qodana Community for JVM completed Oct 31, 2023 in 0s

20 new problems found by Qodana Community for JVM

Qodana Community for JVM

20 new problems were found

Inspection name Severity Problems
Unstable API Usage 🔶 Warning 4
Class is exposed outside of its visibility scope 🔶 Warning 3
Suspicious 'System.arraycopy()' call 🔶 Warning 2
AutoCloseable used without 'try'-with-resources 🔶 Warning 1
Statement with empty body 🔶 Warning 1
Number of placeholders does not match number of arguments in logging call 🔶 Warning 1
Magic Constant 🔶 Warning 1
Malformed format string 🔶 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 776 in utility/src/main/java/com/dua3/utility/io/IoUtil.java

See this annotation in the file changed.

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

AutoCloseable used without 'try'-with-resources

'Stream' used without 'try'-with-resources statement

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 95 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 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 414 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 26 in utility-logging/src/main/java/com/dua3/utility/logging/LogUtil.java

See this annotation in the file changed.

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

Number of placeholders does not match number of arguments in logging call

Fewer arguments provided (0) than placeholders specified (1)

Check warning on line 34 in utility-swing/src/main/java/com/dua3/utility/swing/SwingFontUtil.java

See this annotation in the file changed.

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

Magic Constant

Should be one of: Font.PLAIN, Font.BOLD, Font.ITALIC or their combination

Check warning on line 310 in utility/src/main/java/com/dua3/utility/options/ArgumentsParser.java

See this annotation in the file changed.

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

Malformed format string

Too many arguments for format string (found: 3, expected: 1)

Check warning on line 22 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 206 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 '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

See this annotation in the file changed.

@github-actions 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 54 in settings.gradle.kts

See this annotation in the file changed.

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

Unstable API Usage

'repositories(org.gradle.api.Action)' is marked unstable with @Incubating

Check warning on line 53 in settings.gradle.kts

See this annotation in the file changed.

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

Unstable API Usage

'FAIL_ON_PROJECT_REPOS' is declared in unstable enum 'org.gradle.api.initialization.resolve.RepositoriesMode' marked with @Incubating

Check warning on line 53 in settings.gradle.kts

See this annotation in the file changed.

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

Unstable API Usage

'getRepositoriesMode()' is marked unstable with @Incubating

Check warning on line 53 in settings.gradle.kts

See this annotation in the file changed.

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

Unstable API Usage

'org.gradle.api.initialization.resolve.RepositoriesMode' is marked unstable with @Incubating