diff --git a/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/usercommandhandlers/ExperienceGain.java b/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/usercommandhandlers/ExperienceGain.java index 4921d6326b..312d3b77f1 100644 --- a/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/usercommandhandlers/ExperienceGain.java +++ b/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/usercommandhandlers/ExperienceGain.java @@ -24,7 +24,7 @@ import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; */ public class ExperienceGain implements IVoicedCommandHandler { - private final String[] COMMANDS = new String[] + private static final String[] COMMANDS = new String[] { "expoff", "expon", diff --git a/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/voicedcommandhandlers/Banking.java b/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/voicedcommandhandlers/Banking.java index 9ab3d8b424..3e868e199e 100644 --- a/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/voicedcommandhandlers/Banking.java +++ b/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/voicedcommandhandlers/Banking.java @@ -26,7 +26,7 @@ import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; */ public class Banking implements IVoicedCommandHandler { - private static final String[] _voicedCommands = + private static final String[] VOICED_COMMANDS = { "bank", "withdraw", @@ -80,6 +80,6 @@ public class Banking implements IVoicedCommandHandler @Override public String[] getVoicedCommandList() { - return _voicedCommands; + return VOICED_COMMANDS; } } \ No newline at end of file diff --git a/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/voicedcommandhandlers/ChangePassword.java b/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/voicedcommandhandlers/ChangePassword.java index 9a0651fe39..2bed1de59f 100644 --- a/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/voicedcommandhandlers/ChangePassword.java +++ b/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/voicedcommandhandlers/ChangePassword.java @@ -33,7 +33,7 @@ public class ChangePassword implements IVoicedCommandHandler { private static final Logger LOGGER = Logger.getLogger(ChangePassword.class.getName()); - private static final String[] _voicedCommands = + private static final String[] VOICED_COMMANDS = { "changepassword" }; @@ -111,6 +111,6 @@ public class ChangePassword implements IVoicedCommandHandler @Override public String[] getVoicedCommandList() { - return _voicedCommands; + return VOICED_COMMANDS; } } diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/usercommandhandlers/ExperienceGain.java b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/usercommandhandlers/ExperienceGain.java index 4921d6326b..312d3b77f1 100644 --- a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/usercommandhandlers/ExperienceGain.java +++ b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/usercommandhandlers/ExperienceGain.java @@ -24,7 +24,7 @@ import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; */ public class ExperienceGain implements IVoicedCommandHandler { - private final String[] COMMANDS = new String[] + private static final String[] COMMANDS = new String[] { "expoff", "expon", diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/voicedcommandhandlers/Banking.java b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/voicedcommandhandlers/Banking.java index 9ab3d8b424..3e868e199e 100644 --- a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/voicedcommandhandlers/Banking.java +++ b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/voicedcommandhandlers/Banking.java @@ -26,7 +26,7 @@ import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; */ public class Banking implements IVoicedCommandHandler { - private static final String[] _voicedCommands = + private static final String[] VOICED_COMMANDS = { "bank", "withdraw", @@ -80,6 +80,6 @@ public class Banking implements IVoicedCommandHandler @Override public String[] getVoicedCommandList() { - return _voicedCommands; + return VOICED_COMMANDS; } } \ No newline at end of file diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/voicedcommandhandlers/ChangePassword.java b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/voicedcommandhandlers/ChangePassword.java index 9a0651fe39..2bed1de59f 100644 --- a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/voicedcommandhandlers/ChangePassword.java +++ b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/voicedcommandhandlers/ChangePassword.java @@ -33,7 +33,7 @@ public class ChangePassword implements IVoicedCommandHandler { private static final Logger LOGGER = Logger.getLogger(ChangePassword.class.getName()); - private static final String[] _voicedCommands = + private static final String[] VOICED_COMMANDS = { "changepassword" }; @@ -111,6 +111,6 @@ public class ChangePassword implements IVoicedCommandHandler @Override public String[] getVoicedCommandList() { - return _voicedCommands; + return VOICED_COMMANDS; } } diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/usercommandhandlers/ExperienceGain.java b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/usercommandhandlers/ExperienceGain.java index 4921d6326b..312d3b77f1 100644 --- a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/usercommandhandlers/ExperienceGain.java +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/usercommandhandlers/ExperienceGain.java @@ -24,7 +24,7 @@ import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; */ public class ExperienceGain implements IVoicedCommandHandler { - private final String[] COMMANDS = new String[] + private static final String[] COMMANDS = new String[] { "expoff", "expon", diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/voicedcommandhandlers/Banking.java b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/voicedcommandhandlers/Banking.java index 9ab3d8b424..3e868e199e 100644 --- a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/voicedcommandhandlers/Banking.java +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/voicedcommandhandlers/Banking.java @@ -26,7 +26,7 @@ import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; */ public class Banking implements IVoicedCommandHandler { - private static final String[] _voicedCommands = + private static final String[] VOICED_COMMANDS = { "bank", "withdraw", @@ -80,6 +80,6 @@ public class Banking implements IVoicedCommandHandler @Override public String[] getVoicedCommandList() { - return _voicedCommands; + return VOICED_COMMANDS; } } \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/voicedcommandhandlers/ChangePassword.java b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/voicedcommandhandlers/ChangePassword.java index 9a0651fe39..2bed1de59f 100644 --- a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/voicedcommandhandlers/ChangePassword.java +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/voicedcommandhandlers/ChangePassword.java @@ -33,7 +33,7 @@ public class ChangePassword implements IVoicedCommandHandler { private static final Logger LOGGER = Logger.getLogger(ChangePassword.class.getName()); - private static final String[] _voicedCommands = + private static final String[] VOICED_COMMANDS = { "changepassword" }; @@ -111,6 +111,6 @@ public class ChangePassword implements IVoicedCommandHandler @Override public String[] getVoicedCommandList() { - return _voicedCommands; + return VOICED_COMMANDS; } } diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/usercommandhandlers/ExperienceGain.java b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/usercommandhandlers/ExperienceGain.java index 4921d6326b..312d3b77f1 100644 --- a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/usercommandhandlers/ExperienceGain.java +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/usercommandhandlers/ExperienceGain.java @@ -24,7 +24,7 @@ import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; */ public class ExperienceGain implements IVoicedCommandHandler { - private final String[] COMMANDS = new String[] + private static final String[] COMMANDS = new String[] { "expoff", "expon", diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/voicedcommandhandlers/Banking.java b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/voicedcommandhandlers/Banking.java index 9ab3d8b424..3e868e199e 100644 --- a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/voicedcommandhandlers/Banking.java +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/voicedcommandhandlers/Banking.java @@ -26,7 +26,7 @@ import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; */ public class Banking implements IVoicedCommandHandler { - private static final String[] _voicedCommands = + private static final String[] VOICED_COMMANDS = { "bank", "withdraw", @@ -80,6 +80,6 @@ public class Banking implements IVoicedCommandHandler @Override public String[] getVoicedCommandList() { - return _voicedCommands; + return VOICED_COMMANDS; } } \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/voicedcommandhandlers/ChangePassword.java b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/voicedcommandhandlers/ChangePassword.java index 9a0651fe39..2bed1de59f 100644 --- a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/voicedcommandhandlers/ChangePassword.java +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/voicedcommandhandlers/ChangePassword.java @@ -33,7 +33,7 @@ public class ChangePassword implements IVoicedCommandHandler { private static final Logger LOGGER = Logger.getLogger(ChangePassword.class.getName()); - private static final String[] _voicedCommands = + private static final String[] VOICED_COMMANDS = { "changepassword" }; @@ -111,6 +111,6 @@ public class ChangePassword implements IVoicedCommandHandler @Override public String[] getVoicedCommandList() { - return _voicedCommands; + return VOICED_COMMANDS; } } diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/handlers/usercommandhandlers/ExperienceGain.java b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/handlers/usercommandhandlers/ExperienceGain.java index 4921d6326b..312d3b77f1 100644 --- a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/handlers/usercommandhandlers/ExperienceGain.java +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/handlers/usercommandhandlers/ExperienceGain.java @@ -24,7 +24,7 @@ import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; */ public class ExperienceGain implements IVoicedCommandHandler { - private final String[] COMMANDS = new String[] + private static final String[] COMMANDS = new String[] { "expoff", "expon", diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/handlers/voicedcommandhandlers/Banking.java b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/handlers/voicedcommandhandlers/Banking.java index 9ab3d8b424..3e868e199e 100644 --- a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/handlers/voicedcommandhandlers/Banking.java +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/handlers/voicedcommandhandlers/Banking.java @@ -26,7 +26,7 @@ import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; */ public class Banking implements IVoicedCommandHandler { - private static final String[] _voicedCommands = + private static final String[] VOICED_COMMANDS = { "bank", "withdraw", @@ -80,6 +80,6 @@ public class Banking implements IVoicedCommandHandler @Override public String[] getVoicedCommandList() { - return _voicedCommands; + return VOICED_COMMANDS; } } \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/handlers/voicedcommandhandlers/ChangePassword.java b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/handlers/voicedcommandhandlers/ChangePassword.java index 9a0651fe39..2bed1de59f 100644 --- a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/handlers/voicedcommandhandlers/ChangePassword.java +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/handlers/voicedcommandhandlers/ChangePassword.java @@ -33,7 +33,7 @@ public class ChangePassword implements IVoicedCommandHandler { private static final Logger LOGGER = Logger.getLogger(ChangePassword.class.getName()); - private static final String[] _voicedCommands = + private static final String[] VOICED_COMMANDS = { "changepassword" }; @@ -111,6 +111,6 @@ public class ChangePassword implements IVoicedCommandHandler @Override public String[] getVoicedCommandList() { - return _voicedCommands; + return VOICED_COMMANDS; } } diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/handlers/usercommandhandlers/ExperienceGain.java b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/handlers/usercommandhandlers/ExperienceGain.java index 4921d6326b..312d3b77f1 100644 --- a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/handlers/usercommandhandlers/ExperienceGain.java +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/handlers/usercommandhandlers/ExperienceGain.java @@ -24,7 +24,7 @@ import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; */ public class ExperienceGain implements IVoicedCommandHandler { - private final String[] COMMANDS = new String[] + private static final String[] COMMANDS = new String[] { "expoff", "expon", diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/handlers/voicedcommandhandlers/Banking.java b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/handlers/voicedcommandhandlers/Banking.java index 9ab3d8b424..3e868e199e 100644 --- a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/handlers/voicedcommandhandlers/Banking.java +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/handlers/voicedcommandhandlers/Banking.java @@ -26,7 +26,7 @@ import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; */ public class Banking implements IVoicedCommandHandler { - private static final String[] _voicedCommands = + private static final String[] VOICED_COMMANDS = { "bank", "withdraw", @@ -80,6 +80,6 @@ public class Banking implements IVoicedCommandHandler @Override public String[] getVoicedCommandList() { - return _voicedCommands; + return VOICED_COMMANDS; } } \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/handlers/voicedcommandhandlers/ChangePassword.java b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/handlers/voicedcommandhandlers/ChangePassword.java index 9a0651fe39..2bed1de59f 100644 --- a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/handlers/voicedcommandhandlers/ChangePassword.java +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/handlers/voicedcommandhandlers/ChangePassword.java @@ -33,7 +33,7 @@ public class ChangePassword implements IVoicedCommandHandler { private static final Logger LOGGER = Logger.getLogger(ChangePassword.class.getName()); - private static final String[] _voicedCommands = + private static final String[] VOICED_COMMANDS = { "changepassword" }; @@ -111,6 +111,6 @@ public class ChangePassword implements IVoicedCommandHandler @Override public String[] getVoicedCommandList() { - return _voicedCommands; + return VOICED_COMMANDS; } } diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/handlers/usercommandhandlers/ExperienceGain.java b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/handlers/usercommandhandlers/ExperienceGain.java index 4921d6326b..312d3b77f1 100644 --- a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/handlers/usercommandhandlers/ExperienceGain.java +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/handlers/usercommandhandlers/ExperienceGain.java @@ -24,7 +24,7 @@ import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; */ public class ExperienceGain implements IVoicedCommandHandler { - private final String[] COMMANDS = new String[] + private static final String[] COMMANDS = new String[] { "expoff", "expon", diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/handlers/voicedcommandhandlers/Banking.java b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/handlers/voicedcommandhandlers/Banking.java index 9ab3d8b424..3e868e199e 100644 --- a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/handlers/voicedcommandhandlers/Banking.java +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/handlers/voicedcommandhandlers/Banking.java @@ -26,7 +26,7 @@ import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; */ public class Banking implements IVoicedCommandHandler { - private static final String[] _voicedCommands = + private static final String[] VOICED_COMMANDS = { "bank", "withdraw", @@ -80,6 +80,6 @@ public class Banking implements IVoicedCommandHandler @Override public String[] getVoicedCommandList() { - return _voicedCommands; + return VOICED_COMMANDS; } } \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/handlers/voicedcommandhandlers/ChangePassword.java b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/handlers/voicedcommandhandlers/ChangePassword.java index 9a0651fe39..2bed1de59f 100644 --- a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/handlers/voicedcommandhandlers/ChangePassword.java +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/handlers/voicedcommandhandlers/ChangePassword.java @@ -33,7 +33,7 @@ public class ChangePassword implements IVoicedCommandHandler { private static final Logger LOGGER = Logger.getLogger(ChangePassword.class.getName()); - private static final String[] _voicedCommands = + private static final String[] VOICED_COMMANDS = { "changepassword" }; @@ -111,6 +111,6 @@ public class ChangePassword implements IVoicedCommandHandler @Override public String[] getVoicedCommandList() { - return _voicedCommands; + return VOICED_COMMANDS; } } diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/handlers/usercommandhandlers/ExperienceGain.java b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/handlers/usercommandhandlers/ExperienceGain.java index 4921d6326b..312d3b77f1 100644 --- a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/handlers/usercommandhandlers/ExperienceGain.java +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/handlers/usercommandhandlers/ExperienceGain.java @@ -24,7 +24,7 @@ import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; */ public class ExperienceGain implements IVoicedCommandHandler { - private final String[] COMMANDS = new String[] + private static final String[] COMMANDS = new String[] { "expoff", "expon", diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/handlers/voicedcommandhandlers/Banking.java b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/handlers/voicedcommandhandlers/Banking.java index 9ab3d8b424..3e868e199e 100644 --- a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/handlers/voicedcommandhandlers/Banking.java +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/handlers/voicedcommandhandlers/Banking.java @@ -26,7 +26,7 @@ import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; */ public class Banking implements IVoicedCommandHandler { - private static final String[] _voicedCommands = + private static final String[] VOICED_COMMANDS = { "bank", "withdraw", @@ -80,6 +80,6 @@ public class Banking implements IVoicedCommandHandler @Override public String[] getVoicedCommandList() { - return _voicedCommands; + return VOICED_COMMANDS; } } \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/handlers/voicedcommandhandlers/ChangePassword.java b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/handlers/voicedcommandhandlers/ChangePassword.java index 9a0651fe39..2bed1de59f 100644 --- a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/handlers/voicedcommandhandlers/ChangePassword.java +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/handlers/voicedcommandhandlers/ChangePassword.java @@ -33,7 +33,7 @@ public class ChangePassword implements IVoicedCommandHandler { private static final Logger LOGGER = Logger.getLogger(ChangePassword.class.getName()); - private static final String[] _voicedCommands = + private static final String[] VOICED_COMMANDS = { "changepassword" }; @@ -111,6 +111,6 @@ public class ChangePassword implements IVoicedCommandHandler @Override public String[] getVoicedCommandList() { - return _voicedCommands; + return VOICED_COMMANDS; } } diff --git a/L2J_Mobius_C1_HarbingersOfWar/java/org/l2jmobius/gameserver/handler/itemhandlers/PetSummon.java b/L2J_Mobius_C1_HarbingersOfWar/java/org/l2jmobius/gameserver/handler/itemhandlers/PetSummon.java index c91e907f42..db89ad7341 100644 --- a/L2J_Mobius_C1_HarbingersOfWar/java/org/l2jmobius/gameserver/handler/itemhandlers/PetSummon.java +++ b/L2J_Mobius_C1_HarbingersOfWar/java/org/l2jmobius/gameserver/handler/itemhandlers/PetSummon.java @@ -35,7 +35,7 @@ import org.l2jmobius.gameserver.threadpool.ThreadPool; public class PetSummon implements IItemHandler { - private static int[] _itemIds = new int[] + private static final int[] ITEM_IDS = new int[] { 2375, 3500, @@ -124,6 +124,6 @@ public class PetSummon implements IItemHandler @Override public int[] getItemIds() { - return _itemIds; + return ITEM_IDS; } } diff --git a/L2J_Mobius_C1_HarbingersOfWar/java/org/l2jmobius/gameserver/handler/itemhandlers/Potions.java b/L2J_Mobius_C1_HarbingersOfWar/java/org/l2jmobius/gameserver/handler/itemhandlers/Potions.java index e71a343893..fcfc00fdf2 100644 --- a/L2J_Mobius_C1_HarbingersOfWar/java/org/l2jmobius/gameserver/handler/itemhandlers/Potions.java +++ b/L2J_Mobius_C1_HarbingersOfWar/java/org/l2jmobius/gameserver/handler/itemhandlers/Potions.java @@ -26,7 +26,7 @@ import org.l2jmobius.gameserver.network.serverpackets.MagicSkillUser; public class Potions implements IItemHandler { - private static int[] _itemIds = new int[] + private static final int[] ITEM_IDS = new int[] { 65, 725, @@ -71,6 +71,6 @@ public class Potions implements IItemHandler @Override public int[] getItemIds() { - return _itemIds; + return ITEM_IDS; } } diff --git a/L2J_Mobius_C1_HarbingersOfWar/java/org/l2jmobius/gameserver/handler/itemhandlers/ScrollOfEscape.java b/L2J_Mobius_C1_HarbingersOfWar/java/org/l2jmobius/gameserver/handler/itemhandlers/ScrollOfEscape.java index 11926098d5..e6047bb752 100644 --- a/L2J_Mobius_C1_HarbingersOfWar/java/org/l2jmobius/gameserver/handler/itemhandlers/ScrollOfEscape.java +++ b/L2J_Mobius_C1_HarbingersOfWar/java/org/l2jmobius/gameserver/handler/itemhandlers/ScrollOfEscape.java @@ -29,7 +29,7 @@ import org.l2jmobius.gameserver.threadpool.ThreadPool; public class ScrollOfEscape implements IItemHandler { - private static int[] _itemIds = new int[] + private static final int[] ITEM_IDS = new int[] { 736 }; @@ -66,6 +66,6 @@ public class ScrollOfEscape implements IItemHandler @Override public int[] getItemIds() { - return _itemIds; + return ITEM_IDS; } } diff --git a/L2J_Mobius_C1_HarbingersOfWar/java/org/l2jmobius/gameserver/handler/itemhandlers/SoulShots.java b/L2J_Mobius_C1_HarbingersOfWar/java/org/l2jmobius/gameserver/handler/itemhandlers/SoulShots.java index 45783db83f..9f80fe1cff 100644 --- a/L2J_Mobius_C1_HarbingersOfWar/java/org/l2jmobius/gameserver/handler/itemhandlers/SoulShots.java +++ b/L2J_Mobius_C1_HarbingersOfWar/java/org/l2jmobius/gameserver/handler/itemhandlers/SoulShots.java @@ -28,7 +28,7 @@ import org.l2jmobius.gameserver.templates.Weapon; public class SoulShots implements IItemHandler { - private static int[] _itemIds = new int[] + private static final int[] ITEM_IDS = new int[] { 1835, 1463, @@ -84,6 +84,6 @@ public class SoulShots implements IItemHandler @Override public int[] getItemIds() { - return _itemIds; + return ITEM_IDS; } } diff --git a/L2J_Mobius_C1_HarbingersOfWar/java/org/l2jmobius/gameserver/handler/itemhandlers/WorldMap.java b/L2J_Mobius_C1_HarbingersOfWar/java/org/l2jmobius/gameserver/handler/itemhandlers/WorldMap.java index 6dd78eccb2..63c8583cd6 100644 --- a/L2J_Mobius_C1_HarbingersOfWar/java/org/l2jmobius/gameserver/handler/itemhandlers/WorldMap.java +++ b/L2J_Mobius_C1_HarbingersOfWar/java/org/l2jmobius/gameserver/handler/itemhandlers/WorldMap.java @@ -24,7 +24,7 @@ import org.l2jmobius.gameserver.network.serverpackets.ShowMiniMap; public class WorldMap implements IItemHandler { - private static int[] _itemIds = new int[] + private static final int[] ITEM_IDS = new int[] { 1665, 1863 @@ -40,6 +40,6 @@ public class WorldMap implements IItemHandler @Override public int[] getItemIds() { - return _itemIds; + return ITEM_IDS; } } diff --git a/L2J_Mobius_C1_HarbingersOfWar/java/org/l2jmobius/gameserver/handler/skillhandlers/DamageSkill.java b/L2J_Mobius_C1_HarbingersOfWar/java/org/l2jmobius/gameserver/handler/skillhandlers/DamageSkill.java index 50bebfe99e..fd467ca0fd 100644 --- a/L2J_Mobius_C1_HarbingersOfWar/java/org/l2jmobius/gameserver/handler/skillhandlers/DamageSkill.java +++ b/L2J_Mobius_C1_HarbingersOfWar/java/org/l2jmobius/gameserver/handler/skillhandlers/DamageSkill.java @@ -26,7 +26,7 @@ import org.l2jmobius.gameserver.network.serverpackets.SystemMessage; public class DamageSkill implements ISkillHandler { - private static int[] _skillIds = new int[] + private static final int[] SKILL_IDS = new int[] { 3, // Power Strike 16, // Mortal Blow @@ -76,6 +76,6 @@ public class DamageSkill implements ISkillHandler @Override public int[] getSkillIds() { - return _skillIds; + return SKILL_IDS; } } diff --git a/L2J_Mobius_C1_HarbingersOfWar/java/org/l2jmobius/gameserver/handler/skillhandlers/HealSkill.java b/L2J_Mobius_C1_HarbingersOfWar/java/org/l2jmobius/gameserver/handler/skillhandlers/HealSkill.java index 19ffd20fb4..628eab56c7 100644 --- a/L2J_Mobius_C1_HarbingersOfWar/java/org/l2jmobius/gameserver/handler/skillhandlers/HealSkill.java +++ b/L2J_Mobius_C1_HarbingersOfWar/java/org/l2jmobius/gameserver/handler/skillhandlers/HealSkill.java @@ -28,7 +28,7 @@ import org.l2jmobius.gameserver.network.serverpackets.SystemMessage; public class HealSkill implements ISkillHandler { - private static int[] _skillIds = new int[] + private static final int[] SKILL_IDS = new int[] { 45, // Divine Heal 58, // Elemental Heal @@ -86,6 +86,6 @@ public class HealSkill implements ISkillHandler @Override public int[] getSkillIds() { - return _skillIds; + return SKILL_IDS; } } diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/admincommandhandlers/AdminAio.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/admincommandhandlers/AdminAio.java index b94e40ae97..8f67226206 100644 --- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/admincommandhandlers/AdminAio.java +++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/admincommandhandlers/AdminAio.java @@ -38,7 +38,7 @@ public class AdminAio implements IAdminCommandHandler { private static final Logger LOGGER = Logger.getLogger(AdminAio.class.getName()); - private static String[] _adminCommands = + private static final String[] ADMIN_COMMANDS = { "admin_setaio", "admin_removeaio" @@ -232,6 +232,6 @@ public class AdminAio implements IAdminCommandHandler @Override public String[] getAdminCommandList() { - return _adminCommands; + return ADMIN_COMMANDS; } } \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/admincommandhandlers/AdminDonator.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/admincommandhandlers/AdminDonator.java index cb265235e1..cc784caae3 100644 --- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/admincommandhandlers/AdminDonator.java +++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/admincommandhandlers/AdminDonator.java @@ -31,7 +31,7 @@ import org.l2jmobius.gameserver.util.BuilderUtil; public class AdminDonator implements IAdminCommandHandler { - private static String[] ADMIN_COMMANDS = + private static final String[] ADMIN_COMMANDS = { "admin_setdonator" }; diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/admincommandhandlers/AdminEditChar.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/admincommandhandlers/AdminEditChar.java index 08da9d401b..696a305928 100644 --- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/admincommandhandlers/AdminEditChar.java +++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/admincommandhandlers/AdminEditChar.java @@ -57,7 +57,7 @@ public class AdminEditChar implements IAdminCommandHandler { protected static final Logger LOGGER = Logger.getLogger(AdminEditChar.class.getName()); - private static String[] ADMIN_COMMANDS = + private static final String[] ADMIN_COMMANDS = { "admin_changename", // changes char name "admin_setname", // changes char name diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/admincommandhandlers/AdminGeodata.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/admincommandhandlers/AdminGeodata.java index 81b9767a9a..b2121fa6a9 100644 --- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/admincommandhandlers/AdminGeodata.java +++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/admincommandhandlers/AdminGeodata.java @@ -29,7 +29,7 @@ import org.l2jmobius.gameserver.util.GeoUtils; */ public class AdminGeodata implements IAdminCommandHandler { - private static String[] _adminCommands = + private static final String[] ADMIN_COMMANDS = { "admin_geo_pos", "admin_geo_spawn_pos", @@ -132,6 +132,6 @@ public class AdminGeodata implements IAdminCommandHandler @Override public String[] getAdminCommandList() { - return _adminCommands; + return ADMIN_COMMANDS; } } \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/admincommandhandlers/AdminManor.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/admincommandhandlers/AdminManor.java index b891f77244..5caaa1b833 100644 --- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/admincommandhandlers/AdminManor.java +++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/admincommandhandlers/AdminManor.java @@ -37,7 +37,7 @@ import org.l2jmobius.gameserver.util.BuilderUtil; */ public class AdminManor implements IAdminCommandHandler { - private static final String[] _adminCommands = + private static final String[] ADMIN_COMMANDS = { "admin_manor", "admin_manor_reset", @@ -131,7 +131,7 @@ public class AdminManor implements IAdminCommandHandler @Override public String[] getAdminCommandList() { - return _adminCommands; + return ADMIN_COMMANDS; } private void showMainPage(PlayerInstance activeChar) diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/admincommandhandlers/AdminMassControl.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/admincommandhandlers/AdminMassControl.java index 2e1f4220a2..0ffb3fe123 100644 --- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/admincommandhandlers/AdminMassControl.java +++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/admincommandhandlers/AdminMassControl.java @@ -30,7 +30,7 @@ import org.l2jmobius.gameserver.util.BuilderUtil; */ public class AdminMassControl implements IAdminCommandHandler { - private static String[] ADMIN_COMMANDS = + private static final String[] ADMIN_COMMANDS = { "admin_masskill", "admin_massress" diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/admincommandhandlers/AdminMassRecall.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/admincommandhandlers/AdminMassRecall.java index c2bd05e547..6ad78a7c46 100644 --- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/admincommandhandlers/AdminMassRecall.java +++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/admincommandhandlers/AdminMassRecall.java @@ -31,7 +31,7 @@ import org.l2jmobius.gameserver.util.BuilderUtil; */ public class AdminMassRecall implements IAdminCommandHandler { - private static String[] _adminCommands = + private static final String[] ADMIN_COMMANDS = { "admin_recallclan", "admin_recallparty", @@ -147,6 +147,6 @@ public class AdminMassRecall implements IAdminCommandHandler @Override public String[] getAdminCommandList() { - return _adminCommands; + return ADMIN_COMMANDS; } } diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/admincommandhandlers/AdminNoble.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/admincommandhandlers/AdminNoble.java index b73d9352aa..7afe33d208 100644 --- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/admincommandhandlers/AdminNoble.java +++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/admincommandhandlers/AdminNoble.java @@ -30,7 +30,7 @@ import org.l2jmobius.gameserver.util.BuilderUtil; public class AdminNoble implements IAdminCommandHandler { - private static String[] ADMIN_COMMANDS = + private static final String[] ADMIN_COMMANDS = { "admin_setnoble" }; diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/admincommandhandlers/AdminVIPEngine.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/admincommandhandlers/AdminVIPEngine.java index 26011c9cd2..6ea93fb457 100644 --- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/admincommandhandlers/AdminVIPEngine.java +++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/admincommandhandlers/AdminVIPEngine.java @@ -24,7 +24,7 @@ import org.l2jmobius.gameserver.util.BuilderUtil; public class AdminVIPEngine implements IAdminCommandHandler { - private static String[] _adminCommands = + private static String[] ADMIN_COMMANDS = { "admin_vip", "admin_vip_setteam", @@ -338,7 +338,7 @@ public class AdminVIPEngine implements IAdminCommandHandler @Override public String[] getAdminCommandList() { - return _adminCommands; + return ADMIN_COMMANDS; } public void showMainPage(PlayerInstance activeChar) diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/itemhandlers/HeroCustomItem.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/itemhandlers/HeroCustomItem.java index 8873c7e0ed..6840632771 100644 --- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/itemhandlers/HeroCustomItem.java +++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/itemhandlers/HeroCustomItem.java @@ -32,7 +32,7 @@ public class HeroCustomItem implements IItemHandler { protected static final Logger LOGGER = Logger.getLogger(HeroCustomItem.class.getName()); - String INSERT_DATA = "REPLACE INTO characters_custom_data (obj_Id, char_name, hero, noble, donator, hero_end_date) VALUES (?,?,?,?,?,?)"; + private static final String INSERT_DATA = "REPLACE INTO characters_custom_data (obj_Id, char_name, hero, noble, donator, hero_end_date) VALUES (?,?,?,?,?,?)"; @Override public void useItem(Playable playable, ItemInstance item) diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/itemhandlers/Potions.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/itemhandlers/Potions.java index 7699b75ac5..b5376a3f94 100644 --- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/itemhandlers/Potions.java +++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/itemhandlers/Potions.java @@ -49,34 +49,34 @@ public class Potions implements IItemHandler protected static final Logger LOGGER = Logger.getLogger(Potions.class.getName()); private int _herbstask = 0; - private static Map potions = new HashMap<>(); + private static final Map POTIONS = new HashMap<>(); private static void loadPotions() { for (PotionsSkills potionSkill : PotionsSkills.values()) { - potions.put(potionSkill.potionId, potionSkill); + POTIONS.put(potionSkill.potionId, potionSkill); } } public static PotionsSkills getSkillsForPotion(Integer potionId) { - if (potions.isEmpty()) + if (POTIONS.isEmpty()) { loadPotions(); } - return potions.get(potionId); + return POTIONS.get(potionId); } public static List getPotionsForSkill(Integer skillId, Integer skillLevel) { - if (potions.isEmpty()) + if (POTIONS.isEmpty()) { loadPotions(); } final List outputPotions = new ArrayList<>(); - for (Entry entry : potions.entrySet()) + for (Entry entry : POTIONS.entrySet()) { Map itemSkills = null; if (entry.getValue() != null) diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/itemhandlers/Remedy.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/itemhandlers/Remedy.java index 7b93eca67b..da7c67c385 100644 --- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/itemhandlers/Remedy.java +++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/itemhandlers/Remedy.java @@ -28,7 +28,7 @@ import org.l2jmobius.gameserver.network.serverpackets.MagicSkillUse; public class Remedy implements IItemHandler { - private static int[] ITEM_IDS = + private static final int[] ITEM_IDS = { 1831, 1832, diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/itemhandlers/Seed.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/itemhandlers/Seed.java index 973a07c8ea..9dc8cbceb6 100644 --- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/itemhandlers/Seed.java +++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/itemhandlers/Seed.java @@ -39,7 +39,7 @@ import org.l2jmobius.gameserver.network.serverpackets.ActionFailed; */ public class Seed implements IItemHandler { - private static int[] _itemIds = + private static final int[] ITEM_IDS = { 5016, 5017, @@ -366,6 +366,6 @@ public class Seed implements IItemHandler @Override public int[] getItemIds() { - return _itemIds; + return ITEM_IDS; } } diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/itemhandlers/SpecialXMas.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/itemhandlers/SpecialXMas.java index e13dbefa35..3ee7d51d2c 100644 --- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/itemhandlers/SpecialXMas.java +++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/itemhandlers/SpecialXMas.java @@ -28,7 +28,7 @@ import org.l2jmobius.gameserver.network.serverpackets.ShowXMasSeal; */ public class SpecialXMas implements IItemHandler { - private static int[] _itemIds = + private static final int[] ITEM_IDS = { 5555 }; @@ -59,6 +59,6 @@ public class SpecialXMas implements IItemHandler @Override public int[] getItemIds() { - return _itemIds; + return ITEM_IDS; } } diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/voicedcommandhandlers/BankingCmd.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/voicedcommandhandlers/BankingCmd.java index a1405e4ee5..cfba90499f 100644 --- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/voicedcommandhandlers/BankingCmd.java +++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/voicedcommandhandlers/BankingCmd.java @@ -27,7 +27,7 @@ import org.l2jmobius.gameserver.network.serverpackets.ItemList; */ public class BankingCmd implements IVoicedCommandHandler { - private static String[] _voicedCommands = + private static final String[] VOICED_COMMANDS = { "bank", "withdraw", @@ -92,6 +92,6 @@ public class BankingCmd implements IVoicedCommandHandler @Override public String[] getVoicedCommandList() { - return _voicedCommands; + return VOICED_COMMANDS; } } \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/voicedcommandhandlers/ExperienceGain.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/voicedcommandhandlers/ExperienceGain.java index 7bd037cc16..387fe28dff 100644 --- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/voicedcommandhandlers/ExperienceGain.java +++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/voicedcommandhandlers/ExperienceGain.java @@ -25,7 +25,7 @@ import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; */ public class ExperienceGain implements IVoicedCommandHandler { - private static final String[] _voicedCommands = + private static final String[] VOICED_COMMANDS = { "xpoff", "xpon" @@ -50,6 +50,6 @@ public class ExperienceGain implements IVoicedCommandHandler @Override public String[] getVoicedCommandList() { - return _voicedCommands; + return VOICED_COMMANDS; } } \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/voicedcommandhandlers/OfflineShop.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/voicedcommandhandlers/OfflineShop.java index 85a6f8b60e..4e87362eee 100644 --- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/voicedcommandhandlers/OfflineShop.java +++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/voicedcommandhandlers/OfflineShop.java @@ -36,7 +36,7 @@ import org.l2jmobius.gameserver.taskmanager.AttackStanceTaskManager; */ public class OfflineShop implements IVoicedCommandHandler { - private static String[] _voicedCommands = + private static final String[] VOICED_COMMANDS = { "offline_shop" }; @@ -159,6 +159,6 @@ public class OfflineShop implements IVoicedCommandHandler @Override public String[] getVoicedCommandList() { - return _voicedCommands; + return VOICED_COMMANDS; } } \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/voicedcommandhandlers/Online.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/voicedcommandhandlers/Online.java index a8e5d3b5df..0803b4ee3c 100644 --- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/voicedcommandhandlers/Online.java +++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/voicedcommandhandlers/Online.java @@ -22,7 +22,7 @@ import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; public class Online implements IVoicedCommandHandler { - private static String[] _voicedCommands = + private static final String[] VOICED_COMMANDS = { "online" }; @@ -42,6 +42,6 @@ public class Online implements IVoicedCommandHandler @Override public String[] getVoicedCommandList() { - return _voicedCommands; + return VOICED_COMMANDS; } } diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/voicedcommandhandlers/Repair.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/voicedcommandhandlers/Repair.java index cbde933927..1c429e8bdf 100644 --- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/voicedcommandhandlers/Repair.java +++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/voicedcommandhandlers/Repair.java @@ -41,9 +41,9 @@ import org.l2jmobius.gameserver.network.serverpackets.NpcHtmlMessage; */ public class Repair implements IVoicedCommandHandler, ICustomByPassHandler { - static final Logger LOGGER = Logger.getLogger(Repair.class.getName()); + private static final Logger LOGGER = Logger.getLogger(Repair.class.getName()); - private static final String[] _voicedCommands = + private static final String[] VOICED_COMMANDS = { "repair", }; @@ -232,7 +232,7 @@ public class Repair implements IVoicedCommandHandler, ICustomByPassHandler @Override public String[] getVoicedCommandList() { - return _voicedCommands; + return VOICED_COMMANDS; } private static final String[] _BYPASSCMD = diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/voicedcommandhandlers/Wedding.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/voicedcommandhandlers/Wedding.java index 8bf7e00182..e31dc369d5 100644 --- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/voicedcommandhandlers/Wedding.java +++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/voicedcommandhandlers/Wedding.java @@ -46,7 +46,7 @@ public class Wedding implements IVoicedCommandHandler { protected static final Logger LOGGER = Logger.getLogger(Wedding.class.getName()); - private static String[] _voicedCommands = + private static final String[] VOICED_COMMANDS = { "divorce", "engage", @@ -434,6 +434,6 @@ public class Wedding implements IVoicedCommandHandler @Override public String[] getVoicedCommandList() { - return _voicedCommands; + return VOICED_COMMANDS; } } diff --git a/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/handlers/usercommandhandlers/ExperienceGain.java b/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/handlers/usercommandhandlers/ExperienceGain.java index 4921d6326b..312d3b77f1 100644 --- a/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/handlers/usercommandhandlers/ExperienceGain.java +++ b/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/handlers/usercommandhandlers/ExperienceGain.java @@ -24,7 +24,7 @@ import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; */ public class ExperienceGain implements IVoicedCommandHandler { - private final String[] COMMANDS = new String[] + private static final String[] COMMANDS = new String[] { "expoff", "expon", diff --git a/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/handlers/voicedcommandhandlers/Banking.java b/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/handlers/voicedcommandhandlers/Banking.java index 9ab3d8b424..3e868e199e 100644 --- a/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/handlers/voicedcommandhandlers/Banking.java +++ b/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/handlers/voicedcommandhandlers/Banking.java @@ -26,7 +26,7 @@ import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; */ public class Banking implements IVoicedCommandHandler { - private static final String[] _voicedCommands = + private static final String[] VOICED_COMMANDS = { "bank", "withdraw", @@ -80,6 +80,6 @@ public class Banking implements IVoicedCommandHandler @Override public String[] getVoicedCommandList() { - return _voicedCommands; + return VOICED_COMMANDS; } } \ No newline at end of file diff --git a/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/handlers/voicedcommandhandlers/ChangePassword.java b/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/handlers/voicedcommandhandlers/ChangePassword.java index f6705611b4..77f147117b 100644 --- a/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/handlers/voicedcommandhandlers/ChangePassword.java +++ b/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/handlers/voicedcommandhandlers/ChangePassword.java @@ -30,7 +30,7 @@ import org.l2jmobius.gameserver.network.serverpackets.NpcHtmlMessage; */ public class ChangePassword implements IVoicedCommandHandler { - private static final String[] _voicedCommands = + private static final String[] VOICED_COMMANDS = { "changepassword" }; @@ -108,6 +108,6 @@ public class ChangePassword implements IVoicedCommandHandler @Override public String[] getVoicedCommandList() { - return _voicedCommands; + return VOICED_COMMANDS; } } diff --git a/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/handlers/usercommandhandlers/ExperienceGain.java b/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/handlers/usercommandhandlers/ExperienceGain.java index 4921d6326b..312d3b77f1 100644 --- a/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/handlers/usercommandhandlers/ExperienceGain.java +++ b/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/handlers/usercommandhandlers/ExperienceGain.java @@ -24,7 +24,7 @@ import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; */ public class ExperienceGain implements IVoicedCommandHandler { - private final String[] COMMANDS = new String[] + private static final String[] COMMANDS = new String[] { "expoff", "expon", diff --git a/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/handlers/voicedcommandhandlers/Banking.java b/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/handlers/voicedcommandhandlers/Banking.java index 9ab3d8b424..3e868e199e 100644 --- a/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/handlers/voicedcommandhandlers/Banking.java +++ b/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/handlers/voicedcommandhandlers/Banking.java @@ -26,7 +26,7 @@ import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; */ public class Banking implements IVoicedCommandHandler { - private static final String[] _voicedCommands = + private static final String[] VOICED_COMMANDS = { "bank", "withdraw", @@ -80,6 +80,6 @@ public class Banking implements IVoicedCommandHandler @Override public String[] getVoicedCommandList() { - return _voicedCommands; + return VOICED_COMMANDS; } } \ No newline at end of file diff --git a/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/handlers/voicedcommandhandlers/ChangePassword.java b/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/handlers/voicedcommandhandlers/ChangePassword.java index f6705611b4..77f147117b 100644 --- a/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/handlers/voicedcommandhandlers/ChangePassword.java +++ b/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/handlers/voicedcommandhandlers/ChangePassword.java @@ -30,7 +30,7 @@ import org.l2jmobius.gameserver.network.serverpackets.NpcHtmlMessage; */ public class ChangePassword implements IVoicedCommandHandler { - private static final String[] _voicedCommands = + private static final String[] VOICED_COMMANDS = { "changepassword" }; @@ -108,6 +108,6 @@ public class ChangePassword implements IVoicedCommandHandler @Override public String[] getVoicedCommandList() { - return _voicedCommands; + return VOICED_COMMANDS; } } diff --git a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/usercommandhandlers/ExperienceGain.java b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/usercommandhandlers/ExperienceGain.java index 4921d6326b..312d3b77f1 100644 --- a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/usercommandhandlers/ExperienceGain.java +++ b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/usercommandhandlers/ExperienceGain.java @@ -24,7 +24,7 @@ import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; */ public class ExperienceGain implements IVoicedCommandHandler { - private final String[] COMMANDS = new String[] + private static final String[] COMMANDS = new String[] { "expoff", "expon", diff --git a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/voicedcommandhandlers/Banking.java b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/voicedcommandhandlers/Banking.java index 9ab3d8b424..3e868e199e 100644 --- a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/voicedcommandhandlers/Banking.java +++ b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/voicedcommandhandlers/Banking.java @@ -26,7 +26,7 @@ import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; */ public class Banking implements IVoicedCommandHandler { - private static final String[] _voicedCommands = + private static final String[] VOICED_COMMANDS = { "bank", "withdraw", @@ -80,6 +80,6 @@ public class Banking implements IVoicedCommandHandler @Override public String[] getVoicedCommandList() { - return _voicedCommands; + return VOICED_COMMANDS; } } \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/voicedcommandhandlers/ChangePassword.java b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/voicedcommandhandlers/ChangePassword.java index 9a0651fe39..2bed1de59f 100644 --- a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/voicedcommandhandlers/ChangePassword.java +++ b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/voicedcommandhandlers/ChangePassword.java @@ -33,7 +33,7 @@ public class ChangePassword implements IVoicedCommandHandler { private static final Logger LOGGER = Logger.getLogger(ChangePassword.class.getName()); - private static final String[] _voicedCommands = + private static final String[] VOICED_COMMANDS = { "changepassword" }; @@ -111,6 +111,6 @@ public class ChangePassword implements IVoicedCommandHandler @Override public String[] getVoicedCommandList() { - return _voicedCommands; + return VOICED_COMMANDS; } } diff --git a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/handlers/usercommandhandlers/ExperienceGain.java b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/handlers/usercommandhandlers/ExperienceGain.java index 4921d6326b..312d3b77f1 100644 --- a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/handlers/usercommandhandlers/ExperienceGain.java +++ b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/handlers/usercommandhandlers/ExperienceGain.java @@ -24,7 +24,7 @@ import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; */ public class ExperienceGain implements IVoicedCommandHandler { - private final String[] COMMANDS = new String[] + private static final String[] COMMANDS = new String[] { "expoff", "expon", diff --git a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/handlers/voicedcommandhandlers/Banking.java b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/handlers/voicedcommandhandlers/Banking.java index 9ab3d8b424..3e868e199e 100644 --- a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/handlers/voicedcommandhandlers/Banking.java +++ b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/handlers/voicedcommandhandlers/Banking.java @@ -26,7 +26,7 @@ import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; */ public class Banking implements IVoicedCommandHandler { - private static final String[] _voicedCommands = + private static final String[] VOICED_COMMANDS = { "bank", "withdraw", @@ -80,6 +80,6 @@ public class Banking implements IVoicedCommandHandler @Override public String[] getVoicedCommandList() { - return _voicedCommands; + return VOICED_COMMANDS; } } \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/handlers/voicedcommandhandlers/ChangePassword.java b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/handlers/voicedcommandhandlers/ChangePassword.java index 9a0651fe39..2bed1de59f 100644 --- a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/handlers/voicedcommandhandlers/ChangePassword.java +++ b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/handlers/voicedcommandhandlers/ChangePassword.java @@ -33,7 +33,7 @@ public class ChangePassword implements IVoicedCommandHandler { private static final Logger LOGGER = Logger.getLogger(ChangePassword.class.getName()); - private static final String[] _voicedCommands = + private static final String[] VOICED_COMMANDS = { "changepassword" }; @@ -111,6 +111,6 @@ public class ChangePassword implements IVoicedCommandHandler @Override public String[] getVoicedCommandList() { - return _voicedCommands; + return VOICED_COMMANDS; } } diff --git a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/handlers/usercommandhandlers/ExperienceGain.java b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/handlers/usercommandhandlers/ExperienceGain.java index 4921d6326b..312d3b77f1 100644 --- a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/handlers/usercommandhandlers/ExperienceGain.java +++ b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/handlers/usercommandhandlers/ExperienceGain.java @@ -24,7 +24,7 @@ import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; */ public class ExperienceGain implements IVoicedCommandHandler { - private final String[] COMMANDS = new String[] + private static final String[] COMMANDS = new String[] { "expoff", "expon", diff --git a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/handlers/voicedcommandhandlers/Banking.java b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/handlers/voicedcommandhandlers/Banking.java index 9ab3d8b424..3e868e199e 100644 --- a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/handlers/voicedcommandhandlers/Banking.java +++ b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/handlers/voicedcommandhandlers/Banking.java @@ -26,7 +26,7 @@ import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; */ public class Banking implements IVoicedCommandHandler { - private static final String[] _voicedCommands = + private static final String[] VOICED_COMMANDS = { "bank", "withdraw", @@ -80,6 +80,6 @@ public class Banking implements IVoicedCommandHandler @Override public String[] getVoicedCommandList() { - return _voicedCommands; + return VOICED_COMMANDS; } } \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/handlers/voicedcommandhandlers/ChangePassword.java b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/handlers/voicedcommandhandlers/ChangePassword.java index 9a0651fe39..2bed1de59f 100644 --- a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/handlers/voicedcommandhandlers/ChangePassword.java +++ b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/handlers/voicedcommandhandlers/ChangePassword.java @@ -33,7 +33,7 @@ public class ChangePassword implements IVoicedCommandHandler { private static final Logger LOGGER = Logger.getLogger(ChangePassword.class.getName()); - private static final String[] _voicedCommands = + private static final String[] VOICED_COMMANDS = { "changepassword" }; @@ -111,6 +111,6 @@ public class ChangePassword implements IVoicedCommandHandler @Override public String[] getVoicedCommandList() { - return _voicedCommands; + return VOICED_COMMANDS; } } diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/handlers/usercommandhandlers/ExperienceGain.java b/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/handlers/usercommandhandlers/ExperienceGain.java index 4921d6326b..312d3b77f1 100644 --- a/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/handlers/usercommandhandlers/ExperienceGain.java +++ b/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/handlers/usercommandhandlers/ExperienceGain.java @@ -24,7 +24,7 @@ import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; */ public class ExperienceGain implements IVoicedCommandHandler { - private final String[] COMMANDS = new String[] + private static final String[] COMMANDS = new String[] { "expoff", "expon", diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/handlers/voicedcommandhandlers/Banking.java b/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/handlers/voicedcommandhandlers/Banking.java index 9ab3d8b424..3e868e199e 100644 --- a/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/handlers/voicedcommandhandlers/Banking.java +++ b/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/handlers/voicedcommandhandlers/Banking.java @@ -26,7 +26,7 @@ import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; */ public class Banking implements IVoicedCommandHandler { - private static final String[] _voicedCommands = + private static final String[] VOICED_COMMANDS = { "bank", "withdraw", @@ -80,6 +80,6 @@ public class Banking implements IVoicedCommandHandler @Override public String[] getVoicedCommandList() { - return _voicedCommands; + return VOICED_COMMANDS; } } \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/handlers/voicedcommandhandlers/ChangePassword.java b/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/handlers/voicedcommandhandlers/ChangePassword.java index 9a0651fe39..2bed1de59f 100644 --- a/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/handlers/voicedcommandhandlers/ChangePassword.java +++ b/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/handlers/voicedcommandhandlers/ChangePassword.java @@ -33,7 +33,7 @@ public class ChangePassword implements IVoicedCommandHandler { private static final Logger LOGGER = Logger.getLogger(ChangePassword.class.getName()); - private static final String[] _voicedCommands = + private static final String[] VOICED_COMMANDS = { "changepassword" }; @@ -111,6 +111,6 @@ public class ChangePassword implements IVoicedCommandHandler @Override public String[] getVoicedCommandList() { - return _voicedCommands; + return VOICED_COMMANDS; } } diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/handlers/usercommandhandlers/ExperienceGain.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/handlers/usercommandhandlers/ExperienceGain.java index 4921d6326b..312d3b77f1 100644 --- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/handlers/usercommandhandlers/ExperienceGain.java +++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/handlers/usercommandhandlers/ExperienceGain.java @@ -24,7 +24,7 @@ import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; */ public class ExperienceGain implements IVoicedCommandHandler { - private final String[] COMMANDS = new String[] + private static final String[] COMMANDS = new String[] { "expoff", "expon", diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/handlers/voicedcommandhandlers/Banking.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/handlers/voicedcommandhandlers/Banking.java index 9ab3d8b424..3e868e199e 100644 --- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/handlers/voicedcommandhandlers/Banking.java +++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/handlers/voicedcommandhandlers/Banking.java @@ -26,7 +26,7 @@ import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; */ public class Banking implements IVoicedCommandHandler { - private static final String[] _voicedCommands = + private static final String[] VOICED_COMMANDS = { "bank", "withdraw", @@ -80,6 +80,6 @@ public class Banking implements IVoicedCommandHandler @Override public String[] getVoicedCommandList() { - return _voicedCommands; + return VOICED_COMMANDS; } } \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/handlers/voicedcommandhandlers/ChangePassword.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/handlers/voicedcommandhandlers/ChangePassword.java index 9a0651fe39..2bed1de59f 100644 --- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/handlers/voicedcommandhandlers/ChangePassword.java +++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/handlers/voicedcommandhandlers/ChangePassword.java @@ -33,7 +33,7 @@ public class ChangePassword implements IVoicedCommandHandler { private static final Logger LOGGER = Logger.getLogger(ChangePassword.class.getName()); - private static final String[] _voicedCommands = + private static final String[] VOICED_COMMANDS = { "changepassword" }; @@ -111,6 +111,6 @@ public class ChangePassword implements IVoicedCommandHandler @Override public String[] getVoicedCommandList() { - return _voicedCommands; + return VOICED_COMMANDS; } } diff --git a/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/usercommandhandlers/ExperienceGain.java b/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/usercommandhandlers/ExperienceGain.java index 4921d6326b..312d3b77f1 100644 --- a/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/usercommandhandlers/ExperienceGain.java +++ b/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/usercommandhandlers/ExperienceGain.java @@ -24,7 +24,7 @@ import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; */ public class ExperienceGain implements IVoicedCommandHandler { - private final String[] COMMANDS = new String[] + private static final String[] COMMANDS = new String[] { "expoff", "expon", diff --git a/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/voicedcommandhandlers/Banking.java b/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/voicedcommandhandlers/Banking.java index 9ab3d8b424..3e868e199e 100644 --- a/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/voicedcommandhandlers/Banking.java +++ b/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/voicedcommandhandlers/Banking.java @@ -26,7 +26,7 @@ import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; */ public class Banking implements IVoicedCommandHandler { - private static final String[] _voicedCommands = + private static final String[] VOICED_COMMANDS = { "bank", "withdraw", @@ -80,6 +80,6 @@ public class Banking implements IVoicedCommandHandler @Override public String[] getVoicedCommandList() { - return _voicedCommands; + return VOICED_COMMANDS; } } \ No newline at end of file diff --git a/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/voicedcommandhandlers/ChangePassword.java b/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/voicedcommandhandlers/ChangePassword.java index 9a0651fe39..2bed1de59f 100644 --- a/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/voicedcommandhandlers/ChangePassword.java +++ b/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/voicedcommandhandlers/ChangePassword.java @@ -33,7 +33,7 @@ public class ChangePassword implements IVoicedCommandHandler { private static final Logger LOGGER = Logger.getLogger(ChangePassword.class.getName()); - private static final String[] _voicedCommands = + private static final String[] VOICED_COMMANDS = { "changepassword" }; @@ -111,6 +111,6 @@ public class ChangePassword implements IVoicedCommandHandler @Override public String[] getVoicedCommandList() { - return _voicedCommands; + return VOICED_COMMANDS; } } diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/usercommandhandlers/ExperienceGain.java b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/usercommandhandlers/ExperienceGain.java index 4921d6326b..312d3b77f1 100644 --- a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/usercommandhandlers/ExperienceGain.java +++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/usercommandhandlers/ExperienceGain.java @@ -24,7 +24,7 @@ import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; */ public class ExperienceGain implements IVoicedCommandHandler { - private final String[] COMMANDS = new String[] + private static final String[] COMMANDS = new String[] { "expoff", "expon", diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/voicedcommandhandlers/Banking.java b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/voicedcommandhandlers/Banking.java index 9ab3d8b424..3e868e199e 100644 --- a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/voicedcommandhandlers/Banking.java +++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/voicedcommandhandlers/Banking.java @@ -26,7 +26,7 @@ import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; */ public class Banking implements IVoicedCommandHandler { - private static final String[] _voicedCommands = + private static final String[] VOICED_COMMANDS = { "bank", "withdraw", @@ -80,6 +80,6 @@ public class Banking implements IVoicedCommandHandler @Override public String[] getVoicedCommandList() { - return _voicedCommands; + return VOICED_COMMANDS; } } \ No newline at end of file diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/voicedcommandhandlers/ChangePassword.java b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/voicedcommandhandlers/ChangePassword.java index 9a0651fe39..2bed1de59f 100644 --- a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/voicedcommandhandlers/ChangePassword.java +++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/voicedcommandhandlers/ChangePassword.java @@ -33,7 +33,7 @@ public class ChangePassword implements IVoicedCommandHandler { private static final Logger LOGGER = Logger.getLogger(ChangePassword.class.getName()); - private static final String[] _voicedCommands = + private static final String[] VOICED_COMMANDS = { "changepassword" }; @@ -111,6 +111,6 @@ public class ChangePassword implements IVoicedCommandHandler @Override public String[] getVoicedCommandList() { - return _voicedCommands; + return VOICED_COMMANDS; } }