Skip to content

Merge pull request #205 from power4j/dependabot/maven/dev/mybatis-plu… #440

Merge pull request #205 from power4j/dependabot/maven/dev/mybatis-plu…

Merge pull request #205 from power4j/dependabot/maven/dev/mybatis-plu… #440

GitHub Actions / Qodana Community for JVM completed Dec 11, 2023 in 0s

718 new problems found by Qodana Community for JVM

Qodana Community for JVM

718 new problems were found

Inspection name Severity Problems
Javadoc declaration problems 🔶 Warning 399
@NotNull field is not initialized 🔶 Warning 139
Field may be 'final' 🔶 Warning 47
Unnecessary modifier 🔶 Warning 23
Field can be local 🔶 Warning 16
Nullability and data flow problems 🔶 Warning 5
Deprecated API usage 🔶 Warning 5
Constant values 🔶 Warning 4
Deprecated member is still used 🔶 Warning 2
Mismatched query and update of collection 🔶 Warning 2
Standard 'Charset' object can be used 🔶 Warning 1
'Optional' used as field or parameter type 🔶 Warning 1
Redundant local variable 🔶 Warning 1
@NotNull/@Nullable problems ◽️ Notice 73

💡 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 81 in fist-kit-infra/fist-support-spring/src/main/java/com/power4j/fist/support/spring/web/servlet/util/HttpServletResponseUtil.java

See this annotation in the file changed.

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

Standard 'Charset' object can be used

StandardCharsets.UTF_8 can be used instead

Check warning on line 44 in fist-kit-app/fist-security/fist-support-security/src/main/java/com/power4j/fist/boot/security/oauth2/DefaultOauth2AuthenticatedPrincipal.java

See this annotation in the file changed.

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

Constant values

Condition `authorities != null` is always `true`

Check warning on line 46 in fist-kit-app/fist-security/fist-support-security/src/main/java/com/power4j/fist/boot/security/oauth2/DefaultOauth2AuthenticatedPrincipal.java

See this annotation in the file changed.

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

Constant values

Condition `name != null` is always `true`

Check warning on line 76 in fist-kit-app/fist-security/fist-support-security/src/main/java/com/power4j/fist/boot/security/oauth2/Oauth2GrantType.java

See this annotation in the file changed.

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

Constant values

Condition `value == null` is always `false`

Check warning on line 104 in fist-kit-app/fist-security/fist-support-security/src/main/java/com/power4j/fist/boot/security/oauth2/Oauth2GrantType.java

See this annotation in the file changed.

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

Constant values

Condition `o == null` is always `false`

Check warning on line 103 in fist-kit-app/fist-security/fist-support-security/src/main/java/com/power4j/fist/boot/security/oauth2/Oauth2GrantType.java

See this annotation in the file changed.

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

Nullability and data flow problems

Passing `null` argument to parameter annotated as @NotNull

Check warning on line 30 in fist-kit-app/fist-security/fist-support-security/src/main/java/com/power4j/fist/boot/security/oauth2/DefaultOauth2AuthenticatedPrincipal.java

See this annotation in the file changed.

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

Nullability and data flow problems

Passing `null` argument to parameter annotated as @NotNull

Check warning on line 93 in fist-kit-app/fist-security/fist-support-security/src/main/java/com/power4j/fist/boot/security/oauth2/Oauth2GrantType.java

See this annotation in the file changed.

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

Nullability and data flow problems

Passing `null` argument to parameter annotated as @NotNull

Check warning on line 47 in fist-kit-app/fist-web/fist-support-web/src/main/java/com/power4j/fist/boot/common/matcher/FastPathMatcher.java

See this annotation in the file changed.

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

Nullability and data flow problems

Expression `pathContainerCache.get(path, this::getPathContainerWithoutCache)` might evaluate to null but is returned by the method declared as @NonNullApi

Check warning on line 42 in fist-kit-app/fist-web/fist-support-web/src/main/java/com/power4j/fist/boot/common/matcher/FastPathMatcher.java

