pvptools: Final fields
This commit is contained in:
@@ -32,7 +32,7 @@ import org.apache.commons.lang3.ArrayUtils;
|
|||||||
@Singleton
|
@Singleton
|
||||||
public class PlayerCountOverlay extends Overlay
|
public class PlayerCountOverlay extends Overlay
|
||||||
{
|
{
|
||||||
private static int[] CLAN_WARS_REGIONS = {9520, 13135, 13134, 13133, 13131, 13130, 13387, 13386};
|
private static final int[] CLAN_WARS_REGIONS = {9520, 13135, 13134, 13133, 13131, 13130, 13387, 13386};
|
||||||
|
|
||||||
private final PvpToolsPlugin pvpToolsPlugin;
|
private final PvpToolsPlugin pvpToolsPlugin;
|
||||||
private final Client client;
|
private final Client client;
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ import net.runelite.client.ui.overlay.OverlayUtil;
|
|||||||
@Singleton
|
@Singleton
|
||||||
public class PvpToolsOverlay extends Overlay
|
public class PvpToolsOverlay extends Overlay
|
||||||
{
|
{
|
||||||
private PvpToolsPlugin pvpToolsPlugin;
|
private final PvpToolsPlugin pvpToolsPlugin;
|
||||||
|
|
||||||
@Inject
|
@Inject
|
||||||
private PvpToolsOverlay(final PvpToolsPlugin pvpToolsPlugin)
|
private PvpToolsOverlay(final PvpToolsPlugin pvpToolsPlugin)
|
||||||
|
|||||||
@@ -34,18 +34,18 @@ class PvpToolsPanel extends PluginPanel
|
|||||||
|
|
||||||
private final JLabel loggedLabel = new JLabel();
|
private final JLabel loggedLabel = new JLabel();
|
||||||
private final JRichTextPane emailLabel = new JRichTextPane();
|
private final JRichTextPane emailLabel = new JRichTextPane();
|
||||||
JLabel numCC = new JLabel();
|
final JLabel numCC = new JLabel();
|
||||||
JLabel numOther = new JLabel();
|
final JLabel numOther = new JLabel();
|
||||||
JLabel numMageJLabel = new JLabel(" ");
|
final JLabel numMageJLabel = new JLabel(" ");
|
||||||
JLabel numRangeJLabel = new JLabel(" ");
|
final JLabel numRangeJLabel = new JLabel(" ");
|
||||||
JLabel numMeleeJLabel = new JLabel(" ");
|
final JLabel numMeleeJLabel = new JLabel(" ");
|
||||||
JLabel totalRiskLabel = new JLabel(" ");
|
final JLabel totalRiskLabel = new JLabel(" ");
|
||||||
JLabel riskProtectingItem = new JLabel(" ");
|
final JLabel riskProtectingItem = new JLabel(" ");
|
||||||
JLabel biggestItemLabel = new JLabel("Protected Item: ");
|
final JLabel biggestItemLabel = new JLabel("Protected Item: ");
|
||||||
JButton missingPlayers = new JButton("Show missing CC members");
|
final JButton missingPlayers = new JButton("Show missing CC members");
|
||||||
JButton currentPlayers = new JButton("Show current CC members");
|
final JButton currentPlayers = new JButton("Show current CC members");
|
||||||
private JLabel numBrews = new JLabel();
|
private final JLabel numBrews = new JLabel();
|
||||||
private JPanel missingPlayersPanel = new JPanel();
|
private final JPanel missingPlayersPanel = new JPanel();
|
||||||
|
|
||||||
|
|
||||||
public static String htmlLabel(String key, String value)
|
public static String htmlLabel(String key, String value)
|
||||||
|
|||||||
@@ -97,7 +97,7 @@ public class PvpToolsPlugin extends Plugin
|
|||||||
@Inject
|
@Inject
|
||||||
private ItemManager itemManager;
|
private ItemManager itemManager;
|
||||||
|
|
||||||
private PvpToolsPlugin uhPvpToolsPlugin = this;
|
private final PvpToolsPlugin uhPvpToolsPlugin = this;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ActionListener for the missing cc members and refresh buttons
|
* ActionListener for the missing cc members and refresh buttons
|
||||||
|
|||||||
Reference in New Issue
Block a user