diff --git a/L2J_Mobius_1.0_Ertheia/java/com/l2jmobius/gameserver/model/items/instance/L2ItemInstance.java b/L2J_Mobius_1.0_Ertheia/java/com/l2jmobius/gameserver/model/items/instance/L2ItemInstance.java index 5e586bd78f..344a7e4415 100644 --- a/L2J_Mobius_1.0_Ertheia/java/com/l2jmobius/gameserver/model/items/instance/L2ItemInstance.java +++ b/L2J_Mobius_1.0_Ertheia/java/com/l2jmobius/gameserver/model/items/instance/L2ItemInstance.java @@ -95,7 +95,7 @@ import com.l2jmobius.gameserver.util.GMAudit; public final class L2ItemInstance extends L2Object { private static final Logger LOGGER = Logger.getLogger(L2ItemInstance.class.getName()); - private static final Logger _logItems = Logger.getLogger("item"); + private static final Logger LOG_ITEMS = Logger.getLogger("item"); /** ID of the owner */ private int _ownerId; @@ -326,7 +326,7 @@ public final class L2ItemInstance extends L2Object { if (getEnchantLevel() > 0) { - _logItems.info("SETOWNER:" + String.valueOf(process) // in case of null + LOG_ITEMS.info("SETOWNER:" + String.valueOf(process) // in case of null + ", item " + getObjectId() // + ":+" + getEnchantLevel() // + " " + getItem().getName() // @@ -336,7 +336,7 @@ public final class L2ItemInstance extends L2Object } else { - _logItems.info("SETOWNER:" + String.valueOf(process) // in case of null + LOG_ITEMS.info("SETOWNER:" + String.valueOf(process) // in case of null + ", item " + getObjectId() // + ":" + getItem().getName() // + "(" + _count + "), " // @@ -500,7 +500,7 @@ public final class L2ItemInstance extends L2Object { if (getEnchantLevel() > 0) { - _logItems.info("CHANGE:" + String.valueOf(process) // in case of null + LOG_ITEMS.info("CHANGE:" + String.valueOf(process) // in case of null + ", item " + getObjectId() // + ":+" + getEnchantLevel() // + " " + getItem().getName() // @@ -511,7 +511,7 @@ public final class L2ItemInstance extends L2Object } else { - _logItems.info("CHANGE:" + String.valueOf(process) // in case of null + LOG_ITEMS.info("CHANGE:" + String.valueOf(process) // in case of null + ", item " + getObjectId() // + ":" + getItem().getName() // + "(" + _count + "), PrevCount(" // diff --git a/L2J_Mobius_1.0_Ertheia/java/com/l2jmobius/gameserver/network/clientpackets/CharacterCreate.java b/L2J_Mobius_1.0_Ertheia/java/com/l2jmobius/gameserver/network/clientpackets/CharacterCreate.java index bc34b88687..2471b37509 100644 --- a/L2J_Mobius_1.0_Ertheia/java/com/l2jmobius/gameserver/network/clientpackets/CharacterCreate.java +++ b/L2J_Mobius_1.0_Ertheia/java/com/l2jmobius/gameserver/network/clientpackets/CharacterCreate.java @@ -51,7 +51,7 @@ import com.l2jmobius.gameserver.util.Util; @SuppressWarnings("unused") public final class CharacterCreate implements IClientIncomingPacket { - protected static final Logger _logAccounting = Logger.getLogger("accounting"); + protected static final Logger LOG_ACCOUNTING = Logger.getLogger("accounting"); // cSdddddddddddd private String _name; @@ -252,7 +252,7 @@ public final class CharacterCreate implements IClientIncomingPacket initNewChar(client, newChar); - _logAccounting.info("Created new character, " + newChar + ", " + client); + LOG_ACCOUNTING.info("Created new character, " + newChar + ", " + client); } private static boolean isValidName(String text) diff --git a/L2J_Mobius_1.0_Ertheia/java/com/l2jmobius/gameserver/network/clientpackets/CharacterSelect.java b/L2J_Mobius_1.0_Ertheia/java/com/l2jmobius/gameserver/network/clientpackets/CharacterSelect.java index 8f059a4481..c7b59f3d6d 100644 --- a/L2J_Mobius_1.0_Ertheia/java/com/l2jmobius/gameserver/network/clientpackets/CharacterSelect.java +++ b/L2J_Mobius_1.0_Ertheia/java/com/l2jmobius/gameserver/network/clientpackets/CharacterSelect.java @@ -46,7 +46,7 @@ import com.l2jmobius.gameserver.network.serverpackets.ServerClose; */ public class CharacterSelect implements IClientIncomingPacket { - protected static final Logger _logAccounting = Logger.getLogger("accounting"); + protected static final Logger LOG_ACCOUNTING = Logger.getLogger("accounting"); // cd private int _charSlot; @@ -175,7 +175,7 @@ public class CharacterSelect implements IClientIncomingPacket client.getActiveCharLock().unlock(); } - _logAccounting.info("Logged in, " + client); + LOG_ACCOUNTING.info("Logged in, " + client); } } } diff --git a/L2J_Mobius_1.0_Ertheia/java/com/l2jmobius/gameserver/network/clientpackets/ProtocolVersion.java b/L2J_Mobius_1.0_Ertheia/java/com/l2jmobius/gameserver/network/clientpackets/ProtocolVersion.java index 660c50cda8..c9e6a88cec 100644 --- a/L2J_Mobius_1.0_Ertheia/java/com/l2jmobius/gameserver/network/clientpackets/ProtocolVersion.java +++ b/L2J_Mobius_1.0_Ertheia/java/com/l2jmobius/gameserver/network/clientpackets/ProtocolVersion.java @@ -29,7 +29,7 @@ import com.l2jmobius.gameserver.network.serverpackets.KeyPacket; */ public final class ProtocolVersion implements IClientIncomingPacket { - private static final Logger _logAccounting = Logger.getLogger("accounting"); + private static final Logger LOG_ACCOUNTING = Logger.getLogger("accounting"); private int _version; @@ -51,7 +51,7 @@ public final class ProtocolVersion implements IClientIncomingPacket } else if (!Config.PROTOCOL_LIST.contains(_version)) { - _logAccounting.warning("Wrong protocol version " + _version + ", " + client); + LOG_ACCOUNTING.warning("Wrong protocol version " + _version + ", " + client); client.setProtocolOk(false); client.close(new KeyPacket(client.enableCrypt(), 0)); } diff --git a/L2J_Mobius_2.5_Underground/java/com/l2jmobius/gameserver/model/items/instance/L2ItemInstance.java b/L2J_Mobius_2.5_Underground/java/com/l2jmobius/gameserver/model/items/instance/L2ItemInstance.java index 2e12063fd7..a3e5358978 100644 --- a/L2J_Mobius_2.5_Underground/java/com/l2jmobius/gameserver/model/items/instance/L2ItemInstance.java +++ b/L2J_Mobius_2.5_Underground/java/com/l2jmobius/gameserver/model/items/instance/L2ItemInstance.java @@ -99,7 +99,7 @@ import com.l2jmobius.gameserver.util.GMAudit; public final class L2ItemInstance extends L2Object { private static final Logger LOGGER = Logger.getLogger(L2ItemInstance.class.getName()); - private static final Logger _logItems = Logger.getLogger("item"); + private static final Logger LOG_ITEMS = Logger.getLogger("item"); /** ID of the owner */ private int _ownerId; @@ -333,7 +333,7 @@ public final class L2ItemInstance extends L2Object { if (getEnchantLevel() > 0) { - _logItems.info("SETOWNER:" + String.valueOf(process) // in case of null + LOG_ITEMS.info("SETOWNER:" + String.valueOf(process) // in case of null + ", item " + getObjectId() // + ":+" + getEnchantLevel() // + " " + getItem().getName() // @@ -343,7 +343,7 @@ public final class L2ItemInstance extends L2Object } else { - _logItems.info("SETOWNER:" + String.valueOf(process) // in case of null + LOG_ITEMS.info("SETOWNER:" + String.valueOf(process) // in case of null + ", item " + getObjectId() // + ":" + getItem().getName() // + "(" + _count + "), " // @@ -507,7 +507,7 @@ public final class L2ItemInstance extends L2Object { if (getEnchantLevel() > 0) { - _logItems.info("CHANGE:" + String.valueOf(process) // in case of null + LOG_ITEMS.info("CHANGE:" + String.valueOf(process) // in case of null + ", item " + getObjectId() // + ":+" + getEnchantLevel() // + " " + getItem().getName() // @@ -518,7 +518,7 @@ public final class L2ItemInstance extends L2Object } else { - _logItems.info("CHANGE:" + String.valueOf(process) // in case of null + LOG_ITEMS.info("CHANGE:" + String.valueOf(process) // in case of null + ", item " + getObjectId() // + ":" + getItem().getName() // + "(" + _count + "), PrevCount(" // diff --git a/L2J_Mobius_2.5_Underground/java/com/l2jmobius/gameserver/network/clientpackets/CharacterCreate.java b/L2J_Mobius_2.5_Underground/java/com/l2jmobius/gameserver/network/clientpackets/CharacterCreate.java index bc34b88687..2471b37509 100644 --- a/L2J_Mobius_2.5_Underground/java/com/l2jmobius/gameserver/network/clientpackets/CharacterCreate.java +++ b/L2J_Mobius_2.5_Underground/java/com/l2jmobius/gameserver/network/clientpackets/CharacterCreate.java @@ -51,7 +51,7 @@ import com.l2jmobius.gameserver.util.Util; @SuppressWarnings("unused") public final class CharacterCreate implements IClientIncomingPacket { - protected static final Logger _logAccounting = Logger.getLogger("accounting"); + protected static final Logger LOG_ACCOUNTING = Logger.getLogger("accounting"); // cSdddddddddddd private String _name; @@ -252,7 +252,7 @@ public final class CharacterCreate implements IClientIncomingPacket initNewChar(client, newChar); - _logAccounting.info("Created new character, " + newChar + ", " + client); + LOG_ACCOUNTING.info("Created new character, " + newChar + ", " + client); } private static boolean isValidName(String text) diff --git a/L2J_Mobius_2.5_Underground/java/com/l2jmobius/gameserver/network/clientpackets/CharacterSelect.java b/L2J_Mobius_2.5_Underground/java/com/l2jmobius/gameserver/network/clientpackets/CharacterSelect.java index 8f059a4481..c7b59f3d6d 100644 --- a/L2J_Mobius_2.5_Underground/java/com/l2jmobius/gameserver/network/clientpackets/CharacterSelect.java +++ b/L2J_Mobius_2.5_Underground/java/com/l2jmobius/gameserver/network/clientpackets/CharacterSelect.java @@ -46,7 +46,7 @@ import com.l2jmobius.gameserver.network.serverpackets.ServerClose; */ public class CharacterSelect implements IClientIncomingPacket { - protected static final Logger _logAccounting = Logger.getLogger("accounting"); + protected static final Logger LOG_ACCOUNTING = Logger.getLogger("accounting"); // cd private int _charSlot; @@ -175,7 +175,7 @@ public class CharacterSelect implements IClientIncomingPacket client.getActiveCharLock().unlock(); } - _logAccounting.info("Logged in, " + client); + LOG_ACCOUNTING.info("Logged in, " + client); } } } diff --git a/L2J_Mobius_2.5_Underground/java/com/l2jmobius/gameserver/network/clientpackets/ProtocolVersion.java b/L2J_Mobius_2.5_Underground/java/com/l2jmobius/gameserver/network/clientpackets/ProtocolVersion.java index 660c50cda8..c9e6a88cec 100644 --- a/L2J_Mobius_2.5_Underground/java/com/l2jmobius/gameserver/network/clientpackets/ProtocolVersion.java +++ b/L2J_Mobius_2.5_Underground/java/com/l2jmobius/gameserver/network/clientpackets/ProtocolVersion.java @@ -29,7 +29,7 @@ import com.l2jmobius.gameserver.network.serverpackets.KeyPacket; */ public final class ProtocolVersion implements IClientIncomingPacket { - private static final Logger _logAccounting = Logger.getLogger("accounting"); + private static final Logger LOG_ACCOUNTING = Logger.getLogger("accounting"); private int _version; @@ -51,7 +51,7 @@ public final class ProtocolVersion implements IClientIncomingPacket } else if (!Config.PROTOCOL_LIST.contains(_version)) { - _logAccounting.warning("Wrong protocol version " + _version + ", " + client); + LOG_ACCOUNTING.warning("Wrong protocol version " + _version + ", " + client); client.setProtocolOk(false); client.close(new KeyPacket(client.enableCrypt(), 0)); } diff --git a/L2J_Mobius_3.0_Helios/java/com/l2jmobius/gameserver/model/items/instance/L2ItemInstance.java b/L2J_Mobius_3.0_Helios/java/com/l2jmobius/gameserver/model/items/instance/L2ItemInstance.java index 2e12063fd7..a3e5358978 100644 --- a/L2J_Mobius_3.0_Helios/java/com/l2jmobius/gameserver/model/items/instance/L2ItemInstance.java +++ b/L2J_Mobius_3.0_Helios/java/com/l2jmobius/gameserver/model/items/instance/L2ItemInstance.java @@ -99,7 +99,7 @@ import com.l2jmobius.gameserver.util.GMAudit; public final class L2ItemInstance extends L2Object { private static final Logger LOGGER = Logger.getLogger(L2ItemInstance.class.getName()); - private static final Logger _logItems = Logger.getLogger("item"); + private static final Logger LOG_ITEMS = Logger.getLogger("item"); /** ID of the owner */ private int _ownerId; @@ -333,7 +333,7 @@ public final class L2ItemInstance extends L2Object { if (getEnchantLevel() > 0) { - _logItems.info("SETOWNER:" + String.valueOf(process) // in case of null + LOG_ITEMS.info("SETOWNER:" + String.valueOf(process) // in case of null + ", item " + getObjectId() // + ":+" + getEnchantLevel() // + " " + getItem().getName() // @@ -343,7 +343,7 @@ public final class L2ItemInstance extends L2Object } else { - _logItems.info("SETOWNER:" + String.valueOf(process) // in case of null + LOG_ITEMS.info("SETOWNER:" + String.valueOf(process) // in case of null + ", item " + getObjectId() // + ":" + getItem().getName() // + "(" + _count + "), " // @@ -507,7 +507,7 @@ public final class L2ItemInstance extends L2Object { if (getEnchantLevel() > 0) { - _logItems.info("CHANGE:" + String.valueOf(process) // in case of null + LOG_ITEMS.info("CHANGE:" + String.valueOf(process) // in case of null + ", item " + getObjectId() // + ":+" + getEnchantLevel() // + " " + getItem().getName() // @@ -518,7 +518,7 @@ public final class L2ItemInstance extends L2Object } else { - _logItems.info("CHANGE:" + String.valueOf(process) // in case of null + LOG_ITEMS.info("CHANGE:" + String.valueOf(process) // in case of null + ", item " + getObjectId() // + ":" + getItem().getName() // + "(" + _count + "), PrevCount(" // diff --git a/L2J_Mobius_3.0_Helios/java/com/l2jmobius/gameserver/network/clientpackets/CharacterCreate.java b/L2J_Mobius_3.0_Helios/java/com/l2jmobius/gameserver/network/clientpackets/CharacterCreate.java index bc34b88687..2471b37509 100644 --- a/L2J_Mobius_3.0_Helios/java/com/l2jmobius/gameserver/network/clientpackets/CharacterCreate.java +++ b/L2J_Mobius_3.0_Helios/java/com/l2jmobius/gameserver/network/clientpackets/CharacterCreate.java @@ -51,7 +51,7 @@ import com.l2jmobius.gameserver.util.Util; @SuppressWarnings("unused") public final class CharacterCreate implements IClientIncomingPacket { - protected static final Logger _logAccounting = Logger.getLogger("accounting"); + protected static final Logger LOG_ACCOUNTING = Logger.getLogger("accounting"); // cSdddddddddddd private String _name; @@ -252,7 +252,7 @@ public final class CharacterCreate implements IClientIncomingPacket initNewChar(client, newChar); - _logAccounting.info("Created new character, " + newChar + ", " + client); + LOG_ACCOUNTING.info("Created new character, " + newChar + ", " + client); } private static boolean isValidName(String text) diff --git a/L2J_Mobius_3.0_Helios/java/com/l2jmobius/gameserver/network/clientpackets/CharacterSelect.java b/L2J_Mobius_3.0_Helios/java/com/l2jmobius/gameserver/network/clientpackets/CharacterSelect.java index 8f059a4481..c7b59f3d6d 100644 --- a/L2J_Mobius_3.0_Helios/java/com/l2jmobius/gameserver/network/clientpackets/CharacterSelect.java +++ b/L2J_Mobius_3.0_Helios/java/com/l2jmobius/gameserver/network/clientpackets/CharacterSelect.java @@ -46,7 +46,7 @@ import com.l2jmobius.gameserver.network.serverpackets.ServerClose; */ public class CharacterSelect implements IClientIncomingPacket { - protected static final Logger _logAccounting = Logger.getLogger("accounting"); + protected static final Logger LOG_ACCOUNTING = Logger.getLogger("accounting"); // cd private int _charSlot; @@ -175,7 +175,7 @@ public class CharacterSelect implements IClientIncomingPacket client.getActiveCharLock().unlock(); } - _logAccounting.info("Logged in, " + client); + LOG_ACCOUNTING.info("Logged in, " + client); } } } diff --git a/L2J_Mobius_3.0_Helios/java/com/l2jmobius/gameserver/network/clientpackets/ProtocolVersion.java b/L2J_Mobius_3.0_Helios/java/com/l2jmobius/gameserver/network/clientpackets/ProtocolVersion.java index 660c50cda8..c9e6a88cec 100644 --- a/L2J_Mobius_3.0_Helios/java/com/l2jmobius/gameserver/network/clientpackets/ProtocolVersion.java +++ b/L2J_Mobius_3.0_Helios/java/com/l2jmobius/gameserver/network/clientpackets/ProtocolVersion.java @@ -29,7 +29,7 @@ import com.l2jmobius.gameserver.network.serverpackets.KeyPacket; */ public final class ProtocolVersion implements IClientIncomingPacket { - private static final Logger _logAccounting = Logger.getLogger("accounting"); + private static final Logger LOG_ACCOUNTING = Logger.getLogger("accounting"); private int _version; @@ -51,7 +51,7 @@ public final class ProtocolVersion implements IClientIncomingPacket } else if (!Config.PROTOCOL_LIST.contains(_version)) { - _logAccounting.warning("Wrong protocol version " + _version + ", " + client); + LOG_ACCOUNTING.warning("Wrong protocol version " + _version + ", " + client); client.setProtocolOk(false); client.close(new KeyPacket(client.enableCrypt(), 0)); } diff --git a/L2J_Mobius_4.0_GrandCrusade/java/com/l2jmobius/gameserver/model/items/instance/L2ItemInstance.java b/L2J_Mobius_4.0_GrandCrusade/java/com/l2jmobius/gameserver/model/items/instance/L2ItemInstance.java index d725067262..51fbe026b7 100644 --- a/L2J_Mobius_4.0_GrandCrusade/java/com/l2jmobius/gameserver/model/items/instance/L2ItemInstance.java +++ b/L2J_Mobius_4.0_GrandCrusade/java/com/l2jmobius/gameserver/model/items/instance/L2ItemInstance.java @@ -99,7 +99,7 @@ import com.l2jmobius.gameserver.util.GMAudit; public final class L2ItemInstance extends L2Object { private static final Logger LOGGER = Logger.getLogger(L2ItemInstance.class.getName()); - private static final Logger _logItems = Logger.getLogger("item"); + private static final Logger LOG_ITEMS = Logger.getLogger("item"); /** ID of the owner */ private int _ownerId; @@ -333,7 +333,7 @@ public final class L2ItemInstance extends L2Object { if (getEnchantLevel() > 0) { - _logItems.info("SETOWNER:" + String.valueOf(process) // in case of null + LOG_ITEMS.info("SETOWNER:" + String.valueOf(process) // in case of null + ", item " + getObjectId() // + ":+" + getEnchantLevel() // + " " + getItem().getName() // @@ -343,7 +343,7 @@ public final class L2ItemInstance extends L2Object } else { - _logItems.info("SETOWNER:" + String.valueOf(process) // in case of null + LOG_ITEMS.info("SETOWNER:" + String.valueOf(process) // in case of null + ", item " + getObjectId() // + ":" + getItem().getName() // + "(" + _count + "), " // @@ -507,7 +507,7 @@ public final class L2ItemInstance extends L2Object { if (getEnchantLevel() > 0) { - _logItems.info("CHANGE:" + String.valueOf(process) // in case of null + LOG_ITEMS.info("CHANGE:" + String.valueOf(process) // in case of null + ", item " + getObjectId() // + ":+" + getEnchantLevel() // + " " + getItem().getName() // @@ -518,7 +518,7 @@ public final class L2ItemInstance extends L2Object } else { - _logItems.info("CHANGE:" + String.valueOf(process) // in case of null + LOG_ITEMS.info("CHANGE:" + String.valueOf(process) // in case of null + ", item " + getObjectId() // + ":" + getItem().getName() // + "(" + _count + "), PrevCount(" // diff --git a/L2J_Mobius_4.0_GrandCrusade/java/com/l2jmobius/gameserver/network/clientpackets/CharacterCreate.java b/L2J_Mobius_4.0_GrandCrusade/java/com/l2jmobius/gameserver/network/clientpackets/CharacterCreate.java index bc34b88687..2471b37509 100644 --- a/L2J_Mobius_4.0_GrandCrusade/java/com/l2jmobius/gameserver/network/clientpackets/CharacterCreate.java +++ b/L2J_Mobius_4.0_GrandCrusade/java/com/l2jmobius/gameserver/network/clientpackets/CharacterCreate.java @@ -51,7 +51,7 @@ import com.l2jmobius.gameserver.util.Util; @SuppressWarnings("unused") public final class CharacterCreate implements IClientIncomingPacket { - protected static final Logger _logAccounting = Logger.getLogger("accounting"); + protected static final Logger LOG_ACCOUNTING = Logger.getLogger("accounting"); // cSdddddddddddd private String _name; @@ -252,7 +252,7 @@ public final class CharacterCreate implements IClientIncomingPacket initNewChar(client, newChar); - _logAccounting.info("Created new character, " + newChar + ", " + client); + LOG_ACCOUNTING.info("Created new character, " + newChar + ", " + client); } private static boolean isValidName(String text) diff --git a/L2J_Mobius_4.0_GrandCrusade/java/com/l2jmobius/gameserver/network/clientpackets/CharacterSelect.java b/L2J_Mobius_4.0_GrandCrusade/java/com/l2jmobius/gameserver/network/clientpackets/CharacterSelect.java index 8f059a4481..c7b59f3d6d 100644 --- a/L2J_Mobius_4.0_GrandCrusade/java/com/l2jmobius/gameserver/network/clientpackets/CharacterSelect.java +++ b/L2J_Mobius_4.0_GrandCrusade/java/com/l2jmobius/gameserver/network/clientpackets/CharacterSelect.java @@ -46,7 +46,7 @@ import com.l2jmobius.gameserver.network.serverpackets.ServerClose; */ public class CharacterSelect implements IClientIncomingPacket { - protected static final Logger _logAccounting = Logger.getLogger("accounting"); + protected static final Logger LOG_ACCOUNTING = Logger.getLogger("accounting"); // cd private int _charSlot; @@ -175,7 +175,7 @@ public class CharacterSelect implements IClientIncomingPacket client.getActiveCharLock().unlock(); } - _logAccounting.info("Logged in, " + client); + LOG_ACCOUNTING.info("Logged in, " + client); } } } diff --git a/L2J_Mobius_4.0_GrandCrusade/java/com/l2jmobius/gameserver/network/clientpackets/ProtocolVersion.java b/L2J_Mobius_4.0_GrandCrusade/java/com/l2jmobius/gameserver/network/clientpackets/ProtocolVersion.java index 660c50cda8..c9e6a88cec 100644 --- a/L2J_Mobius_4.0_GrandCrusade/java/com/l2jmobius/gameserver/network/clientpackets/ProtocolVersion.java +++ b/L2J_Mobius_4.0_GrandCrusade/java/com/l2jmobius/gameserver/network/clientpackets/ProtocolVersion.java @@ -29,7 +29,7 @@ import com.l2jmobius.gameserver.network.serverpackets.KeyPacket; */ public final class ProtocolVersion implements IClientIncomingPacket { - private static final Logger _logAccounting = Logger.getLogger("accounting"); + private static final Logger LOG_ACCOUNTING = Logger.getLogger("accounting"); private int _version; @@ -51,7 +51,7 @@ public final class ProtocolVersion implements IClientIncomingPacket } else if (!Config.PROTOCOL_LIST.contains(_version)) { - _logAccounting.warning("Wrong protocol version " + _version + ", " + client); + LOG_ACCOUNTING.warning("Wrong protocol version " + _version + ", " + client); client.setProtocolOk(false); client.close(new KeyPacket(client.enableCrypt(), 0)); } diff --git a/L2J_Mobius_CT_2.6_HighFive/java/com/l2jmobius/gameserver/model/items/instance/L2ItemInstance.java b/L2J_Mobius_CT_2.6_HighFive/java/com/l2jmobius/gameserver/model/items/instance/L2ItemInstance.java index 4f7670a186..2575c3d306 100644 --- a/L2J_Mobius_CT_2.6_HighFive/java/com/l2jmobius/gameserver/model/items/instance/L2ItemInstance.java +++ b/L2J_Mobius_CT_2.6_HighFive/java/com/l2jmobius/gameserver/model/items/instance/L2ItemInstance.java @@ -88,7 +88,7 @@ import com.l2jmobius.gameserver.util.GMAudit; public final class L2ItemInstance extends L2Object { private static final Logger _log = Logger.getLogger(L2ItemInstance.class.getName()); - private static final Logger _logItems = Logger.getLogger("item"); + private static final Logger LOG_ITEMS = Logger.getLogger("item"); /** ID of the owner */ private int _ownerId; @@ -323,7 +323,7 @@ public final class L2ItemInstance extends L2Object creator, reference }); - _logItems.log(record); + LOG_ITEMS.log(record); } if ((creator != null) && creator.isGM()) @@ -485,7 +485,7 @@ public final class L2ItemInstance extends L2Object creator, reference }); - _logItems.log(record); + LOG_ITEMS.log(record); } if ((creator != null) && creator.isGM()) diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/com/l2jmobius/gameserver/model/items/instance/L2ItemInstance.java b/L2J_Mobius_Classic_2.0_Saviors/java/com/l2jmobius/gameserver/model/items/instance/L2ItemInstance.java index 2e12063fd7..a3e5358978 100644 --- a/L2J_Mobius_Classic_2.0_Saviors/java/com/l2jmobius/gameserver/model/items/instance/L2ItemInstance.java +++ b/L2J_Mobius_Classic_2.0_Saviors/java/com/l2jmobius/gameserver/model/items/instance/L2ItemInstance.java @@ -99,7 +99,7 @@ import com.l2jmobius.gameserver.util.GMAudit; public final class L2ItemInstance extends L2Object { private static final Logger LOGGER = Logger.getLogger(L2ItemInstance.class.getName()); - private static final Logger _logItems = Logger.getLogger("item"); + private static final Logger LOG_ITEMS = Logger.getLogger("item"); /** ID of the owner */ private int _ownerId; @@ -333,7 +333,7 @@ public final class L2ItemInstance extends L2Object { if (getEnchantLevel() > 0) { - _logItems.info("SETOWNER:" + String.valueOf(process) // in case of null + LOG_ITEMS.info("SETOWNER:" + String.valueOf(process) // in case of null + ", item " + getObjectId() // + ":+" + getEnchantLevel() // + " " + getItem().getName() // @@ -343,7 +343,7 @@ public final class L2ItemInstance extends L2Object } else { - _logItems.info("SETOWNER:" + String.valueOf(process) // in case of null + LOG_ITEMS.info("SETOWNER:" + String.valueOf(process) // in case of null + ", item " + getObjectId() // + ":" + getItem().getName() // + "(" + _count + "), " // @@ -507,7 +507,7 @@ public final class L2ItemInstance extends L2Object { if (getEnchantLevel() > 0) { - _logItems.info("CHANGE:" + String.valueOf(process) // in case of null + LOG_ITEMS.info("CHANGE:" + String.valueOf(process) // in case of null + ", item " + getObjectId() // + ":+" + getEnchantLevel() // + " " + getItem().getName() // @@ -518,7 +518,7 @@ public final class L2ItemInstance extends L2Object } else { - _logItems.info("CHANGE:" + String.valueOf(process) // in case of null + LOG_ITEMS.info("CHANGE:" + String.valueOf(process) // in case of null + ", item " + getObjectId() // + ":" + getItem().getName() // + "(" + _count + "), PrevCount(" // diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/com/l2jmobius/gameserver/network/clientpackets/CharacterCreate.java b/L2J_Mobius_Classic_2.0_Saviors/java/com/l2jmobius/gameserver/network/clientpackets/CharacterCreate.java index bc34b88687..2471b37509 100644 --- a/L2J_Mobius_Classic_2.0_Saviors/java/com/l2jmobius/gameserver/network/clientpackets/CharacterCreate.java +++ b/L2J_Mobius_Classic_2.0_Saviors/java/com/l2jmobius/gameserver/network/clientpackets/CharacterCreate.java @@ -51,7 +51,7 @@ import com.l2jmobius.gameserver.util.Util; @SuppressWarnings("unused") public final class CharacterCreate implements IClientIncomingPacket { - protected static final Logger _logAccounting = Logger.getLogger("accounting"); + protected static final Logger LOG_ACCOUNTING = Logger.getLogger("accounting"); // cSdddddddddddd private String _name; @@ -252,7 +252,7 @@ public final class CharacterCreate implements IClientIncomingPacket initNewChar(client, newChar); - _logAccounting.info("Created new character, " + newChar + ", " + client); + LOG_ACCOUNTING.info("Created new character, " + newChar + ", " + client); } private static boolean isValidName(String text) diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/com/l2jmobius/gameserver/network/clientpackets/CharacterSelect.java b/L2J_Mobius_Classic_2.0_Saviors/java/com/l2jmobius/gameserver/network/clientpackets/CharacterSelect.java index 8f059a4481..c7b59f3d6d 100644 --- a/L2J_Mobius_Classic_2.0_Saviors/java/com/l2jmobius/gameserver/network/clientpackets/CharacterSelect.java +++ b/L2J_Mobius_Classic_2.0_Saviors/java/com/l2jmobius/gameserver/network/clientpackets/CharacterSelect.java @@ -46,7 +46,7 @@ import com.l2jmobius.gameserver.network.serverpackets.ServerClose; */ public class CharacterSelect implements IClientIncomingPacket { - protected static final Logger _logAccounting = Logger.getLogger("accounting"); + protected static final Logger LOG_ACCOUNTING = Logger.getLogger("accounting"); // cd private int _charSlot; @@ -175,7 +175,7 @@ public class CharacterSelect implements IClientIncomingPacket client.getActiveCharLock().unlock(); } - _logAccounting.info("Logged in, " + client); + LOG_ACCOUNTING.info("Logged in, " + client); } } } diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/com/l2jmobius/gameserver/network/clientpackets/ProtocolVersion.java b/L2J_Mobius_Classic_2.0_Saviors/java/com/l2jmobius/gameserver/network/clientpackets/ProtocolVersion.java index 660c50cda8..c9e6a88cec 100644 --- a/L2J_Mobius_Classic_2.0_Saviors/java/com/l2jmobius/gameserver/network/clientpackets/ProtocolVersion.java +++ b/L2J_Mobius_Classic_2.0_Saviors/java/com/l2jmobius/gameserver/network/clientpackets/ProtocolVersion.java @@ -29,7 +29,7 @@ import com.l2jmobius.gameserver.network.serverpackets.KeyPacket; */ public final class ProtocolVersion implements IClientIncomingPacket { - private static final Logger _logAccounting = Logger.getLogger("accounting"); + private static final Logger LOG_ACCOUNTING = Logger.getLogger("accounting"); private int _version; @@ -51,7 +51,7 @@ public final class ProtocolVersion implements IClientIncomingPacket } else if (!Config.PROTOCOL_LIST.contains(_version)) { - _logAccounting.warning("Wrong protocol version " + _version + ", " + client); + LOG_ACCOUNTING.warning("Wrong protocol version " + _version + ", " + client); client.setProtocolOk(false); client.close(new KeyPacket(client.enableCrypt(), 0)); } diff --git a/L2J_Mobius_Classic_2.0_Zaken/java/com/l2jmobius/gameserver/model/items/instance/L2ItemInstance.java b/L2J_Mobius_Classic_2.0_Zaken/java/com/l2jmobius/gameserver/model/items/instance/L2ItemInstance.java index 2e12063fd7..a3e5358978 100644 --- a/L2J_Mobius_Classic_2.0_Zaken/java/com/l2jmobius/gameserver/model/items/instance/L2ItemInstance.java +++ b/L2J_Mobius_Classic_2.0_Zaken/java/com/l2jmobius/gameserver/model/items/instance/L2ItemInstance.java @@ -99,7 +99,7 @@ import com.l2jmobius.gameserver.util.GMAudit; public final class L2ItemInstance extends L2Object { private static final Logger LOGGER = Logger.getLogger(L2ItemInstance.class.getName()); - private static final Logger _logItems = Logger.getLogger("item"); + private static final Logger LOG_ITEMS = Logger.getLogger("item"); /** ID of the owner */ private int _ownerId; @@ -333,7 +333,7 @@ public final class L2ItemInstance extends L2Object { if (getEnchantLevel() > 0) { - _logItems.info("SETOWNER:" + String.valueOf(process) // in case of null + LOG_ITEMS.info("SETOWNER:" + String.valueOf(process) // in case of null + ", item " + getObjectId() // + ":+" + getEnchantLevel() // + " " + getItem().getName() // @@ -343,7 +343,7 @@ public final class L2ItemInstance extends L2Object } else { - _logItems.info("SETOWNER:" + String.valueOf(process) // in case of null + LOG_ITEMS.info("SETOWNER:" + String.valueOf(process) // in case of null + ", item " + getObjectId() // + ":" + getItem().getName() // + "(" + _count + "), " // @@ -507,7 +507,7 @@ public final class L2ItemInstance extends L2Object { if (getEnchantLevel() > 0) { - _logItems.info("CHANGE:" + String.valueOf(process) // in case of null + LOG_ITEMS.info("CHANGE:" + String.valueOf(process) // in case of null + ", item " + getObjectId() // + ":+" + getEnchantLevel() // + " " + getItem().getName() // @@ -518,7 +518,7 @@ public final class L2ItemInstance extends L2Object } else { - _logItems.info("CHANGE:" + String.valueOf(process) // in case of null + LOG_ITEMS.info("CHANGE:" + String.valueOf(process) // in case of null + ", item " + getObjectId() // + ":" + getItem().getName() // + "(" + _count + "), PrevCount(" // diff --git a/L2J_Mobius_Classic_2.0_Zaken/java/com/l2jmobius/gameserver/network/clientpackets/CharacterCreate.java b/L2J_Mobius_Classic_2.0_Zaken/java/com/l2jmobius/gameserver/network/clientpackets/CharacterCreate.java index bc34b88687..2471b37509 100644 --- a/L2J_Mobius_Classic_2.0_Zaken/java/com/l2jmobius/gameserver/network/clientpackets/CharacterCreate.java +++ b/L2J_Mobius_Classic_2.0_Zaken/java/com/l2jmobius/gameserver/network/clientpackets/CharacterCreate.java @@ -51,7 +51,7 @@ import com.l2jmobius.gameserver.util.Util; @SuppressWarnings("unused") public final class CharacterCreate implements IClientIncomingPacket { - protected static final Logger _logAccounting = Logger.getLogger("accounting"); + protected static final Logger LOG_ACCOUNTING = Logger.getLogger("accounting"); // cSdddddddddddd private String _name; @@ -252,7 +252,7 @@ public final class CharacterCreate implements IClientIncomingPacket initNewChar(client, newChar); - _logAccounting.info("Created new character, " + newChar + ", " + client); + LOG_ACCOUNTING.info("Created new character, " + newChar + ", " + client); } private static boolean isValidName(String text) diff --git a/L2J_Mobius_Classic_2.0_Zaken/java/com/l2jmobius/gameserver/network/clientpackets/CharacterSelect.java b/L2J_Mobius_Classic_2.0_Zaken/java/com/l2jmobius/gameserver/network/clientpackets/CharacterSelect.java index 8f059a4481..c7b59f3d6d 100644 --- a/L2J_Mobius_Classic_2.0_Zaken/java/com/l2jmobius/gameserver/network/clientpackets/CharacterSelect.java +++ b/L2J_Mobius_Classic_2.0_Zaken/java/com/l2jmobius/gameserver/network/clientpackets/CharacterSelect.java @@ -46,7 +46,7 @@ import com.l2jmobius.gameserver.network.serverpackets.ServerClose; */ public class CharacterSelect implements IClientIncomingPacket { - protected static final Logger _logAccounting = Logger.getLogger("accounting"); + protected static final Logger LOG_ACCOUNTING = Logger.getLogger("accounting"); // cd private int _charSlot; @@ -175,7 +175,7 @@ public class CharacterSelect implements IClientIncomingPacket client.getActiveCharLock().unlock(); } - _logAccounting.info("Logged in, " + client); + LOG_ACCOUNTING.info("Logged in, " + client); } } } diff --git a/L2J_Mobius_Classic_2.0_Zaken/java/com/l2jmobius/gameserver/network/clientpackets/ProtocolVersion.java b/L2J_Mobius_Classic_2.0_Zaken/java/com/l2jmobius/gameserver/network/clientpackets/ProtocolVersion.java index 660c50cda8..c9e6a88cec 100644 --- a/L2J_Mobius_Classic_2.0_Zaken/java/com/l2jmobius/gameserver/network/clientpackets/ProtocolVersion.java +++ b/L2J_Mobius_Classic_2.0_Zaken/java/com/l2jmobius/gameserver/network/clientpackets/ProtocolVersion.java @@ -29,7 +29,7 @@ import com.l2jmobius.gameserver.network.serverpackets.KeyPacket; */ public final class ProtocolVersion implements IClientIncomingPacket { - private static final Logger _logAccounting = Logger.getLogger("accounting"); + private static final Logger LOG_ACCOUNTING = Logger.getLogger("accounting"); private int _version; @@ -51,7 +51,7 @@ public final class ProtocolVersion implements IClientIncomingPacket } else if (!Config.PROTOCOL_LIST.contains(_version)) { - _logAccounting.warning("Wrong protocol version " + _version + ", " + client); + LOG_ACCOUNTING.warning("Wrong protocol version " + _version + ", " + client); client.setProtocolOk(false); client.close(new KeyPacket(client.enableCrypt(), 0)); }