Skip to content

Front-end perms and back-end content for exceptions of owners #2070

Front-end perms and back-end content for exceptions of owners

Front-end perms and back-end content for exceptions of owners #2070

GitHub Actions / Qodana for JVM completed Oct 24, 2023 in 0s

405 new problems found by Qodana for JVM

Qodana for JVM

405 new problems were found

Inspection name Severity Problems
Unused import 🔶 Warning 116
Redundant character escape 🔶 Warning 85
Dangling Javadoc comment 🔶 Warning 15
Integer multiplication or shift implicitly cast to 'long' 🔶 Warning 10
Invalid YAML configuration 🔶 Warning 9
Field can be local 🔶 Warning 7
AutoCloseable used without 'try'-with-resources 🔶 Warning 6
Redundant 'Collection.addAll()' call 🔶 Warning 6
Optional.get() is called without isPresent() check 🔶 Warning 6
Redundant local variable 🔶 Warning 6
Default annotation parameter value 🔶 Warning 5
Nullability and data flow problems 🔶 Warning 4
Deprecated API usage 🔶 Warning 4
Link specified as plain text 🔶 Warning 4
@NotNull/@Nullable problems 🔶 Warning 4
Spring Data repository method parameters errors 🔶 Warning 4
Unused assignment 🔶 Warning 4
Possibly blocking call in non-blocking context 🔶 Warning 3
Field may be 'final' 🔶 Warning 3
Lombok @Getter may be used 🔶 Warning 3
Call to 'printStackTrace()' 🔶 Warning 3
Non-final field in 'enum' 🔶 Warning 2
'Optional' used as field or parameter type 🔶 Warning 2
Unused publisher 🔶 Warning 2
Redundant type cast 🔶 Warning 2
Redundant 'close()' 🔶 Warning 2
Calling 'subscribe' in "reactive" methods 🔶 Warning 1
Mismatch in @PathVariable declarations and usages 🔶 Warning 1
Begin or end anchor in unexpected position 🔶 Warning 1
'size() == 0' can be replaced with 'isEmpty()' 🔶 Warning 1
Unchecked warning 🔶 Warning 1
Unnecessary call to 'toString()' 🔶 Warning 1
Commented out code ◽️ Notice 35
Duplicated code fragment ◽️ Notice 23
Non recommended 'field' injections ◽️ Notice 19
Constant values ◽️ Notice 2
Mismatch in @PathVariable declarations and usages ◽️ Notice 1
Throw statement in Reactive operator ◽️ Notice 1
Regular expression can be simplified ◽️ Notice 1

☁️ 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 23 in visits-service-new/src/main/java/com/petclinic/visits/visitsservicenew/DomainClientLayer/Mailing/MailServiceImpl.java

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

AutoCloseable used without 'try'-with-resources

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

Check warning on line 25 in auth-service/src/main/java/com/petclinic/authservice/domainclientlayer/Mail/MailServiceImpl.java

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

AutoCloseable used without 'try'-with-resources

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

Check warning on line 26 in auth-service/src/main/java/com/petclinic/authservice/domainclientlayer/Mail/MailServiceImpl.java

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

AutoCloseable used without 'try'-with-resources

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

Check warning on line 24 in visits-service-new/src/main/java/com/petclinic/visits/visitsservicenew/DomainClientLayer/Mailing/MailServiceImpl.java

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

AutoCloseable used without 'try'-with-resources

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

Check warning on line 23 in auth-service/src/main/java/com/petclinic/authservice/Util/Configuration/Security/CustomBasicAuthenticationEntryPoint.java

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

AutoCloseable used without 'try'-with-resources

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

Check warning on line 24 in auth-service/src/main/java/com/petclinic/authservice/Util/Configuration/Security/CustomBasicAuthenticationEntryPoint.java

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

AutoCloseable used without 'try'-with-resources

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

