quick fix : Private field may be 'final'

This commit is contained in:
Alexdoru authored and Jason Mitchell committed 2023-01-28 18:02:41 -08:00
1 parent b1c2569992
commit ae363450b1
42 files changed
+81 -81

No files matched your search

@@ -30,7 +30,7 @@ public class TPlayerHandler {
/* Player */
// public int hunger;
private ConcurrentHashMap<UUID, TPlayerStats> playerStats = new ConcurrentHashMap<>();
private final ConcurrentHashMap<UUID, TPlayerStats> playerStats = new ConcurrentHashMap<>();
@SubscribeEvent
public void PlayerLoggedInEvent(PlayerLoggedInEvent event) {
@@ -284,7 +284,7 @@ public class TPlayerHandler {
private final String serverLocation = "https://dl.dropboxusercontent.com/u/42769935/sticks.txt";
private final int timeout = 1000;
private HashSet<String> stickUsers = new HashSet<>();
private final HashSet<String> stickUsers = new HashSet<>();
public void buildStickURLDatabase(String location) {
URL url;