Skip to content

Commit

Permalink
Remove unused error suppressions + fix double formatting on save.
Browse files Browse the repository at this point in the history
  • Loading branch information
PyPylia committed Dec 15, 2024
1 parent 6b62ce3 commit 622e285
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 10 deletions.
3 changes: 0 additions & 3 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
"java.format.settings.profile": "AOSPStyle",
"java.format.settings.url": "https://raw.github.com/android/platform_development/master/ide/eclipse/android-formatting.xml",
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.organizeImports": "explicit",
},
"editor.tabSize": 4,
"editor.insertSpaces": true,
"editor.detectIndentation": false, // For whatever reason AOSP style messes with VSCode indentation auto-detection
Expand Down
1 change: 0 additions & 1 deletion src/main/java/io/icker/factions/api/persistents/Claim.java
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ public Claim(int x, int z, String level, UUID factionID) {
this.accessLevel = Rank.MEMBER;
}

@SuppressWarnings("unused")
public Claim() {}

public String getKey() {
Expand Down
3 changes: 0 additions & 3 deletions src/main/java/io/icker/factions/api/persistents/Faction.java
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,8 @@ public Faction(
this.power = power;
}

@SuppressWarnings("unused")
public Faction() {}

@SuppressWarnings("unused")
public String getKey() {
return id.toString();
}
Expand All @@ -108,7 +106,6 @@ public static Collection<Faction> all() {
return STORE.values();
}

@SuppressWarnings("unused")
public static List<Faction> allBut(UUID id) {
return STORE.values().stream().filter(f -> f.id != id).toList();
}
Expand Down
1 change: 0 additions & 1 deletion src/main/java/io/icker/factions/api/persistents/Home.java
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ public Home(
this.level = level;
}

@SuppressWarnings("unused")
public Home() {}

public Faction getFaction() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,5 @@ public Relationship(UUID target, Status status) {
this.status = status;
}

@SuppressWarnings("unused")
public Relationship() {}
}
1 change: 0 additions & 1 deletion src/main/java/io/icker/factions/api/persistents/User.java
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ public User(UUID id) {

public User() {}

@SuppressWarnings("unused")
public String getKey() {
return id.toString();
}
Expand Down

0 comments on commit 622e285

Please sign in to comment.