Post service #19
Post service #19
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]
- Or via our issue tracker: https://jb.gg/qodana-issue
- Or share your feedback: https://jb.gg/qodana-discussions
Details
This result was published with Qodana GitHub Action
Annotations
github-actions / Qodana for JVM
Nullability and data flow problems
Method invocation `getRequest` may produce `NullPointerException`
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
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
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.
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
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
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
github-actions / Qodana for JVM
Non-recommended field injections
Field injection is not recommended
github-actions / Qodana for JVM
Non-recommended field injections
Field injection is not recommended
github-actions / Qodana for JVM
Non-constant string concatenation as argument to logging call
Non-constant string as argument to `error()` logging call
github-actions / Qodana for JVM
Non-constant string concatenation as argument to logging call
Non-constant string as argument to `error()` logging call
github-actions / Qodana for JVM
Non-constant string concatenation as argument to logging call
Non-constant string as argument to `error()` logging call