Proper modifier order and removal if implied by their context.

This commit is contained in:
MobiusDev
2018-06-19 02:02:54 +00:00
parent 61b336acb9
commit a5b69096dd
163 changed files with 325 additions and 325 deletions

View File

@@ -117,7 +117,7 @@ public class KetraOrcSupport extends Quest
// Haste: Requires 6 Buffalo Horns
};
private final static L2Skill VARKA_KETRA_PETRIFICATION = SkillTable.getInstance().getInfo(4578, 1);
private static final L2Skill VARKA_KETRA_PETRIFICATION = SkillTable.getInstance().getInfo(4578, 1);
/**
* Names of missions which will be automatically dropped if the alliance is broken.

View File

@@ -116,7 +116,7 @@ public class VarkaSilenosSupport extends Quest
// Haste: Requires 6 Nepenthese Seeds
};
private final static L2Skill VARKA_KETRA_PETRIFICATION = SkillTable.getInstance().getInfo(4578, 1);
private static final L2Skill VARKA_KETRA_PETRIFICATION = SkillTable.getInstance().getInfo(4578, 1);
/**
* Names of missions which will be automatically dropped if the alliance is broken.

View File

@@ -21,9 +21,9 @@ package com.l2jmobius.gameserver.instancemanager;
*/
public class PlayerCountManager
{
private volatile static int connectedCount = 0;
private volatile static int maxConnectedCount = 0;
private volatile static int offlineTradeCount = 0;
private static volatile int connectedCount = 0;
private static volatile int maxConnectedCount = 0;
private static volatile int offlineTradeCount = 0;
protected PlayerCountManager()
{

View File

@@ -21,9 +21,9 @@ package com.l2jmobius.gameserver.model.quest;
*/
public class State
{
public final static byte CREATED = 0;
public final static byte STARTED = 1;
public final static byte COMPLETED = 2;
public static final byte CREATED = 0;
public static final byte STARTED = 1;
public static final byte COMPLETED = 2;
// discover the string representation of the state, for readable DB storage
public static String getStateName(byte state)

View File

@@ -61,22 +61,22 @@ public class Gui
{
JTextArea txtrConsole;
final static String[] shutdownOptions =
static final String[] shutdownOptions =
{
"Shutdown",
"Cancel"
};
final static String[] restartOptions =
static final String[] restartOptions =
{
"Restart",
"Cancel"
};
final static String[] abortOptions =
static final String[] abortOptions =
{
"Abort",
"Cancel"
};
final static String[] confirmOptions =
static final String[] confirmOptions =
{
"Confirm",
"Cancel"

View File

@@ -39,7 +39,7 @@ import com.l2jmobius.gameserver.util.Locator;
*/
public class SystemPanel extends JPanel
{
final static long startTime = System.currentTimeMillis();
static final long startTime = System.currentTimeMillis();
public SystemPanel()
{

View File

@@ -39,7 +39,7 @@ import com.l2jmobius.Config;
public class frmAbout
{
private JFrame frmAbout;
final static String URL = "www.l2jmobius.com";
static final String URL = "www.l2jmobius.com";
URI uri;
public frmAbout()

View File

@@ -62,12 +62,12 @@ public class Gui
JCheckBoxMenuItem chckbxmntmDisabled;
JCheckBoxMenuItem chckbxmntmGmOnly;
final static String[] shutdownOptions =
static final String[] shutdownOptions =
{
"Shutdown",
"Cancel"
};
final static String[] restartOptions =
static final String[] restartOptions =
{
"Restart",
"Cancel"

View File

@@ -37,7 +37,7 @@ import javax.swing.WindowConstants;
public class frmAbout
{
private JFrame frmAbout;
final static String URL = "www.l2jmobius.com";
static final String URL = "www.l2jmobius.com";
URI uri;
public frmAbout()