Skip to content

Update README.md

Update README.md #260

GitHub Actions / Qodana Community for JVM completed Mar 12, 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 13
Optional.get() is called without isPresent() check 🔶 Warning 6
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 107 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 89 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 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 104 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 112 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 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 108 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 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 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 116 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 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 74 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 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 86 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 70 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()'