quick fix : Private field may be 'final'

This commit is contained in:
Alexdoru committed 2023-01-26 01:19:02 +01:00
1 parent 2fe9f9c57e
commit c8ee847e1a
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);