Skip to content

Raise required Java version to 17 #804

Raise required Java version to 17

Raise required Java version to 17 #804

GitHub Actions / Qodana Community for JVM completed Apr 25, 2024 in 0s

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

Details

This result was published with Qodana GitHub Action

Annotations

Check warning on line 56 in assertj-core/src/main/java/org/assertj/core/description/TextDescription.java

See this annotation in the file changed.

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

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 1599 in assertj-core/src/main/java/org/assertj/core/api/Assumptions.java

See this annotation in the file changed.

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

See this annotation in the file changed.

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

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 4108 in assertj-core/src/main/java/org/assertj/core/api/AbstractObjectArrayAssert.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 `RecursiveAssertionConfiguration` is not exported from module 'org.assertj.core'

Check warning on line 31 in assertj-core/src/main/java/org/assertj/core/error/ShouldStartWithIgnoringCase.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 `ComparisonStrategy` is not exported from module 'org.assertj.core'

Check warning on line 34 in assertj-core/src/main/java/org/assertj/core/error/ShouldBeBeforeYear.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 `ComparisonStrategy` is not exported from module 'org.assertj.core'

Check warning on line 49 in assertj-core/src/main/java/org/assertj/core/error/ShouldContainExactly.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 `ComparisonStrategy` is not exported from module 'org.assertj.core'

Check warning on line 83 in assertj-core/src/main/java/org/assertj/core/error/ShouldContainCharSequence.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 `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

See this annotation in the file changed.

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

See this annotation in the file changed.

@github-actions 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 28 in assertj-core/src/main/java/org/assertj/core/api/AbstractIntArrayAssert.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 `IntArrays` is not exported from module 'org.assertj.core'

Check warning on line 35 in assertj-core/src/main/java/org/assertj/core/error/ShouldNotContainSequence.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 `ComparisonStrategy` is not exported from module 'org.assertj.core'

Check warning on line 2808 in assertj-core/src/main/java/org/assertj/core/api/AbstractIterableAssert.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 `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

See this annotation in the file changed.

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

Class is exposed outside of its visibility scope

Class `Float2DArrays` is not exported from module 'org.assertj.core'

Check warning on line 55 in assertj-core/src/main/java/org/assertj/core/error/ShouldContainSubsequenceOfCharSequence.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 `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

See this annotation in the file changed.

@github-actions 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 403 in assertj-core/src/main/java/org/assertj/core/api/RecursiveAssertionAssert.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 `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

See this annotation in the file changed.

@github-actions 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 41 in assertj-core/src/main/java/org/assertj/core/api/Boolean2DArrayAssert.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 `Boolean2DArrays` is not exported from module 'org.assertj.core'

Check warning on line 33 in assertj-core/src/main/java/org/assertj/core/api/recursive/comparison/FieldComparators.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 `ComparatorForPatterns` is not exported from module 'org.assertj.core'

Check warning on line 85 in assertj-core/src/main/java/org/assertj/core/error/ShouldContainExactly.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 `ComparisonStrategy` is not exported from module 'org.assertj.core'

Check warning on line 99 in assertj-core/src/main/java/org/assertj/core/error/ShouldContainExactly.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 `IndexedDiff` is not exported from module 'org.assertj.core'

Check warning on line 28 in assertj-core/src/main/java/org/assertj/core/api/AbstractLongArrayAssert.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 `LongArrays` is not exported from module 'org.assertj.core'