Skip to content

further reduce NPath complexity of Members.list method

19d6c2e
Select commit
Loading
Failed to load commit list.
Merged

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

further reduce NPath complexity of Members.list method
19d6c2e
Select commit
Loading
Failed to load commit list.
Codacy Production / Codacy Static Code Analysis required action Mar 3, 2026 in 0s

11 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 23 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#L23

'rest' hides a field.

Check warning on line 30 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#L30

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

Check warning on line 32 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#L32

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

Check warning on line 34 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#L34

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

Check warning on line 36 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#L36

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

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.