[UPDATE] 忽略一些无义意的代码警告 #13
21 new problems found by Qodana Community for JVM
Qodana Community for JVM
21 new problems were found
Inspection name | Severity | Problems |
---|---|---|
Usage of Kotlin internal declarations from Java |
🔴 Failure | 3 |
Infinite loop statement |
🔶 Warning | 4 |
Statement with empty body |
🔶 Warning | 3 |
Result of method call ignored |
🔶 Warning | 3 |
Busy wait |
🔶 Warning | 2 |
'clone()' does not declare 'CloneNotSupportedException' |
🔶 Warning | 2 |
Nullability and data flow problems |
🔶 Warning | 2 |
AutoCloseable used without 'try'-with-resources |
🔶 Warning | 1 |
Confusing argument to varargs method |
🔶 Warning | 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
github-actions / Qodana Community for JVM
AutoCloseable used without 'try'-with-resources
'ValidatorFactory' used without 'try'-with-resources statement
github-actions / Qodana Community for JVM
Busy wait
Call to `Thread.sleep()` in a loop, probably busy-waiting
github-actions / Qodana Community for JVM
Busy wait
Call to `Thread.sleep()` in a loop, probably busy-waiting
Check warning on line 881 in central-stdlib/src/main/java/central/sql/query/Conditions.java
github-actions / Qodana Community for JVM
'clone()' does not declare 'CloneNotSupportedException'
`clone()` does not declare 'CloneNotSupportedException'
Check warning on line 315 in central-stdlib/src/main/java/central/bean/CodeValues.java
github-actions / Qodana Community for JVM
'clone()' does not declare 'CloneNotSupportedException'
`clone()` does not declare 'CloneNotSupportedException'
github-actions / Qodana Community for JVM
Nullability and data flow problems
Method invocation `value` may produce `NullPointerException`
github-actions / Qodana Community for JVM
Nullability and data flow problems
Method invocation `getReasonPhrase` may produce `NullPointerException`
github-actions / Qodana Community for JVM
Statement with empty body
`if` statement has empty body
Check warning on line 387 in central-stdlib/src/main/java/central/util/shell/JSchRemoteShell.java
github-actions / Qodana Community for JVM
Statement with empty body
`if` statement has empty body
github-actions / Qodana Community for JVM
Statement with empty body
`if` statement has empty body
Check warning on line 120 in central-stdlib/src/main/java/central/util/concurrent/ExpiredMap.java
github-actions / Qodana Community for JVM
Result of method call ignored
Result of `BlockingQueue.offer()` is ignored
github-actions / Qodana Community for JVM
Result of method call ignored
Result of `BlockingQueue.offer()` is ignored
Check warning on line 108 in central-stdlib/src/main/java/central/util/concurrent/ExpiredMap.java
github-actions / Qodana Community for JVM
Result of method call ignored
Result of `BlockingQueue.offer()` is ignored
github-actions / Qodana Community for JVM
Infinite loop statement
`while` statement cannot complete without throwing an exception
github-actions / Qodana Community for JVM
Infinite loop statement
`while` statement cannot complete without throwing an exception
github-actions / Qodana Community for JVM
Infinite loop statement
`while` statement cannot complete without throwing an exception
Check warning on line 53 in central-stdlib/src/main/java/central/util/concurrent/ExpiredMap.java
github-actions / Qodana Community for JVM
Infinite loop statement
`while` statement cannot complete without throwing an exception
github-actions / Qodana Community for JVM
Usage of Kotlin internal declarations from Java
Usage of Kotlin internal declaration from different module
github-actions / Qodana Community for JVM
Usage of Kotlin internal declarations from Java
Usage of Kotlin internal declaration from different module
github-actions / Qodana Community for JVM
Usage of Kotlin internal declarations from Java
Usage of Kotlin internal declaration from different module
github-actions / Qodana Community for JVM
Confusing argument to varargs method
Confusing argument `contentType`, unclear if a varargs or non-varargs call is desired