Skip to content

[UPDATE] 忽略一些无义意的代码警告 #13

[UPDATE] 忽略一些无义意的代码警告

[UPDATE] 忽略一些无义意的代码警告 #13

GitHub Actions / Qodana Community for JVM completed Nov 30, 2023 in 0s

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]

Details

This result was published with Qodana GitHub Action

Annotations

Check warning on line 119 in central-starters/central-starter-webmvc/src/main/java/central/starter/webmvc/StarterConfiguration.java

See this annotation in the file changed.

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

AutoCloseable used without 'try'-with-resources

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

Check warning on line 114 in central-starters/central-starter-logging/src/main/java/central/starter/logging/logback/appender/http/LogSender.java

See this annotation in the file changed.

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

Busy wait

Call to `Thread.sleep()` in a loop, probably busy-waiting

Check warning on line 173 in central-starters/central-starter-logging/src/main/java/central/starter/logging/logback/appender/http/LogSender.java

See this annotation in the file changed.

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

See this annotation in the file changed.

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

See this annotation in the file changed.

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

'clone()' does not declare 'CloneNotSupportedException'

`clone()` does not declare 'CloneNotSupportedException'

Check warning on line 147 in central-starters/central-starter-web-reactive/src/main/java/central/starter/web/reactive/render/ErrorRender.java

See this annotation in the file changed.

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

Nullability and data flow problems

Method invocation `value` may produce `NullPointerException`

Check warning on line 147 in central-starters/central-starter-web-reactive/src/main/java/central/starter/web/reactive/render/ErrorRender.java

See this annotation in the file changed.

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

Nullability and data flow problems

Method invocation `getReasonPhrase` may produce `NullPointerException`

Check warning on line 62 in central-stdlib/src/main/java/central/sql/proxy/mapper/FindAllHandler.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 warning on line 387 in central-stdlib/src/main/java/central/util/shell/JSchRemoteShell.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 warning on line 119 in central-stdlib/src/main/java/central/net/http/proxy/contract/spring/resolver/RequestPartResolver.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 warning on line 120 in central-stdlib/src/main/java/central/util/concurrent/ExpiredMap.java

See this annotation in the file changed.

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

Result of method call ignored

Result of `BlockingQueue.offer()` is ignored

Check warning on line 102 in central-starters/central-starter-logging/src/main/java/central/starter/logging/logback/appender/CentralAppender.java

See this annotation in the file changed.

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

See this annotation in the file changed.

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

Result of method call ignored

Result of `BlockingQueue.offer()` is ignored

Check warning on line 112 in central-starters/central-starter-logging/src/main/java/central/starter/logging/logback/appender/http/LogSender.java

See this annotation in the file changed.

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

Infinite loop statement

`while` statement cannot complete without throwing an exception

Check warning on line 127 in central-starters/central-starter-logging/src/main/java/central/starter/logging/logback/appender/CentralAppender.java

See this annotation in the file changed.

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

Infinite loop statement

`while` statement cannot complete without throwing an exception

Check warning on line 69 in central-stdlib/src/main/java/central/util/cache/memory/MemoryCacheRepository.java

See this annotation in the file changed.

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

See this annotation in the file changed.

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

Infinite loop statement

`while` statement cannot complete without throwing an exception

Check failure on line 116 in central-stdlib/src/main/java/central/net/http/executor/okhttp/OkHttpExecutor.java

See this annotation in the file changed.

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

Usage of Kotlin internal declarations from Java

Usage of Kotlin internal declaration from different module

Check failure on line 116 in central-stdlib/src/main/java/central/net/http/executor/okhttp/OkHttpExecutor.java

See this annotation in the file changed.

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

Usage of Kotlin internal declarations from Java

Usage of Kotlin internal declaration from different module

Check failure on line 116 in central-stdlib/src/main/java/central/net/http/executor/okhttp/OkHttpExecutor.java

See this annotation in the file changed.

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

Usage of Kotlin internal declarations from Java

Usage of Kotlin internal declaration from different module

Check warning on line 133 in central-stdlib/src/main/java/central/net/http/proxy/contract/spring/resolver/RequestPartResolver.java

See this annotation in the file changed.

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

Confusing argument to varargs method

Confusing argument `contentType`, unclear if a varargs or non-varargs call is desired