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

@@ -22,8 +22,8 @@ public class TProxyCommon implements IGuiHandler {
return null;
}
private static HashMap<Integer, IGuiHandler> serverGuiHandlers = new HashMap<>();
private static HashMap<Integer, IGuiHandler> clientGuiHandlers = new HashMap<>();
private static final HashMap<Integer, IGuiHandler> serverGuiHandlers = new HashMap<>();
private static final HashMap<Integer, IGuiHandler> clientGuiHandlers = new HashMap<>();
public static void registerServerGuiHandler(int gui, IGuiHandler handler) {
serverGuiHandlers.put(gui, handler);