clanmanmode: Final fields

This commit is contained in:
sdburns1998
2019-07-07 04:49:31 +02:00
parent c10bfc650b
commit b66039167c
2 changed files with 2 additions and 2 deletions

View File

@@ -94,7 +94,7 @@ public class ClanManModePlugin extends Plugin
int clanmax; int clanmax;
int inwildy; int inwildy;
int ticks; int ticks;
Map<String, Integer> clan = new HashMap<>(); final Map<String, Integer> clan = new HashMap<>();
@Override @Override
protected void startUp() throws Exception protected void startUp() throws Exception

View File

@@ -25,7 +25,7 @@ public class ClanManModeService
this.plugin = plugin; this.plugin = plugin;
} }
private Map<String, String> interactors = new HashMap<>(); private final Map<String, String> interactors = new HashMap<>();
public void forEachPlayer(final BiConsumer<Player, Color> consumer) public void forEachPlayer(final BiConsumer<Player, Color> consumer)
{ {