Raise required Java version to 17 #2535
284 new problems found by Qodana Community for JVM
Qodana Community for JVM
284 new problems were found
Inspection name | Severity | Problems |
---|---|---|
Class is exposed outside of its visibility scope |
🔶 Warning | 122 |
'Optional' used as field or parameter type |
🔶 Warning | 65 |
Result of method call ignored |
🔶 Warning | 19 |
Optional.get() is called without isPresent() check |
🔶 Warning | 19 |
Nullability and data flow problems |
🔶 Warning | 9 |
Wrapper type may be primitive |
🔶 Warning | 8 |
'@Serial' annotation could be used |
🔶 Warning | 7 |
AutoCloseable used without 'try'-with-resources |
🔶 Warning | 4 |
Redundant call to 'String.format()' |
🔶 Warning | 4 |
Suspicious 'Comparator.compare()' implementation |
🔶 Warning | 3 |
Suspicious collection method call |
🔶 Warning | 3 |
'equals()' called on itself |
🔶 Warning | 2 |
Unnecessary non-capturing group |
🔶 Warning | 2 |
'hashCode()' called on array |
🔶 Warning | 1 |
Constant values |
🔶 Warning | 1 |
Statement with empty body |
🔶 Warning | 1 |
Early loop exit in 'if' condition |
🔶 Warning | 1 |
Kotlin Maven Plugin misconfigured |
🔶 Warning | 1 |
Pointless boolean expression |
🔶 Warning | 1 |
Sorted collection with non-comparable elements |
🔶 Warning | 1 |
String concatenation as argument to 'StringBuilder.append()' call |
🔶 Warning | 1 |
Bulk operation can be used instead of iteration |
🔶 Warning | 1 |
Constant values |
◽️ Notice | 8 |
💡 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 qodana-support@jetbrains.com
- 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
github-actions / Qodana Community for JVM
'hashCode()' called on array
Array passed to 'Objects.hash()' should be wrapped in 'Arrays.hashcode()'
Check warning on line 580 in assertj-core/src/main/java/org/assertj/core/internal/Files.java
github-actions / Qodana Community for JVM
AutoCloseable used without 'try'-with-resources
'Stream' used without 'try'-with-resources statement
Check warning on line 1599 in assertj-core/src/main/java/org/assertj/core/api/Assumptions.java
github-actions / Qodana Community for JVM
AutoCloseable used without 'try'-with-resources
'Unloaded' used without 'try'-with-resources statement
Check warning on line 223 in assertj-core/src/main/java/org/assertj/core/api/SoftProxies.java
github-actions / Qodana Community for JVM
AutoCloseable used without 'try'-with-resources
'Unloaded' used without 'try'-with-resources statement
Check warning on line 446 in assertj-core/src/main/java/org/assertj/core/internal/Paths.java
github-actions / Qodana Community for JVM
AutoCloseable used without 'try'-with-resources
'Stream' used without 'try'-with-resources statement
github-actions / Qodana Community for JVM
Class is exposed outside of its visibility scope
Class `RecursiveAssertionConfiguration` is not exported from module 'org.assertj.core'
github-actions / Qodana Community for JVM
Class is exposed outside of its visibility scope
Class `ComparisonStrategy` is not exported from module 'org.assertj.core'
github-actions / Qodana Community for JVM
Class is exposed outside of its visibility scope
Class `ComparisonStrategy` is not exported from module 'org.assertj.core'
github-actions / Qodana Community for JVM
Class is exposed outside of its visibility scope
Class `ComparisonStrategy` is not exported from module 'org.assertj.core'
github-actions / Qodana Community for JVM
Class is exposed outside of its visibility scope
Class `ComparisonStrategy` is not exported from module 'org.assertj.core'
Check warning on line 209 in assertj-core/src/main/java/org/assertj/core/api/AbstractListAssert.java
github-actions / Qodana Community for JVM
Class is exposed outside of its visibility scope
Class `ComparisonStrategy` is not exported from module 'org.assertj.core'
Check warning on line 59 in assertj-core/src/main/java/org/assertj/core/error/ShouldContain.java
github-actions / Qodana Community for JVM
Class is exposed outside of its visibility scope
Class `ComparisonStrategy` is not exported from module 'org.assertj.core'
github-actions / Qodana Community for JVM
Class is exposed outside of its visibility scope
Class `IntArrays` is not exported from module 'org.assertj.core'
github-actions / Qodana Community for JVM
Class is exposed outside of its visibility scope
Class `ComparisonStrategy` is not exported from module 'org.assertj.core'
github-actions / Qodana Community for JVM
Class is exposed outside of its visibility scope
Class `ComparisonStrategy` is not exported from module 'org.assertj.core'
Check warning on line 36 in assertj-core/src/main/java/org/assertj/core/api/Float2DArrayAssert.java
github-actions / Qodana Community for JVM
Class is exposed outside of its visibility scope
Class `Float2DArrays` is not exported from module 'org.assertj.core'
github-actions / Qodana Community for JVM
Class is exposed outside of its visibility scope
Class `ComparisonStrategy` is not exported from module 'org.assertj.core'
Check warning on line 48 in assertj-core/src/main/java/org/assertj/core/error/ShouldBeLess.java
github-actions / Qodana Community for JVM
Class is exposed outside of its visibility scope
Class `ComparisonStrategy` is not exported from module 'org.assertj.core'
github-actions / Qodana Community for JVM
Class is exposed outside of its visibility scope
Class `RecursiveAssertionIntrospectionStrategy` is not exported from module 'org.assertj.core'
Check warning on line 54 in assertj-core/src/main/java/org/assertj/core/error/ShouldBeEqual.java
github-actions / Qodana Community for JVM
Class is exposed outside of its visibility scope
Class `ComparisonStrategy` is not exported from module 'org.assertj.core'
github-actions / Qodana Community for JVM
Class is exposed outside of its visibility scope
Class `Boolean2DArrays` is not exported from module 'org.assertj.core'
github-actions / Qodana Community for JVM
Class is exposed outside of its visibility scope
Class `ComparatorForPatterns` is not exported from module 'org.assertj.core'
github-actions / Qodana Community for JVM
Class is exposed outside of its visibility scope
Class `ComparisonStrategy` is not exported from module 'org.assertj.core'
github-actions / Qodana Community for JVM
Class is exposed outside of its visibility scope
Class `IndexedDiff` is not exported from module 'org.assertj.core'
github-actions / Qodana Community for JVM
Class is exposed outside of its visibility scope
Class `LongArrays` is not exported from module 'org.assertj.core'