Skip to content

[UPDATE] 提升代码质量 #12

[UPDATE] 提升代码质量

[UPDATE] 提升代码质量 #12

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

104 new problems found by Qodana Community for JVM

Qodana Community for JVM

104 new problems were found

Inspection name Severity Problems
Usage of Kotlin internal declarations from Java 🔴 Failure 3
Constant values 🔶 Warning 18
Unused assignment 🔶 Warning 13
Mismatched query and update of collection 🔶 Warning 6
Infinite loop statement 🔶 Warning 4
Loop statement that does not loop 🔶 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
Constant values ◽️ Notice 42

💡 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 notice on line 244 in central-stdlib/src/main/java/central/sql/builder/OracleBuilder.java

See this annotation in the file changed.

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

Constant values

Value `properties` is always 'null'

Check notice on line 95 in central-stdlib/src/main/java/central/sql/builder/PostgreSqlBuilder.java

See this annotation in the file changed.

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

Constant values

Value `properties` is always 'null'

Check notice on line 143 in central-starters/central-starter-webmvc/src/main/java/central/starter/webmvc/render/ResumableFileRender.java

See this annotation in the file changed.

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

Constant values

Value `output` is always 'null'

Check warning on line 100 in central-starters/central-starter-security/src/main/java/central/starter/security/exception/UnauthorizedExceptionHandler.java

See this annotation in the file changed.

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

Constant values

Condition `Stringx.isNotBlank(forbiddenUrl)` is always `false`

Check warning on line 99 in central-starters/central-starter-security/src/main/java/central/starter/security/exception/UnauthenticatedExceptionHandler.java

See this annotation in the file changed.

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

Constant values

Condition `Stringx.isNotBlank(unauthorizedUrl)` is always `false`

Check warning on line 324 in central-stdlib/src/main/java/central/sql/builder/StandardSqlBuilder.java

See this annotation in the file changed.

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

Constant values

Condition `value == null` is always `true`

Check warning on line 201 in central-starters/central-starter-webmvc/src/main/java/central/starter/webmvc/render/ResumableFileRender.java

See this annotation in the file changed.

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

Constant values

Condition is always false

Check notice on line 100 in central-starters/central-starter-security/src/main/java/central/starter/security/exception/UnauthorizedExceptionHandler.java

See this annotation in the file changed.

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

Constant values

Value `forbiddenUrl` is always 'null'

Check warning on line 116 in central-stdlib/src/main/java/central/sql/datasource/migration/migrator/TableMigrator.java

See this annotation in the file changed.

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

Constant values

Condition `index == null` is always `true`

Check notice on line 235 in central-stdlib/src/main/java/central/sql/impl/standard/StandardMetaManager.java

See this annotation in the file changed.

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

Constant values

Value `meta` is always 'null'

Check warning on line 315 in central-stdlib/src/main/java/central/sql/builder/StandardSqlBuilder.java

See this annotation in the file changed.

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

Constant values

Condition `value == null` is always `true`

Check notice on line 49 in central-stdlib/src/main/java/central/sql/datasource/migration/action/AddIndexMigration.java

See this annotation in the file changed.

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

Constant values

Value `scripts` is always 'null'

Check notice on line 49 in central-stdlib/src/main/java/central/sql/datasource/migration/action/DropTableMigration.java

See this annotation in the file changed.

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

Constant values

Value `scripts` is always 'null'

Check notice on line 83 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

Constant values

Value `contentType` is always 'null'

Check warning on line 57 in central-stdlib/src/main/java/central/net/http/processor/impl/ThrowProcessor.java

See this annotation in the file changed.

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

Constant values

Condition `contentType != null` is always `false`

Check warning on line 77 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

Constant values

Condition `contentType == null` is always `true`

Check notice 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

Constant values

Value `contentType` is always 'null'

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

See this annotation in the file changed.

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

Constant values

Condition `Stringx.isNotBlank(tenantPath)` is always `false`

Check warning on line 114 in central-stdlib/src/main/java/central/sql/builder/PostgreSqlBuilder.java

See this annotation in the file changed.

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

Constant values

Condition `value == null` is always `true`

Check notice on line 49 in central-stdlib/src/main/java/central/sql/datasource/migration/action/RenameTableMigration.java

See this annotation in the file changed.

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

Constant values

Value `scripts` is always 'null'