Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weโ€™ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Main #167

Merged
merged 11 commits into from
May 10, 2024

Merge pull request #166 from Media-XI/hotfix

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

Main #167

Merge pull request #166 from Media-XI/hotfix
d139cf1
Select commit
Loading
Failed to load commit list.
GitHub Actions / Qodana Community for JVM completed May 10, 2024 in 0s

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

Details

This result was published with Qodana GitHub Action

Annotations

Check warning on line 62 in src/main/java/com/example/codebase/domain/auth/handler/OAuth2AuthenticationSuccessHandler.java

See this annotation in the file changed.

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

Caught exception is immediately rethrown

Caught exception `e` is immediately rethrown

Check warning on line 36 in src/main/java/com/example/codebase/controller/advice/CustomExceptionHandler.java

See this annotation in the file changed.

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

Nullability and data flow problems

Method invocation `getDefaultMessage` may produce `NullPointerException`

Check warning on line 44 in src/main/java/com/example/codebase/domain/event/crawling/dto/eventResponse/XmlEventResponse.java

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

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

Mismatched query and update of collection

Contents of collection `postLikeMembers` are updated, but never queried

Check warning on line 40 in src/main/java/com/example/codebase/domain/notification/entity/Notification.java

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

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

Mismatched query and update of collection

Contents of collection `postMedias` are updated, but never queried

Check warning on line 45 in src/main/java/com/example/codebase/domain/artwork/entity/ArtworkComment.java

See this annotation in the file changed.

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

Mismatched query and update of collection

Contents of collection `childComments` are updated, but never queried

Check warning on line 21 in src/main/java/com/example/codebase/domain/event/entity/EventMediaType.java

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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/magazine/entity/MagazineMediaType.java

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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()'