See this annotation in the file changed.

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

Nullability and data flow problems

Expression `pathPatterCache.get(pattern, this::getPathPatternWithoutCache)` might evaluate to null but is returned by the method declared as @NonNullApi

Check warning on line 36 in fist-kit-app/fist-data/fist-boot-data/src/main/java/com/power4j/fist/data/tenant/annotation/InTenant.java

See this annotation in the file changed.

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

Deprecated member is still used

Deprecated member 'InTenant' is still used

Check warning on line 35 in fist-kit-app/fist-web/fist-support-web/src/main/java/com/power4j/fist/boot/common/error/Breaker.java

See this annotation in the file changed.

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

Deprecated member is still used

Deprecated member 'Breaker' is still used

Check warning on line 43 in fist-kit-app/fist-data/fist-boot-data/src/main/java/com/power4j/fist/data/tenant/InTenantAspect.java

See this annotation in the file changed.

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

Deprecated API usage

'com.power4j.fist.data.tenant.annotation.InTenant' is deprecated

Check warning on line 55 in fist-kit-app/fist-security/fist-boot-security-oauth2-server/src/main/java/com/power4j/fist/autoconfigure/security/ResourceServerConfiguration.java

See this annotation in the file changed.

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

Deprecated API usage

'org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter' is deprecated

Check warning on line 78 in fist-kit-app/fist-web/fist-boot-web-app/src/main/java/com/power4j/fist/boot/autoconfigure/i18n/MessageConfiguration.java

See this annotation in the file changed.

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

Deprecated API usage

'com.power4j.fist.boot.common.error.Breaker' is deprecated

Check warning on line 77 in fist-kit-app/fist-web/fist-boot-web-app/src/main/java/com/power4j/fist/boot/autoconfigure/i18n/MessageConfiguration.java

See this annotation in the file changed.

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

Deprecated API usage

'com.power4j.fist.boot.common.error.Breaker' is deprecated

Check warning on line 20 in fist-kit-infra/fist-redisson/src/main/java/com/power4j/fist/message/topic/TopicMessage.java

See this annotation in the file changed.

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

Field can be local

Field can be converted to a local variable

Check warning on line 48 in fist-kit-cloud/fist-cloud-gateway/fist-gateway-auth-core/src/main/java/com/power4j/fist/cloud/gateway/authorization/domain/RequestInfo.java

See this annotation in the file changed.

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

Field can be local

Field can be converted to a local variable

Check warning on line 29 in fist-kit-cloud/fist-cloud-gateway/fist-gateway-auth-core/src/main/java/com/power4j/fist/cloud/gateway/authorization/domain/RouteTarget.java

See this annotation in the file changed.

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

Field can be local

Field can be converted to a local variable

Check warning on line 38 in fist-kit-cloud/fist-cloud-gateway/fist-gateway-auth-core/src/main/java/com/power4j/fist/cloud/gateway/authorization/domain/RequestInfo.java

See this annotation in the file changed.

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

Field can be local

Field can be converted to a local variable

Check warning on line 40 in fist-kit-app/fist-data/fist-boot-data/src/main/java/com/power4j/fist/boot/web/PageParameterResolver.java

See this annotation in the file changed.

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

Field can be local

Field can be converted to a local variable

Check warning on line 29 in fist-kit-app/fist-data/fist-support-data/src/main/java/com/power4j/fist/boot/common/op/bus/OpEvent.java

See this annotation in the file changed.

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

Field can be local

Field can be converted to a local variable

Check warning on line 55 in fist-kit-app/fist-security/fist-support-security/src/main/java/com/power4j/fist/boot/security/inner/TrustedUserFilter.java

See this annotation in the file changed.

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

Field can be local

Field can be converted to a local variable

Check warning on line 40 in fist-kit-app/fist-data/fist-boot-crud-mybatis/src/main/java/com/power4j/fist/boot/mybaits/tenant/TenantHandler.java

See this annotation in the file changed.

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

Field can be local

Field can be converted to a local variable