Skip to content

Commit 488e6fc

Browse files
committed
code style fixes
1 parent 65f2e89 commit 488e6fc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/main/java/pro/cloudnode/smp/smpcore/Permission.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,5 +160,5 @@ public final class Permission {
160160
/**
161161
* Bypass death ban.
162162
*/
163-
public static @NotNull String DEATHBAN_BYPASS = "smpcore.deathban.bypass";
163+
public static final @NotNull String DEATHBAN_BYPASS = "smpcore.deathban.bypass";
164164
}

src/main/java/pro/cloudnode/smp/smpcore/command/BanCommand.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@
1515
import java.util.ArrayList;
1616
import java.util.Arrays;
1717
import java.util.Date;
18-
import java.util.HashSet;
1918
import java.util.List;
2019
import java.util.Objects;
2120
import java.util.Optional;
21+
import java.util.Set;
2222

2323
public final class BanCommand extends Command {
2424
private static void ban(
@@ -62,7 +62,7 @@ private static void ban(
6262
}
6363

6464
final Member main = targetMember.get().altOwner().orElse(targetMember.get());
65-
final HashSet<Member> alts = main.getAlts();
65+
final Set<Member> alts = main.getAlts();
6666

6767
ban(main.player(), reason, banExpiry, banSource);
6868
final List<Member> bannedMembers = new ArrayList<>();

0 commit comments

Comments
 (0)