Main #167
Main #167
36 new problems found by Qodana Community for JVM
Qodana Community for JVM
36 new problems were found
Inspection name | Severity | Problems |
---|---|---|
Mismatched query and update of collection |
๐ถ Warning | 14 |
Optional.get() is called without isPresent() check |
๐ถ Warning | 5 |
Unused assignment |
๐ถ Warning | 5 |
Nullability and data flow problems |
๐ถ Warning | 4 |
'Optional' used as field or parameter type |
๐ถ Warning | 4 |
Caught exception is immediately rethrown |
๐ถ Warning | 1 |
Use of Optional.ofNullable with null or not-null argument |
๐ถ Warning | 1 |
String comparison using '==', instead of 'equals()' |
๐ถ Warning | 1 |
Suspicious collection method call |
๐ถ Warning | 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 qodana-support@jetbrains.com
- 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 Community for JVM
Caught exception is immediately rethrown
Caught exception `e` is immediately rethrown
github-actions / Qodana Community for JVM
Nullability and data flow problems
Method invocation `getDefaultMessage` may produce `NullPointerException`
github-actions / Qodana Community for JVM
Nullability and data flow problems
Switch label `"00"` is unreachable
Check warning on line 61 in src/main/java/com/example/codebase/s3/S3Service.java
github-actions / Qodana Community for JVM
Nullability and data flow problems
Method invocation `lastIndexOf` may produce `NullPointerException`
Check warning on line 103 in src/main/java/com/example/codebase/controller/MemberController.java
github-actions / Qodana Community for JVM
Nullability and data flow problems
Method invocation `lastIndexOf` may produce `NullPointerException`
Check warning on line 23 in src/main/java/com/example/codebase/domain/member/entity/Authority.java
github-actions / Qodana Community for JVM
Mismatched query and update of collection
Contents of collection `memberAuthorities` are updated, but never queried
Check warning on line 113 in src/main/java/com/example/codebase/domain/member/entity/Member.java
github-actions / Qodana Community for JVM
Mismatched query and update of collection
Contents of collection `posts` are updated, but never queried
Check warning on line 105 in src/main/java/com/example/codebase/domain/member/entity/Member.java
github-actions / Qodana Community for JVM
Mismatched query and update of collection
Contents of collection `authorities` are updated, but never queried
Check warning on line 56 in src/main/java/com/example/codebase/domain/post/entity/Post.java
github-actions / Qodana Community for JVM
Mismatched query and update of collection
Contents of collection `postLikeMembers` are updated, but never queried
github-actions / Qodana Community for JVM
Mismatched query and update of collection
Contents of collection `notificationReceivedStatus` are updated, but never queried
Check warning on line 85 in src/main/java/com/example/codebase/domain/event/entity/Event.java
github-actions / Qodana Community for JVM
Mismatched query and update of collection
Contents of collection `eventMedias` are updated, but never queried
Check warning on line 109 in src/main/java/com/example/codebase/domain/member/entity/Member.java
github-actions / Qodana Community for JVM
Mismatched query and update of collection
Contents of collection `artworks` are updated, but never queried
Check warning on line 55 in src/main/java/com/example/codebase/domain/team/entity/Team.java
github-actions / Qodana Community for JVM
Mismatched query and update of collection
Contents of collection `teamUsers` are updated, but never queried
Check warning on line 67 in src/main/java/com/example/codebase/domain/agora/entity/Agora.java
github-actions / Qodana Community for JVM
Mismatched query and update of collection
Contents of collection `medias` are updated, but never queried
Check warning on line 117 in src/main/java/com/example/codebase/domain/member/entity/Member.java
github-actions / Qodana Community for JVM
Mismatched query and update of collection
Contents of collection `agoras` are updated, but never queried
Check warning on line 91 in src/main/java/com/example/codebase/domain/magazine/entity/Magazine.java
github-actions / Qodana Community for JVM
Mismatched query and update of collection
Contents of collection `magazineMedias` are updated, but never queried
Check warning on line 73 in src/main/java/com/example/codebase/domain/artwork/entity/Artwork.java
github-actions / Qodana Community for JVM
Mismatched query and update of collection
Contents of collection `artworkLikeMembers` are updated, but never queried
Check warning on line 64 in src/main/java/com/example/codebase/domain/post/entity/Post.java
github-actions / Qodana Community for JVM
Mismatched query and update of collection
Contents of collection `postMedias` are updated, but never queried
github-actions / Qodana Community for JVM
Mismatched query and update of collection
Contents of collection `childComments` are updated, but never queried
github-actions / Qodana Community for JVM
Optional.get() is called without isPresent() check
`Optional.get()` without 'isPresent()' check
Check warning on line 23 in src/main/java/com/example/codebase/domain/media/MediaType.java
github-actions / Qodana Community for JVM
Optional.get() is called without isPresent() check
`Optional.get()` without 'isPresent()' check
Check warning on line 25 in src/main/java/com/example/codebase/domain/feed/dto/FeedType.java
github-actions / Qodana Community for JVM
Optional.get() is called without isPresent() check
`Optional.get()` without 'isPresent()' check
Check warning on line 79 in src/main/java/com/example/codebase/util/SecurityUtil.java
github-actions / Qodana Community for JVM
Optional.get() is called without isPresent() check
`Optional.get()` without 'isPresent()' check
github-actions / Qodana Community for JVM
Optional.get() is called without isPresent() check
`Optional.get()` without 'isPresent()' check
Check warning on line 75 in src/main/java/com/example/codebase/util/SecurityUtil.java
github-actions / Qodana Community for JVM
Use of Optional.ofNullable with null or not-null argument
'Optional.ofNullable()' with non-null argument should be replaced with 'Optional.of()'