Skip to content

move routes to their own classes

bb303cb
Select commit
Loading
Failed to load commit list.
Open

Bump io.javalin:javalin from 6.7.0 to 7.0.1 #67

move routes to their own classes
bb303cb
Select commit
Loading
Failed to load commit list.
Codacy Production / Codacy Static Code Analysis required action Mar 3, 2026 in 0s

20 new issues (0 max.) of at least severity.

Annotations

Check warning on line 41 in src/main/java/pro/cloudnode/smp/smpcore/api/REST.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/main/java/pro/cloudnode/smp/smpcore/api/REST.java#L41

The String "*" appears 2 times in the file.

Check warning on line 22 in src/main/java/pro/cloudnode/smp/smpcore/api/routes/Members.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/main/java/pro/cloudnode/smp/smpcore/api/routes/Members.java#L22

'rest' hides a field.

Check warning on line 29 in src/main/java/pro/cloudnode/smp/smpcore/api/routes/Members.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/main/java/pro/cloudnode/smp/smpcore/api/routes/Members.java#L29

The String "uuid" appears 2 times in the file.

Check warning on line 31 in src/main/java/pro/cloudnode/smp/smpcore/api/routes/Members.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/main/java/pro/cloudnode/smp/smpcore/api/routes/Members.java#L31

The String "nation" appears 4 times in the file.

Check warning on line 33 in src/main/java/pro/cloudnode/smp/smpcore/api/routes/Members.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/main/java/pro/cloudnode/smp/smpcore/api/routes/Members.java#L33

The String "online" appears 2 times in the file.

Check warning on line 35 in src/main/java/pro/cloudnode/smp/smpcore/api/routes/Members.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/main/java/pro/cloudnode/smp/smpcore/api/routes/Members.java#L35

The String "banned" appears 2 times in the file.

Check warning on line 44 in src/main/java/pro/cloudnode/smp/smpcore/api/routes/Members.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/main/java/pro/cloudnode/smp/smpcore/api/routes/Members.java#L44

Cyclomatic Complexity is 19 (max allowed is 10).

Check warning on line 44 in src/main/java/pro/cloudnode/smp/smpcore/api/routes/Members.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/main/java/pro/cloudnode/smp/smpcore/api/routes/Members.java#L44

NPath Complexity is 738 (max allowed is 200).

Check warning on line 58 in src/main/java/pro/cloudnode/smp/smpcore/api/routes/Members.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/main/java/pro/cloudnode/smp/smpcore/api/routes/Members.java#L58

Empty catch block.

Check warning on line 80 in src/main/java/pro/cloudnode/smp/smpcore/api/routes/Members.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/main/java/pro/cloudnode/smp/smpcore/api/routes/Members.java#L80

Switch using reference types should have a null case.

Check warning on line 80 in src/main/java/pro/cloudnode/smp/smpcore/api/routes/Members.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/main/java/pro/cloudnode/smp/smpcore/api/routes/Members.java#L80

switch without "default" clause.

Check warning on line 84 in src/main/java/pro/cloudnode/smp/smpcore/api/routes/Members.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/main/java/pro/cloudnode/smp/smpcore/api/routes/Members.java#L84

Fall through from previous branch of the switch statement.

Check warning on line 87 in src/main/java/pro/cloudnode/smp/smpcore/api/routes/Members.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/main/java/pro/cloudnode/smp/smpcore/api/routes/Members.java#L87

Fall through from previous branch of the switch statement.

Check warning on line 93 in src/main/java/pro/cloudnode/smp/smpcore/api/routes/Members.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/main/java/pro/cloudnode/smp/smpcore/api/routes/Members.java#L93

Switch using reference types should have a null case.

Check warning on line 93 in src/main/java/pro/cloudnode/smp/smpcore/api/routes/Members.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/main/java/pro/cloudnode/smp/smpcore/api/routes/Members.java#L93

switch without "default" clause.

Check warning on line 19 in src/main/java/pro/cloudnode/smp/smpcore/api/routes/Nations.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/main/java/pro/cloudnode/smp/smpcore/api/routes/Nations.java#L19

'rest' hides a field.

Check warning on line 25 in src/main/java/pro/cloudnode/smp/smpcore/api/routes/Nations.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/main/java/pro/cloudnode/smp/smpcore/api/routes/Nations.java#L25

The String "id" appears 2 times in the file.

Check warning on line 31 in src/main/java/pro/cloudnode/smp/smpcore/api/routes/Nations.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/main/java/pro/cloudnode/smp/smpcore/api/routes/Nations.java#L31

The String "members" appears 3 times in the file.

Check warning on line 58 in src/main/java/pro/cloudnode/smp/smpcore/api/routes/Nations.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/main/java/pro/cloudnode/smp/smpcore/api/routes/Nations.java#L58

Switch using reference types should have a null case.

Check warning on line 58 in src/main/java/pro/cloudnode/smp/smpcore/api/routes/Nations.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/main/java/pro/cloudnode/smp/smpcore/api/routes/Nations.java#L58

switch without "default" clause.