hantsy / spring-reactive-jwt-sample

Errors detected in .deepsource.toml. Please refer to the docs.

  • '21' is not one of ['8', '9', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19'] in meta for analyzer "java"

Random instances should be reused JAVA-W1015
Anti-pattern
Major
4 months agoa year old
This Random instance is used only once
136                @Test
137                @DisplayName("should work when performing the crud flow(creating, updating and deleting posts and comments)")
138                void postCrudOperations() {
139                        int randomInt = new Random().nextInt();140                        String title = "Post test " + randomInt;
141                        String content = "content of " + title;
142