Skip to content

Commit

Permalink
chore: fix checkstyle RightCurlyCheck errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jdrueckert authored Sep 29, 2024
1 parent a0a4b91 commit 5f7294f
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,13 @@ public ServerConnectListManager(Context context) {
// although this seems redundant, compiler wouldn't accept assigning then checking
if (Files.exists(PathManager.getInstance().getHomePath().resolve("denylist.json"))) {
denylistPath = PathManager.getInstance().getHomePath().resolve("denylist.json");
}
else {
} else {
denylistPath = PathManager.getInstance().getHomePath().resolve("blacklist.json");
}
// although this seems redundant, compiler wouldn't accept assigning then checking
if (Files.exists(PathManager.getInstance().getHomePath().resolve("allowlist.json"))) {
allowlistPath = PathManager.getInstance().getHomePath().resolve("allowlist.json");
}
else {
} else {
allowlistPath = PathManager.getInstance().getHomePath().resolve("whitelist.json");
}
this.context = context;
Expand Down

0 comments on commit 5f7294f

Please sign in to comment.