Check warning on line 58 in api-gateway/src/main/java/com/petclinic/bffapigateway/utils/Security/Filters/RoleFilter.java

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Possibly blocking call in non-blocking context

Possibly blocking call in non-blocking context could lead to thread starvation

Check warning on line 98 in api-gateway/src/main/java/com/petclinic/bffapigateway/utils/Security/Filters/JwtTokenFilter.java

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Possibly blocking call in non-blocking context

Possibly blocking call in non-blocking context could lead to thread starvation

Check warning on line 56 in api-gateway/src/main/java/com/petclinic/bffapigateway/utils/Security/Filters/IsUserFilter.java

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Possibly blocking call in non-blocking context

Possibly blocking call in non-blocking context could lead to thread starvation

Check warning on line 93 in visits-service-new/src/main/java/com/petclinic/visits/visitsservicenew/BusinessLayer/VisitServiceImpl.java

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Calling 'subscribe' in "reactive" methods

Calling 'subscribe' in non-blocking context is not recommended

Check warning on line 77 in vet-service/src/main/java/com/petclinic/vet/servicelayer/DataSetupService.java

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Redundant 'Collection.addAll()' call

'addAll()' call can be replaced with parametrized constructor call

Check warning on line 73 in vet-service/src/main/java/com/petclinic/vet/servicelayer/DataSetupService.java

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Redundant 'Collection.addAll()' call

'addAll()' call can be replaced with parametrized constructor call

Check warning on line 71 in vet-service/src/main/java/com/petclinic/vet/servicelayer/DataSetupService.java

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Redundant 'Collection.addAll()' call

'addAll()' call can be replaced with parametrized constructor call

Check warning on line 79 in vet-service/src/main/java/com/petclinic/vet/servicelayer/DataSetupService.java

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Redundant 'Collection.addAll()' call

'addAll()' call can be replaced with parametrized constructor call

Check warning on line 75 in vet-service/src/main/java/com/petclinic/vet/servicelayer/DataSetupService.java

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Redundant 'Collection.addAll()' call

'addAll()' call can be replaced with parametrized constructor call

Check warning on line 69 in vet-service/src/main/java/com/petclinic/vet/servicelayer/DataSetupService.java

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Redundant 'Collection.addAll()' call

'addAll()' call can be replaced with parametrized constructor call

Check notice on line 61 in customers-service-reactive/src/main/java/com/petclinic/customersservice/business/PetTypeServiceImpl.java

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Commented out code

Commented out code (6 lines)

Check notice on line 287 in api-gateway/src/main/java/com/petclinic/bffapigateway/presentationlayer/BFFApiGatewayController.java

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Commented out code

Commented out code (33 lines)

Check notice on line 635 in api-gateway/src/main/java/com/petclinic/bffapigateway/presentationlayer/BFFApiGatewayController.java

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Commented out code

Commented out code (6 lines)

Check notice on line 198 in api-gateway/src/main/java/com/petclinic/bffapigateway/domainclientlayer/AuthServiceClient.java

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Commented out code

Commented out code (12 lines)

Check notice on line 95 in visits-service-new/src/main/java/com/petclinic/visits/visitsservicenew/BusinessLayer/VisitServiceImpl.java

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Commented out code

Commented out code (4 lines)

Check notice on line 21 in visits-service-new/src/main/java/com/petclinic/visits/visitsservicenew/BusinessLayer/VisitService.java

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Commented out code

Commented out code (2 lines)

Check notice on line 545 in api-gateway/src/main/java/com/petclinic/bffapigateway/presentationlayer/BFFApiGatewayController.java

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Commented out code

Commented out code (16 lines)

Check notice on line 137 in api-gateway/src/main/java/com/petclinic/bffapigateway/config/GlobalExceptionHandler.java

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Commented out code

Commented out code (6 lines)

Check notice on line 10 in api-gateway/src/main/java/com/petclinic/bffapigateway/exceptions/InvalidInputException.java

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Commented out code

Commented out code (3 lines)