inventorysetups: Final fields

This commit is contained in:
sdburns1998
2019-07-07 14:47:44 +02:00
parent d4ffa23601
commit db1df81bdd
3 changed files with 6 additions and 6 deletions

View File

@@ -108,7 +108,7 @@ public class InventorySetupPlugin extends Plugin
private InventorySetupPluginPanel panel; private InventorySetupPluginPanel panel;
private Map<String, InventorySetup> inventorySetups = new HashMap<>(); private final Map<String, InventorySetup> inventorySetups = new HashMap<>();
private NavigationButton navButton; private NavigationButton navButton;

View File

@@ -41,7 +41,7 @@ import net.runelite.client.ui.ColorScheme;
@Singleton @Singleton
abstract class InventorySetupContainerPanel extends JPanel abstract class InventorySetupContainerPanel extends JPanel
{ {
protected ItemManager itemManager; protected final ItemManager itemManager;
private final InventorySetupPlugin plugin; private final InventorySetupPlugin plugin;

View File

@@ -55,10 +55,10 @@ import net.runelite.client.util.ImageUtil;
@Singleton @Singleton
public class InventorySetupPluginPanel extends PluginPanel public class InventorySetupPluginPanel extends PluginPanel
{ {
private static ImageIcon ADD_ICON; private static final ImageIcon ADD_ICON;
private static ImageIcon ADD_HOVER_ICON; private static final ImageIcon ADD_HOVER_ICON;
private static ImageIcon REMOVE_ICON; private static final ImageIcon REMOVE_ICON;
private static ImageIcon REMOVE_HOVER_ICON; private static final ImageIcon REMOVE_HOVER_ICON;
private final JPanel noSetupsPanel; private final JPanel noSetupsPanel;
private final JPanel invEqPanel; private final JPanel invEqPanel;