Skip to content

Merge branch 'main' of https://github.com/CapstoneProjectCMC/backend …

45116c7
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

Post service #19

Merge branch 'main' of https://github.com/CapstoneProjectCMC/backend …
45116c7
Select commit
Loading
Failed to load commit list.
GitHub Actions / Qodana for JVM completed Aug 16, 2025 in 0s

12 new problems found by Qodana for JVM

Qodana for JVM

12 new problems were found

Inspection name Severity Problems
Lombok annotations 🔶 Warning 2
Invalid YAML configuration 🔶 Warning 2
Nullability and data flow problems 🔶 Warning 1
Optional.get() is called without isPresent() check 🔶 Warning 1
Non-constant string concatenation as argument to logging call ◽️ Notice 3
Non-recommended field injections ◽️ Notice 2
'if' statement with identical branches or common parts ◽️ Notice 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 37 in post-service/src/main/java/com/codecampus/post/config/AuthenticationRequestInterceptor.java

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Nullability and data flow problems

Method invocation `getRequest` may produce `NullPointerException`

Check notice on line 51 in post-service/src/main/java/com/codecampus/post/service/PostReactionService.java

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

'if' statement with identical branches or common parts

Common part can be extracted from 'if'

Check warning on line 10 in post-service/src/main/java/com/codecampus/post/entity/PostComment.java

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Lombok annotations

Generating equals/hashCode implementation but without a call to superclass, even though this class does not extend java.lang.Object. If this is intentional, add '(callSuper=false)' to your type.

Check warning on line 10 in post-service/src/main/java/com/codecampus/post/entity/PostAccess.java

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Lombok annotations

Generating equals/hashCode implementation but without a call to superclass, even though this class does not extend java.lang.Object. If this is intentional, add '(callSuper=false)' to your type.

Check warning on line 62 in post-service/src/main/java/com/codecampus/post/utils/DateTimeFormatter.java

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Optional.get() is called without isPresent() check

`Optional.get()` without 'isPresent()' check

Check warning on line 31 in post-service/src/main/resources/application.yml

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Invalid YAML configuration

Cannot resolve configuration property 'spring.cloud.openfeign.multipart.enabled'

Check warning on line 9 in post-service/src/main/resources/application.yml

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Invalid YAML configuration

Cannot resolve configuration property 'file.service.file-url'

Check notice on line 53 in post-service/src/main/java/com/codecampus/post/config/SecurityConfig.java

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Non-recommended field injections

Field injection is not recommended

Check notice on line 17 in post-service/src/main/java/com/codecampus/post/controller/PostController.java

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Non-recommended field injections

Field injection is not recommended

Check notice on line 84 in post-service/src/main/java/com/codecampus/post/exception/GlobalExceptionHandler.java

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Non-constant string concatenation as argument to logging call

Non-constant string as argument to `error()` logging call

Check notice on line 49 in post-service/src/main/java/com/codecampus/post/exception/GlobalExceptionHandler.java

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Non-constant string concatenation as argument to logging call

Non-constant string as argument to `error()` logging call

Check notice on line 30 in post-service/src/main/java/com/codecampus/post/exception/GlobalExceptionHandler.java

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Non-constant string concatenation as argument to logging call

Non-constant string as argument to `error()` logging call