Kaynağa Gözat

BETA: Misc fixes:
* Typo fixes in comments.
* Deleted useless comments.
* Typo fixes in logs.
* Added missing GPL notice.
* Updated some GPL notices.
* Formatted and cleaned up some classes.
* Moved misplaced author JavaDoc.

'''Note:''' Takes few minutes check misspellings, misplaced comments, GPL notice, JavaDocs, but takes years to get fixed after they get committed, please check before commit :D

Zoey76 13 yıl önce
ebeveyn
işleme
4ec298316d
100 değiştirilmiş dosya ile 380 ekleme ve 714 silme
  1. 0 1
      L2J_Server_BETA/java/com/l2jserver/Server.java
  2. 6 1
      L2J_Server_BETA/java/com/l2jserver/gameserver/Announcements.java
  3. 1 3
      L2J_Server_BETA/java/com/l2jserver/gameserver/CastleUpdater.java
  4. 0 1
      L2J_Server_BETA/java/com/l2jserver/gameserver/FortUpdater.java
  5. 0 1
      L2J_Server_BETA/java/com/l2jserver/gameserver/GameServer.java
  6. 1 3
      L2J_Server_BETA/java/com/l2jserver/gameserver/GeoData.java
  7. 2 2
      L2J_Server_BETA/java/com/l2jserver/gameserver/GeoEngine.java
  8. 1 1
      L2J_Server_BETA/java/com/l2jserver/gameserver/GmListTable.java
  9. 19 6
      L2J_Server_BETA/java/com/l2jserver/gameserver/InstanceListManager.java
  10. 2 1
      L2J_Server_BETA/java/com/l2jserver/gameserver/ItemsAutoDestroy.java
  11. 1 1
      L2J_Server_BETA/java/com/l2jserver/gameserver/Shutdown.java
  12. 5 11
      L2J_Server_BETA/java/com/l2jserver/gameserver/Territory.java
  13. 4 6
      L2J_Server_BETA/java/com/l2jserver/gameserver/ai/Ctrl.java
  14. 5 6
      L2J_Server_BETA/java/com/l2jserver/gameserver/ai/CtrlEvent.java
  15. 5 4
      L2J_Server_BETA/java/com/l2jserver/gameserver/ai/CtrlIntention.java
  16. 0 2
      L2J_Server_BETA/java/com/l2jserver/gameserver/ai/L2AirShipAI.java
  17. 0 2
      L2J_Server_BETA/java/com/l2jserver/gameserver/ai/L2BoatAI.java
  18. 1 9
      L2J_Server_BETA/java/com/l2jserver/gameserver/datatables/ArmorSetsTable.java
  19. 0 8
      L2J_Server_BETA/java/com/l2jserver/gameserver/datatables/AugmentationData.java
  20. 10 8
      L2J_Server_BETA/java/com/l2jserver/gameserver/datatables/NpcBufferTable.java
  21. 1 2
      L2J_Server_BETA/java/com/l2jserver/gameserver/datatables/PetDataTable.java
  22. 10 8
      L2J_Server_BETA/java/com/l2jserver/gameserver/datatables/SkillTable.java
  23. 1 1
      L2J_Server_BETA/java/com/l2jserver/gameserver/handler/ActionShiftHandler.java
  24. 3 4
      L2J_Server_BETA/java/com/l2jserver/gameserver/handler/IBypassHandler.java
  25. 0 1
      L2J_Server_BETA/java/com/l2jserver/gameserver/handler/IItemHandler.java
  26. 0 2
      L2J_Server_BETA/java/com/l2jserver/gameserver/handler/ISkillHandler.java
  27. 1 1
      L2J_Server_BETA/java/com/l2jserver/gameserver/handler/VoicedCommandHandler.java
  28. 10 8
      L2J_Server_BETA/java/com/l2jserver/gameserver/idfactory/IdFactory.java
  29. 1 2
      L2J_Server_BETA/java/com/l2jserver/gameserver/idfactory/StackIDFactory.java
  30. 0 11
      L2J_Server_BETA/java/com/l2jserver/gameserver/instancemanager/CastleManager.java
  31. 0 1
      L2J_Server_BETA/java/com/l2jserver/gameserver/instancemanager/CastleManorManager.java
  32. 0 9
      L2J_Server_BETA/java/com/l2jserver/gameserver/instancemanager/CoupleManager.java
  33. 0 10
      L2J_Server_BETA/java/com/l2jserver/gameserver/instancemanager/CursedWeaponsManager.java
  34. 1 11
      L2J_Server_BETA/java/com/l2jserver/gameserver/instancemanager/DuelManager.java
  35. 0 6
      L2J_Server_BETA/java/com/l2jserver/gameserver/instancemanager/FortManager.java
  36. 0 10
      L2J_Server_BETA/java/com/l2jserver/gameserver/instancemanager/FortSiegeManager.java
  37. 0 3
      L2J_Server_BETA/java/com/l2jserver/gameserver/instancemanager/MercTicketManager.java
  38. 0 9
      L2J_Server_BETA/java/com/l2jserver/gameserver/instancemanager/QuestManager.java
  39. 0 2
      L2J_Server_BETA/java/com/l2jserver/gameserver/instancemanager/RaidBossPointsManager.java
  40. 0 12
      L2J_Server_BETA/java/com/l2jserver/gameserver/instancemanager/SiegeGuardManager.java
  41. 0 11
      L2J_Server_BETA/java/com/l2jserver/gameserver/instancemanager/SiegeManager.java
  42. 1 10
      L2J_Server_BETA/java/com/l2jserver/gameserver/instancemanager/TerritoryWarManager.java
  43. 1 10
      L2J_Server_BETA/java/com/l2jserver/gameserver/instancemanager/ZoneManager.java
  44. 1 1
      L2J_Server_BETA/java/com/l2jserver/gameserver/model/AutoChatHandler.java
  45. 1 16
      L2J_Server_BETA/java/com/l2jserver/gameserver/model/CursedWeapon.java
  46. 0 1
      L2J_Server_BETA/java/com/l2jserver/gameserver/model/FusionSkill.java
  47. 11 11
      L2J_Server_BETA/java/com/l2jserver/gameserver/model/L2ArmorSet.java
  48. 0 3
      L2J_Server_BETA/java/com/l2jserver/gameserver/model/L2Augmentation.java
  49. 0 3
      L2J_Server_BETA/java/com/l2jserver/gameserver/model/L2Fishing.java
  50. 0 14
      L2J_Server_BETA/java/com/l2jserver/gameserver/model/L2Object.java
  51. 1 1
      L2J_Server_BETA/java/com/l2jserver/gameserver/model/L2RecipeInstance.java
  52. 0 11
      L2J_Server_BETA/java/com/l2jserver/gameserver/model/L2SiegeClan.java
  53. 4 8
      L2J_Server_BETA/java/com/l2jserver/gameserver/model/L2Territory.java
  54. 0 2
      L2J_Server_BETA/java/com/l2jserver/gameserver/model/TerritoryWard.java
  55. 0 30
      L2J_Server_BETA/java/com/l2jserver/gameserver/model/actor/L2Character.java
  56. 0 1
      L2J_Server_BETA/java/com/l2jserver/gameserver/model/actor/L2Decoy.java
  57. 0 12
      L2J_Server_BETA/java/com/l2jserver/gameserver/model/actor/appearance/PcAppearance.java
  58. 10 8
      L2J_Server_BETA/java/com/l2jserver/gameserver/model/actor/instance/L2CubicInstance.java
  59. 15 2
      L2J_Server_BETA/java/com/l2jserver/gameserver/model/actor/instance/L2EventChestInstance.java
  60. 2 2
      L2J_Server_BETA/java/com/l2jserver/gameserver/model/actor/instance/L2FeedableBeastInstance.java
  61. 0 9
      L2J_Server_BETA/java/com/l2jserver/gameserver/model/actor/knownlist/DefenderKnownList.java
  62. 0 13
      L2J_Server_BETA/java/com/l2jserver/gameserver/model/actor/knownlist/DoorKnownList.java
  63. 0 12
      L2J_Server_BETA/java/com/l2jserver/gameserver/model/actor/knownlist/NpcKnownList.java
  64. 4 14
      L2J_Server_BETA/java/com/l2jserver/gameserver/model/actor/knownlist/PlayableKnownList.java
  65. 0 11
      L2J_Server_BETA/java/com/l2jserver/gameserver/model/actor/knownlist/RaceManagerKnownList.java
  66. 0 13
      L2J_Server_BETA/java/com/l2jserver/gameserver/model/actor/knownlist/StaticObjectKnownList.java
  67. 12 16
      L2J_Server_BETA/java/com/l2jserver/gameserver/model/actor/knownlist/SummonKnownList.java
  68. 23 17
      L2J_Server_BETA/java/com/l2jserver/gameserver/model/actor/poly/ObjectPoly.java
  69. 1 5
      L2J_Server_BETA/java/com/l2jserver/gameserver/model/actor/position/CharPosition.java
  70. 115 64
      L2J_Server_BETA/java/com/l2jserver/gameserver/model/actor/position/ObjectPosition.java
  71. 3 6
      L2J_Server_BETA/java/com/l2jserver/gameserver/model/actor/position/PcPosition.java
  72. 9 16
      L2J_Server_BETA/java/com/l2jserver/gameserver/model/actor/stat/DoorStat.java
  73. 2 14
      L2J_Server_BETA/java/com/l2jserver/gameserver/model/actor/stat/PcStat.java
  74. 9 16
      L2J_Server_BETA/java/com/l2jserver/gameserver/model/actor/stat/StaticObjStat.java
  75. 4 14
      L2J_Server_BETA/java/com/l2jserver/gameserver/model/actor/stat/SummonStat.java
  76. 1 15
      L2J_Server_BETA/java/com/l2jserver/gameserver/model/entity/Castle.java
  77. 0 6
      L2J_Server_BETA/java/com/l2jserver/gameserver/model/entity/Couple.java
  78. 1 16
      L2J_Server_BETA/java/com/l2jserver/gameserver/model/entity/Duel.java
  79. 0 10
      L2J_Server_BETA/java/com/l2jserver/gameserver/model/entity/Fort.java
  80. 0 2
      L2J_Server_BETA/java/com/l2jserver/gameserver/model/entity/FortSiege.java
  81. 3 5
      L2J_Server_BETA/java/com/l2jserver/gameserver/model/entity/Hero.java
  82. 2 4
      L2J_Server_BETA/java/com/l2jserver/gameserver/model/itemauction/AuctionDateGenerator.java
  83. 3 5
      L2J_Server_BETA/java/com/l2jserver/gameserver/model/olympiad/Olympiad.java
  84. 0 1
      L2J_Server_BETA/java/com/l2jserver/gameserver/model/quest/Quest.java
  85. 1 11
      L2J_Server_BETA/java/com/l2jserver/gameserver/model/quest/QuestTimer.java
  86. 2 2
      L2J_Server_BETA/java/com/l2jserver/gameserver/model/quest/State.java
  87. 3 5
      L2J_Server_BETA/java/com/l2jserver/gameserver/model/skills/l2skills/L2SkillSignet.java
  88. 3 5
      L2J_Server_BETA/java/com/l2jserver/gameserver/model/skills/l2skills/L2SkillSignetCasttime.java
  89. 0 1
      L2J_Server_BETA/java/com/l2jserver/gameserver/network/gameserverpackets/ChangePassword.java
  90. 10 8
      L2J_Server_BETA/java/com/l2jserver/gameserver/network/serverpackets/CharSelected.java
  91. 1 0
      L2J_Server_BETA/java/com/l2jserver/gameserver/network/serverpackets/CreatureSay.java
  92. 0 1
      L2J_Server_BETA/java/com/l2jserver/gameserver/network/serverpackets/ExShowManorDefaultInfo.java
  93. 0 1
      L2J_Server_BETA/java/com/l2jserver/gameserver/network/serverpackets/ExShowProcureCropDetail.java
  94. 0 1
      L2J_Server_BETA/java/com/l2jserver/gameserver/network/serverpackets/ExShowSeedSetting.java
  95. 0 1
      L2J_Server_BETA/java/com/l2jserver/gameserver/network/serverpackets/ExShowSellCropList.java
  96. 10 8
      L2J_Server_BETA/java/com/l2jserver/gameserver/network/serverpackets/FriendPacket.java
  97. 10 8
      L2J_Server_BETA/java/com/l2jserver/gameserver/network/serverpackets/FriendStatusPacket.java
  98. 10 8
      L2J_Server_BETA/java/com/l2jserver/gameserver/network/serverpackets/PartySmallWindowAll.java
  99. 0 2
      L2J_Server_BETA/java/com/l2jserver/gameserver/network/serverpackets/PetDelete.java
  100. 0 1
      L2J_Server_BETA/java/com/l2jserver/gameserver/network/serverpackets/SendMacroList.java

+ 0 - 1
L2J_Server_BETA/java/com/l2jserver/Server.java

@@ -16,7 +16,6 @@ package com.l2jserver;
 
 /**
  * This class used to be the starter class, since LS/GS split, it only retains server mode
- *
  */
 public class Server
 {

+ 6 - 1
L2J_Server_BETA/java/com/l2jserver/gameserver/Announcements.java

@@ -275,7 +275,12 @@ public class Announcements
 		Broadcast.toPlayersInInstance(sm, instanceId);
 	}
 	
-	// Method for handling announcements from admin
+	/**
+	 * Method for handling announcements from admin
+	 * @param command
+	 * @param lengthToTrim
+	 * @param isCritical
+	 */
 	public void handleAnnounce(String command, int lengthToTrim, boolean isCritical)
 	{
 		try

+ 1 - 3
L2J_Server_BETA/java/com/l2jserver/gameserver/CastleUpdater.java

@@ -25,10 +25,8 @@ import com.l2jserver.gameserver.model.itemcontainer.ItemContainer;
 
 
 /**
- *
- * Thorgrim - 2005
  * Class managing periodical events with castle
- *
+ * @author Thorgrim - 2005
  */
 public class CastleUpdater implements Runnable
 {

+ 0 - 1
L2J_Server_BETA/java/com/l2jserver/gameserver/FortUpdater.java

@@ -11,7 +11,6 @@
  * You should have received a copy of the GNU General Public License along with
  * this program. If not, see <http://www.gnu.org/licenses/>.
  */
-
 package com.l2jserver.gameserver;
 
 import java.util.logging.Level;

+ 0 - 1
L2J_Server_BETA/java/com/l2jserver/gameserver/GameServer.java

@@ -12,7 +12,6 @@
  * You should have received a copy of the GNU General Public License along with
  * this program. If not, see <http://www.gnu.org/licenses/>.
  */
-
 package com.l2jserver.gameserver;
 
 import java.awt.Toolkit;

+ 1 - 3
L2J_Server_BETA/java/com/l2jserver/gameserver/GeoData.java

@@ -23,14 +23,12 @@ import com.l2jserver.gameserver.model.Location;
 import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
 import com.l2jserver.gameserver.util.Point3D;
 
-
 /**
- *
  * @author  -Nemesiss-
  */
 public class GeoData
 {
-	private static Logger _log = Logger.getLogger(GeoData.class.getName());
+	private static final Logger _log = Logger.getLogger(GeoData.class.getName());
 	
 	protected GeoData()
 	{

+ 2 - 2
L2J_Server_BETA/java/com/l2jserver/gameserver/GeoEngine.java

@@ -44,12 +44,12 @@ import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
 import com.l2jserver.gameserver.util.Point3D;
 
 /**
- *
  * @author -Nemesiss-
  */
 public class GeoEngine extends GeoData
 {
-	private static Logger _log = Logger.getLogger(GeoData.class.getName());
+	private static final Logger _log = Logger.getLogger(GeoEngine.class.getName());
+	
 	private static final byte EAST = 1;
 	private static final byte WEST = 2;
 	private static final byte SOUTH = 4;

+ 1 - 1
L2J_Server_BETA/java/com/l2jserver/gameserver/GmListTable.java

@@ -32,7 +32,7 @@ import com.l2jserver.gameserver.network.serverpackets.SystemMessage;
  */
 public class GmListTable
 {
-	private static Logger _log = Logger.getLogger(GmListTable.class.getName());
+	private static final Logger _log = Logger.getLogger(GmListTable.class.getName());
 	
 	/** Set(L2PcInstance>) containing all the GM in game */
 	private FastMap<L2PcInstance, Boolean> _gmList;

+ 19 - 6
L2J_Server_BETA/java/com/l2jserver/gameserver/InstanceListManager.java

@@ -1,15 +1,28 @@
+/*
+ * This program is free software: you can redistribute it and/or modify it under
+ * the terms of the GNU General Public License as published by the Free Software
+ * Foundation, either version 3 of the License, or (at your option) any later
+ * version.
+ * 
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+ * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
+ * details.
+ * 
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <http://www.gnu.org/licenses/>.
+ */
 package com.l2jserver.gameserver;
 
 /**
  * Interface for managers of list of instances.
- * 
  * @author fordfrog
  */
-public interface InstanceListManager {
-	
+public interface InstanceListManager
+{
 	/**
-	 * Loads instances with their data from persistant format. This method
-	 * has no side effect as calling methods of another instance manager.
+	 * Loads instances with their data from persistent format.<br>
+	 * This method has no side effect as calling methods of another instance manager.
 	 */
 	void loadInstances();
 	
@@ -22,4 +35,4 @@ public interface InstanceListManager {
 	 * Activates instances so their setup is performed.
 	 */
 	void activateInstances();
-}
+}

+ 2 - 1
L2J_Server_BETA/java/com/l2jserver/gameserver/ItemsAutoDestroy.java

@@ -27,7 +27,8 @@ import com.l2jserver.gameserver.model.items.type.L2EtcItemType;
 
 public class ItemsAutoDestroy
 {
-	protected static final Logger _log = Logger.getLogger(ItemsAutoDestroy.class.getName());
+	private static final Logger _log = Logger.getLogger(ItemsAutoDestroy.class.getName());
+	
 	protected List<L2ItemInstance> _items = null;
 	protected static long _sleep;
 	

+ 1 - 1
L2J_Server_BETA/java/com/l2jserver/gameserver/Shutdown.java

@@ -49,7 +49,7 @@ import com.l2jserver.gameserver.util.Broadcast;
 /**
  *
  * This class provides the functions for shutting down and restarting the server
- * It closes all open clientconnections and saves all data.
+ * It closes all open client connections and saves all data.
  *
  * @version $Revision: 1.2.4.5 $ $Date: 2005/03/27 15:29:09 $
  */

+ 5 - 11
L2J_Server_BETA/java/com/l2jserver/gameserver/Territory.java

@@ -12,16 +12,6 @@
  * You should have received a copy of the GNU General Public License along with
  * this program. If not, see <http://www.gnu.org/licenses/>.
  */
-/*
-	coded by Balancer
-	ported to L2JRU by Mr
-	balancer@balancer.ru
-	http://balancer.ru
-
-	version 0.1.1, 2005-06-07
-	version 0.1, 2005-03-16
- */
-
 package com.l2jserver.gameserver;
 
 import java.util.Map;
@@ -32,9 +22,13 @@ import javolution.util.FastMap;
 import com.l2jserver.gameserver.model.L2Territory;
 import com.l2jserver.util.lib.SqlUtils;
 
+/**
+ * @author Balancer, Mr
+ */
 public class Territory
 {
-	private static Logger _log = Logger.getLogger(TradeController.class.getName());
+	private static Logger _log = Logger.getLogger(Territory.class.getName());
+	
 	private static Map<Integer, L2Territory> _territory;
 	
 	public static Territory getInstance()

+ 4 - 6
L2J_Server_BETA/java/com/l2jserver/gameserver/ai/Ctrl.java

@@ -30,7 +30,7 @@ import com.l2jserver.gameserver.model.actor.L2Character;
  *
  * Close to this task is the task of AI.
  * If a player's character is attacking a mob, his ATTACK may be
- * iterrupted by an event, that temporary disable attacking.
+ * interrupted by an event, that temporary disable attacking.
  * But when the possibility to ATTACK will be enabled, the
  * character must continue the ATTACK. For mobs it may be
  * more complex, since we want them to decide when to use magic,
@@ -42,24 +42,22 @@ import com.l2jserver.gameserver.model.actor.L2Character;
  * set a desired, simple "wish" of a character, and the implementation
  * of this interface will take care about the rest.
  * The goal of a character may be like "ATTACK", "random walk" and so on.
- * To reach the goal inplementation will split it into several small
+ * To reach the goal implementation will split it into several small
  * actions, several steps (possibly repeatable). Like "run to target"
  * then "hit it", then if target is not dead - repeat.
- * This flow of simplier steps may be interrupted by incoming events.
+ * This flow of simpler steps may be interrupted by incoming events.
  * Like a character's movement was disabled (by Root spell, for instance).
  * Depending on character's ability AI may choose to wait, or to use
  * magic ATTACK and so on.
  * Additionally incoming events are compared with client's state
  * of the character, and required network messages are sent to
  * client's, i.e. if we have incoming event that character's movement
- * was disabled, it causes changing if its behavour, and if client's
+ * was disabled, it causes changing if its behavior, and if client's
  * state for the character is "moving" we send messages to clients
  * to stop the avatar/mob.
- *
  */
 public interface Ctrl
 {
-	
 	/**
 	 * the character this AI serves 
 	 * @return

+ 5 - 6
L2J_Server_BETA/java/com/l2jserver/gameserver/ai/CtrlEvent.java

@@ -15,9 +15,8 @@
 package com.l2jserver.gameserver.ai;
 
 /**
- * This class contains an enum of each possibles evenements that can happen on an AI character.
+ * This class contains an enum of each possibles events that can happen on an AI character.
  */
-
 public enum CtrlEvent
 {
 	/** Something has changed, usually a previous step has being completed
@@ -25,7 +24,7 @@ public enum CtrlEvent
 	 */
 	EVT_THINK,
 	/** The actor was attacked. This event comes each time a physical or magical
-	 * attack was done on the actor. NPC may start attack in responce, or ignore
+	 * attack was done on the actor. NPC may start attack in response, or ignore
 	 * this event if they already attack someone, or change target and so on.
 	 */
 	EVT_ATTACKED,
@@ -51,7 +50,7 @@ public enum CtrlEvent
 	/** The actor arrived to assigned location, or it's a time to modify
 	 * movement destination (follow, interact, random move and others intentions). */
 	EVT_ARRIVED,
-	/** The actor arrived to an intermidiate point, and needs revalidate destination.
+	/** The actor arrived to an intermediate point, and needs to revalidate destination.
 	 * This is sent when follow/move to pawn if destination is far away. */
 	EVT_ARRIVED_REVALIDATE,
 	/** The actor cannot move anymore. */
@@ -59,7 +58,7 @@ public enum CtrlEvent
 	/** Forgets an object (if it's used as attack target, follow target and so on */
 	EVT_FORGET_OBJECT,
 	/** Attempt to cancel current step execution, but not change the intention.
-	 * For example, the actor was putted into a stun, so it's current attack
+	 * For example, the actor was put into a stun, so it's current attack
 	 * or movement has to be canceled. But after the stun state expired, the
 	 * actor may try to attack again. Another usage for CANCEL is a user's
 	 * attempt to cancel a cast/bow attack and so on.
@@ -73,7 +72,7 @@ public enum CtrlEvent
 	EVT_CONFUSED,
 	/** The character cannot cast spells anymore **/
 	EVT_MUTED,
-	/** The character flee in randoms directions **/
+	/** The character flee in random directions **/
 	EVT_AFRAID,
 	/** The character finish casting **/
 	EVT_FINISH_CASTING,

+ 5 - 4
L2J_Server_BETA/java/com/l2jserver/gameserver/ai/CtrlIntention.java

@@ -14,9 +14,10 @@
  */
 package com.l2jserver.gameserver.ai;
 
-/** Enumaration of generic intentions of an NPC/PC, an intention may require
- * several steps to be completed */
-
+/**
+ * Enumeration of generic intentions of an NPC/PC, an intention may require
+ * several steps to be completed
+ */
 public enum CtrlIntention
 {
 	/** Do nothing, disconnect AI of NPC if no players around */
@@ -26,7 +27,7 @@ public enum CtrlIntention
 	/** Rest (sit until attacked) */
 	AI_INTENTION_REST,
 	/** Attack target (cast combat magic, go to target, combat), may be ignored,
-	 * if target is locked on another character or a peacefull zone and so on */
+	 * if target is locked on another character or a peaceful zone and so on */
 	AI_INTENTION_ATTACK,
 	/** Cast a spell, depending on the spell - may start or stop attacking */
 	AI_INTENTION_CAST,

+ 0 - 2
L2J_Server_BETA/java/com/l2jserver/gameserver/ai/L2AirShipAI.java

@@ -21,9 +21,7 @@ import com.l2jserver.gameserver.network.serverpackets.ExMoveToLocationAirShip;
 import com.l2jserver.gameserver.network.serverpackets.ExStopMoveAirShip;
 
 /**
- * 
  * @author DS
- *
  */
 public class L2AirShipAI extends L2VehicleAI
 {

+ 0 - 2
L2J_Server_BETA/java/com/l2jserver/gameserver/ai/L2BoatAI.java

@@ -22,9 +22,7 @@ import com.l2jserver.gameserver.network.serverpackets.VehicleInfo;
 import com.l2jserver.gameserver.network.serverpackets.VehicleStarted;
 
 /**
- * 
  * @author DS
- *
  */
 public class L2BoatAI extends L2VehicleAI
 {

+ 1 - 9
L2J_Server_BETA/java/com/l2jserver/gameserver/datatables/ArmorSetsTable.java

@@ -12,11 +12,6 @@
  * You should have received a copy of the GNU General Public License along with
  * this program. If not, see <http://www.gnu.org/licenses/>.
  */
-
-/**
- * @author godson
- */
-
 package com.l2jserver.gameserver.datatables;
 
 import gnu.trove.map.hash.TIntObjectHashMap;
@@ -31,11 +26,8 @@ import com.l2jserver.Config;
 import com.l2jserver.L2DatabaseFactory;
 import com.l2jserver.gameserver.model.L2ArmorSet;
 
-
 /**
- *
- *
- * @author  Luno
+ * @author godson, Luno
  */
 public class ArmorSetsTable
 {

+ 0 - 8
L2J_Server_BETA/java/com/l2jserver/gameserver/datatables/AugmentationData.java

@@ -51,9 +51,6 @@ public class AugmentationData
 		return SingletonHolder._instance;
 	}
 	
-	// =========================================================
-	// Data Field
-	
 	// stats
 	private static final int STAT_START = 1;
 	private static final int STAT_END = 14560;
@@ -113,8 +110,6 @@ public class AugmentationData
 	
 	private final TIntObjectHashMap<AugmentationSkill> _allSkills = new TIntObjectHashMap<AugmentationSkill>();
 	
-	// =========================================================
-	// Constructor
 	private AugmentationData()
 	{
 		_log.info("Initializing AugmentationData.");
@@ -200,9 +195,6 @@ public class AugmentationData
 		}
 	}
 	
-	// =========================================================
-	// Nested Class
-	
 	public static class AugmentationSkill
 	{
 		private final int _skillId;

+ 10 - 8
L2J_Server_BETA/java/com/l2jserver/gameserver/datatables/NpcBufferTable.java

@@ -1,14 +1,16 @@
 /*
- * This program is free software: you can redistribute it and/or modify it under the terms of the
- * GNU General Public License as published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
+ * This program is free software: you can redistribute it and/or modify it under
+ * the terms of the GNU General Public License as published by the Free Software
+ * Foundation, either version 3 of the License, or (at your option) any later
+ * version.
  * 
- * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
- * even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * General Public License for more details.
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+ * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
+ * details.
  * 
- * You should have received a copy of the GNU General Public License along with this program. If
- * not, see <http://www.gnu.org/licenses/>.
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <http://www.gnu.org/licenses/>.
  */
 package com.l2jserver.gameserver.datatables;
 

+ 1 - 2
L2J_Server_BETA/java/com/l2jserver/gameserver/datatables/PetDataTable.java

@@ -29,13 +29,12 @@ import org.w3c.dom.Node;
 import com.l2jserver.Config;
 import com.l2jserver.gameserver.model.L2PetData;
 import com.l2jserver.gameserver.model.L2PetLevelData;
-import com.l2jserver.gameserver.model.actor.instance.L2PetInstance;
 import com.l2jserver.gameserver.model.items.L2Item;
 import com.l2jserver.gameserver.model.items.type.L2EtcItemType;
 
 public class PetDataTable
 {
-	private static Logger _log = Logger.getLogger(L2PetInstance.class.getName());
+	private static Logger _log = Logger.getLogger(PetDataTable.class.getName());
 	
 	private static TIntObjectHashMap<L2PetData> _petTable;
 

+ 10 - 8
L2J_Server_BETA/java/com/l2jserver/gameserver/datatables/SkillTable.java

@@ -1,14 +1,16 @@
 /*
- * This program is free software: you can redistribute it and/or modify it under the terms of the
- * GNU General Public License as published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
+ * This program is free software: you can redistribute it and/or modify it under
+ * the terms of the GNU General Public License as published by the Free Software
+ * Foundation, either version 3 of the License, or (at your option) any later
+ * version.
  * 
- * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
- * even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * General Public License for more details.
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+ * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
+ * details.
  * 
- * You should have received a copy of the GNU General Public License along with this program. If
- * not, see <http://www.gnu.org/licenses/>.
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <http://www.gnu.org/licenses/>.
  */
 package com.l2jserver.gameserver.datatables;
 

+ 1 - 1
L2J_Server_BETA/java/com/l2jserver/gameserver/handler/ActionShiftHandler.java

@@ -19,9 +19,9 @@ import java.util.Map;
 import javolution.util.FastMap;
 
 import com.l2jserver.gameserver.model.L2Object.InstanceType;
+
 /**
  * @author UnAfraid
- * 
  */
 public class ActionShiftHandler
 {

+ 3 - 4
L2J_Server_BETA/java/com/l2jserver/gameserver/handler/IBypassHandler.java

@@ -18,17 +18,16 @@ import java.util.logging.Logger;
 
 import com.l2jserver.gameserver.model.actor.L2Character;
 import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
+
 /**
- * 
  * @author nBd
- *
  */
 public interface IBypassHandler
 {
 	public static Logger _log = Logger.getLogger(IBypassHandler.class.getName());
 	
 	/**
-	 * this is the worker method that is called when someone uses an bypass command
+	 * This is the worker method that is called when someone uses an bypass command.
 	 * @param command
 	 * @param activeChar
 	 * @param target
@@ -37,7 +36,7 @@ public interface IBypassHandler
 	public boolean useBypass(String command, L2PcInstance activeChar, L2Character target);
 	
 	/**
-	 * this method is called at initialization to register all bypasses automatically
+	 * This method is called at initialization to register all bypasses automatically.
 	 * @return all known bypasses
 	 */
 	public String[] getBypassList();

+ 0 - 1
L2J_Server_BETA/java/com/l2jserver/gameserver/handler/IItemHandler.java

@@ -26,7 +26,6 @@ import com.l2jserver.gameserver.model.items.instance.L2ItemInstance;
  *
  * @version $Revision: 1.1.4.3 $ $Date: 2005/03/27 15:30:09 $
  */
-
 public interface IItemHandler
 {
 	public static Logger _log = Logger.getLogger(IItemHandler.class.getName());

+ 0 - 2
L2J_Server_BETA/java/com/l2jserver/gameserver/handler/ISkillHandler.java

@@ -21,13 +21,11 @@ import com.l2jserver.gameserver.model.actor.L2Character;
 import com.l2jserver.gameserver.model.skills.L2Skill;
 import com.l2jserver.gameserver.model.skills.L2SkillType;
 
-
 /**
  * an IItemHandler implementation has to be stateless
  *
  * @version $Revision: 1.2.2.2.2.3 $ $Date: 2005/04/03 15:55:06 $
  */
-
 public interface ISkillHandler
 {
 	public static Logger _log = Logger.getLogger(ISkillHandler.class.getName());

+ 1 - 1
L2J_Server_BETA/java/com/l2jserver/gameserver/handler/VoicedCommandHandler.java

@@ -27,7 +27,7 @@ import com.l2jserver.Config;
  */
 public class VoicedCommandHandler
 {
-	private static Logger _log = Logger.getLogger(ItemHandler.class.getName());
+	private static Logger _log = Logger.getLogger(VoicedCommandHandler.class.getName());
 	
 	private final TIntObjectHashMap<IVoicedCommandHandler> _datatable;
 	

+ 10 - 8
L2J_Server_BETA/java/com/l2jserver/gameserver/idfactory/IdFactory.java

@@ -1,14 +1,16 @@
 /*
- * This program is free software: you can redistribute it and/or modify it under the terms of the
- * GNU General Public License as published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
+ * This program is free software: you can redistribute it and/or modify it under
+ * the terms of the GNU General Public License as published by the Free Software
+ * Foundation, either version 3 of the License, or (at your option) any later
+ * version.
  * 
- * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
- * even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * General Public License for more details.
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+ * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
+ * details.
  * 
- * You should have received a copy of the GNU General Public License along with this program. If
- * not, see <http://www.gnu.org/licenses/>.
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <http://www.gnu.org/licenses/>.
  */
 package com.l2jserver.gameserver.idfactory;
 

+ 1 - 2
L2J_Server_BETA/java/com/l2jserver/gameserver/idfactory/StackIDFactory.java

@@ -25,7 +25,6 @@ import java.util.logging.Logger;
 import com.l2jserver.Config;
 import com.l2jserver.L2DatabaseFactory;
 
-
 /**
  * This class ...
  *
@@ -33,7 +32,7 @@ import com.l2jserver.L2DatabaseFactory;
  */
 public class StackIDFactory extends IdFactory
 {
-	private static Logger _log = Logger.getLogger(IdFactory.class.getName());
+	private static Logger _log = Logger.getLogger(StackIDFactory.class.getName());
 	
 	private int _curOID;
 	private int _tempOID;

+ 0 - 11
L2J_Server_BETA/java/com/l2jserver/gameserver/instancemanager/CastleManager.java

@@ -41,23 +41,15 @@ public class CastleManager implements InstanceListManager
 	{
 		return SingletonHolder._instance;
 	}
-	// =========================================================
 	
-	// =========================================================
-	// Data Field
 	private List<Castle> _castles;
 	
-	// =========================================================
-	// Constructor
 	private static final int _castleCirclets[] = { 0, 6838, 6835, 6839, 6837, 6840, 6834, 6836, 8182, 8183 };
 	
 	private CastleManager()
 	{
 	}
 	
-	// =========================================================
-	// Method - Public
-	
 	public final int findNearestCastleIndex(L2Object obj)
 	{
 		return findNearestCastleIndex(obj, Long.MAX_VALUE);
@@ -85,9 +77,6 @@ public class CastleManager implements InstanceListManager
 		return index;
 	}
 	
-	// =========================================================
-	// Property - Public
-	
 	public final Castle getCastleById(int castleId)
 	{
 		for (Castle temp : getCastles())

+ 0 - 1
L2J_Server_BETA/java/com/l2jserver/gameserver/instancemanager/CastleManorManager.java

@@ -43,7 +43,6 @@ import com.l2jserver.util.Rnd;
  * Handles all schedule for manor
  * @author l3x
  */
-
 public class CastleManorManager
 {
 	protected static final Logger _log = Logger.getLogger(CastleManorManager.class.getName());

+ 0 - 9
L2J_Server_BETA/java/com/l2jserver/gameserver/instancemanager/CoupleManager.java

@@ -45,22 +45,15 @@ public class CoupleManager
 	{
 		return SingletonHolder._instance;
 	}
-	// =========================================================
 	
-	// =========================================================
-	// Data Field
 	private FastList<Couple> _couples;
 	
-	// =========================================================
-	// Method - Public
 	public void reload()
 	{
 		getCouples().clear();
 		load();
 	}
 	
-	// =========================================================
-	// Method - Private
 	private final void load()
 	{
 		Connection con = null;
@@ -92,8 +85,6 @@ public class CoupleManager
 		}
 	}
 	
-	// =========================================================
-	// Property - Public
 	public final Couple getCouple(int coupleId)
 	{
 		int index = getCoupleIndex(coupleId);

+ 0 - 10
L2J_Server_BETA/java/com/l2jserver/gameserver/instancemanager/CursedWeaponsManager.java

@@ -52,7 +52,6 @@ import com.l2jserver.gameserver.network.serverpackets.SystemMessage;
 import com.l2jserver.gameserver.util.Broadcast;
 
 /**
- *
  * @author Micht
  */
 public class CursedWeaponsManager
@@ -64,12 +63,8 @@ public class CursedWeaponsManager
 		return SingletonHolder._instance;
 	}
 	
-	// =========================================================
-	// Data Field
 	private Map<Integer, CursedWeapon> _cursedWeapons;
 	
-	// =========================================================
-	// Constructor
 	private CursedWeaponsManager()
 	{
 		init();
@@ -89,8 +84,6 @@ public class CursedWeaponsManager
 		_log.info("Loaded : " + _cursedWeapons.size() + " cursed weapon(s).");
 	}
 	
-	// =========================================================
-	// Method - Private
 	public final void reload()
 	{
 		init();
@@ -327,8 +320,6 @@ public class CursedWeaponsManager
 			_log.info("DONE");
 	}
 	
-	// =========================================================
-	// Properties - Public
 	public synchronized void checkDrop(L2Attackable attackable, L2PcInstance player)
 	{
 		if (attackable instanceof L2DefenderInstance || attackable instanceof L2RiftInvaderInstance
@@ -461,7 +452,6 @@ public class CursedWeaponsManager
 		}
 	}
 	
-	// =========================================================
 	public boolean isCursed(int itemId)
 	{
 		return _cursedWeapons.containsKey(itemId);

+ 1 - 11
L2J_Server_BETA/java/com/l2jserver/gameserver/instancemanager/DuelManager.java

@@ -32,22 +32,15 @@ public class DuelManager
 		return SingletonHolder._instance;
 	}
 	
-	// =========================================================
-	// Data Field
 	private FastList<Duel> _duels;
 	private int _currentDuelId = 0x90;
 	
-	// =========================================================
-	// Constructor
 	private DuelManager()
 	{
 		_log.info("Initializing DuelManager");
 		_duels = new FastList<Duel>();
 	}
 	
-	// =========================================================
-	// Method - Private
-	
 	private int getNextDuelId()
 	{
 		// In case someone wants to run the server forever :)
@@ -56,9 +49,6 @@ public class DuelManager
 		return _currentDuelId;
 	}
 	
-	// =========================================================
-	// Method - Public
-	
 	public Duel getDuel(int duelId)
 	{
 		for (FastList.Node<Duel> e = _duels.head(), end = _duels.tail(); (e = e.getNext()) != end;)
@@ -141,7 +131,7 @@ public class DuelManager
 	
 	/**
 	 * Updates player states.
-	 * @param player - the dieing player
+	 * @param player - the dying player
 	 */
 	public void onPlayerDefeat(L2PcInstance player)
 	{

+ 0 - 6
L2J_Server_BETA/java/com/l2jserver/gameserver/instancemanager/FortManager.java

@@ -38,12 +38,8 @@ public class FortManager implements InstanceListManager
 		return SingletonHolder._instance;
 	}
 	
-	// =========================================================
-	// Data Field
 	private List<Fort> _forts;
 	
-	// =========================================================
-	// Constructor
 	private FortManager()
 	{
 	}
@@ -76,8 +72,6 @@ public class FortManager implements InstanceListManager
 		return index;
 	}
 	
-	// =========================================================
-	// Property - Public
 	public final Fort getFortById(int fortId)
 	{
 		for (Fort f : getForts())

+ 0 - 10
L2J_Server_BETA/java/com/l2jserver/gameserver/instancemanager/FortSiegeManager.java

@@ -53,8 +53,6 @@ public class FortSiegeManager
 		return SingletonHolder._instance;
 	}
 	
-	// =========================================================
-	// Data Field
 	private int _attackerMaxClans = 500; // Max number of clans
 	
 	// Fort Siege settings
@@ -67,16 +65,12 @@ public class FortSiegeManager
 	private int _suspiciousMerchantRespawnDelay = 180; // Time in minute. Changeable in fortsiege.properties
 	private List<FortSiege> _sieges;
 	
-	// =========================================================
-	// Constructor
 	private FortSiegeManager()
 	{
 		_log.info("Initializing FortSiegeManager");
 		load();
 	}
 	
-	// =========================================================
-	// Method - Public
 	public final void addSiegeSkills(L2PcInstance character)
 	{
 		character.addSkill(SkillTable.FrequentSkill.SEAL_OF_RULER.getSkill(), false);
@@ -157,8 +151,6 @@ public class FortSiegeManager
 		character.removeSkill(SkillTable.FrequentSkill.BUILD_HEADQUARTERS.getSkill());
 	}
 	
-	// =========================================================
-	// Method - Private
 	private final void load()
 	{
 		InputStream is = null;
@@ -251,8 +243,6 @@ public class FortSiegeManager
 		}
 	}
 	
-	// =========================================================
-	// Property - Public
 	public final FastList<SiegeSpawn> getCommanderSpawnList(int _fortId)
 	{
 		if (_commanderSpawnList.containsKey(_fortId))

+ 0 - 3
L2J_Server_BETA/java/com/l2jserver/gameserver/instancemanager/MercTicketManager.java

@@ -58,10 +58,7 @@ public class MercTicketManager
 	{
 		return SingletonHolder._instance;
 	}
-	// =========================================================
 	
-	// =========================================================
-	// Data Field
 	private List<L2ItemInstance> _droppedTickets; // to keep track of items on the ground
 	
 	//TODO move all these values into siege.properties

+ 0 - 9
L2J_Server_BETA/java/com/l2jserver/gameserver/instancemanager/QuestManager.java

@@ -34,21 +34,14 @@ public class QuestManager extends ScriptManager<Quest>
 	{
 		return SingletonHolder._instance;
 	}
-	// =========================================================
 	
-	// =========================================================
-	// Data Field
 	private Map<String, Quest> _quests = new FastMap<String, Quest>();
 	
-	// =========================================================
-	// Constructor
 	private QuestManager()
 	{
 		_log.info("Initializing QuestManager");
 	}
 	
-	// =========================================================
-	// Method - Public
 	public final boolean reload(String questFolder)
 	{
 		Quest q = getQuest(questFolder);
@@ -112,8 +105,6 @@ public class QuestManager extends ScriptManager<Quest>
 		}
 	}
 	
-	// =========================================================
-	// Property - Public
 	public final Quest getQuest(String name)
 	{
 		return _quests.get(name);

+ 0 - 2
L2J_Server_BETA/java/com/l2jserver/gameserver/instancemanager/RaidBossPointsManager.java

@@ -34,9 +34,7 @@ import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
 /**
  * @author Kerberos
  * JIV update 24.8.10
- * 
  */
-
 public class RaidBossPointsManager
 {
 	private final static Logger _log = Logger.getLogger(RaidBossPointsManager.class.getName());

+ 0 - 12
L2J_Server_BETA/java/com/l2jserver/gameserver/instancemanager/SiegeGuardManager.java

@@ -32,23 +32,16 @@ import com.l2jserver.gameserver.model.entity.Castle;
 
 public class SiegeGuardManager
 {
-	
 	private static Logger _log = Logger.getLogger(SiegeGuardManager.class.getName());
 	
-	// =========================================================
-	// Data Field
 	private Castle _castle;
 	private List<L2Spawn> _siegeGuardSpawn = new FastList<L2Spawn>();
 	
-	// =========================================================
-	// Constructor
 	public SiegeGuardManager(Castle castle)
 	{
 		_castle = castle;
 	}
 	
-	// =========================================================
-	// Method - Public
 	/**
 	 * Add guard.
 	 * @param activeChar 
@@ -202,8 +195,6 @@ public class SiegeGuardManager
 		getSiegeGuardSpawn().clear();
 	}
 	
-	// =========================================================
-	// Method - Private
 	/**
 	 * Load guards.<BR><BR>
 	 */
@@ -295,9 +286,6 @@ public class SiegeGuardManager
 		}
 	}
 	
-	// =========================================================
-	// Proeprty
-	
 	public final Castle getCastle()
 	{
 		return _castle;

+ 0 - 11
L2J_Server_BETA/java/com/l2jserver/gameserver/instancemanager/SiegeManager.java

@@ -51,13 +51,10 @@ public class SiegeManager
 		return SingletonHolder._instance;
 	}
 	
-	// =========================================================
-	// Data Field
 	private int _attackerMaxClans = 500; // Max number of clans
 	private int _attackerRespawnDelay = 0; // Time in ms. Changeable in siege.config
 	private int _defenderMaxClans = 500; // Max number of clans
 	
-	// Siege settings
 	private TIntObjectHashMap<FastList<SiegeSpawn>> _artefactSpawnList;
 	private TIntObjectHashMap<FastList<SiegeSpawn>> _controlTowerSpawnList;
 	private TIntObjectHashMap<FastList<SiegeSpawn>> _flameTowerSpawnList;
@@ -67,16 +64,12 @@ public class SiegeManager
 	private int _siegeLength = 120; // Time in minute. Changeable in siege.config
 	private int _bloodAllianceReward = 0; // Number of Blood Alliance items reward for successful castle defending
 	
-	// =========================================================
-	// Constructor
 	private SiegeManager()
 	{
 		_log.info("Initializing SiegeManager");
 		load();
 	}
 	
-	// =========================================================
-	// Method - Public
 	public final void addSiegeSkills(L2PcInstance character)
 	{
 		for (L2Skill sk : SkillTable.getInstance().getSiegeSkills(character.isNoble(), character.getClan().getHasCastle() > 0))
@@ -164,8 +157,6 @@ public class SiegeManager
 		}
 	}
 	
-	// =========================================================
-	// Method - Private
 	private final void load()
 	{
 		InputStream is = null;
@@ -298,8 +289,6 @@ public class SiegeManager
 		}
 	}
 	
-	// =========================================================
-	// Property - Public
 	public final FastList<SiegeSpawn> getArtefactSpawnList(int _castleId)
 	{
 		return _artefactSpawnList.get(_castleId);

+ 1 - 10
L2J_Server_BETA/java/com/l2jserver/gameserver/instancemanager/TerritoryWarManager.java

@@ -71,8 +71,6 @@ public class TerritoryWarManager implements Siegable
 		return SingletonHolder._instance;
 	}
 	
-	// =========================================================
-	// Data Field
 	public static String qn = "TerritoryWarSuperClass";
 	public static int DEFENDERMAXCLANS; // Max number of clans
 	public static int DEFENDERMAXPLAYERS; // Max number of individual player
@@ -103,8 +101,6 @@ public class TerritoryWarManager implements Siegable
 	protected ScheduledFuture<?> _scheduledEndTWTask = null;
 	protected ScheduledFuture<?> _scheduledRewardOnlineTask = null;
 	
-	// =========================================================
-	// Constructor
 	private TerritoryWarManager()
 	{
 		_log.info("Initializing TerritoryWarManager");
@@ -132,8 +128,6 @@ public class TerritoryWarManager implements Siegable
 		load();
 	}
 	
-	// =========================================================
-	// Method - Public
 	public int getRegisteredTerritoryId(L2PcInstance player)
 	{
 		if (player == null || !_isTWChannelOpen || player.getLevel() < PLAYERMINLEVEL)
@@ -624,8 +618,6 @@ public class TerritoryWarManager implements Siegable
 		}
 	}
 	
-	// =========================================================
-	// Method - Private
 	public L2Npc spawnNPC(int npcId, Location loc)
 	{
 		L2NpcTemplate template = NpcTable.getInstance().getTemplate(npcId);
@@ -1315,8 +1307,7 @@ public class TerritoryWarManager implements Siegable
 				}
 			}
 	}
-	// =========================================================
-	// Property - Public
+	
 	public static class TerritoryNPCSpawn
 	{
 		private Location _location;

+ 1 - 10
L2J_Server_BETA/java/com/l2jserver/gameserver/instancemanager/ZoneManager.java

@@ -12,7 +12,6 @@
  * You should have received a copy of the GNU General Public License along with
  * this program. If not, see <http://www.gnu.org/licenses/>.
  */
-
 package com.l2jserver.gameserver.instancemanager;
 
 import gnu.trove.procedure.TObjectProcedure;
@@ -73,11 +72,6 @@ public class ZoneManager
 		return SingletonHolder._instance;
 	}
 	
-	// =========================================================
-	// Data Field
-	
-	// =========================================================
-	// Constructor
 	private ZoneManager()
 	{
 		load();
@@ -117,9 +111,6 @@ public class ZoneManager
 		}
 	}
 	
-	// =========================================================
-	// Method - Private
-	
 	private final void load()
 	{
 		_log.info("Loading zones...");
@@ -454,7 +445,7 @@ public class ZoneManager
 	
 	/**
 	 * Returns all zones registered with the ZoneManager.
-	 * To minimise iteration processing retrieve zones from L2WorldRegion for a specific location instead.
+	 * To minimize iteration processing retrieve zones from L2WorldRegion for a specific location instead.
 	 * @return zones
 	 * @see #getAllZones(Class)
 	 */

+ 1 - 1
L2J_Server_BETA/java/com/l2jserver/gameserver/model/AutoChatHandler.java

@@ -659,7 +659,7 @@ public class AutoChatHandler implements SpawnListener
 				{
 					AutoChatRunner acr = new AutoChatRunner(_npcId, _npcInstance.getObjectId());
 					if (getChatDelay() == 0)
-						// Schedule it set to 5Ms, isn't error, if use 0 sometine
+						// Schedule it set to 5Ms, isn't error, if use 0 sometime
 						// chatDefinition return null in AutoChatRunner
 						_chatTask = ThreadPoolManager.getInstance().scheduleGeneral(acr, 5);
 					else

+ 1 - 16
L2J_Server_BETA/java/com/l2jserver/gameserver/model/CursedWeapon.java

@@ -48,7 +48,7 @@ import com.l2jserver.util.Rnd;
 
 public class CursedWeapon
 {
-	private static final Logger _log = Logger.getLogger(CursedWeaponsManager.class.getName());
+	private static final Logger _log = Logger.getLogger(CursedWeapon.class.getName());
 	
 	// _name is the name of the cursed weapon associated with its ID.
 	private final String _name;
@@ -81,8 +81,6 @@ public class CursedWeapon
 	
 	private static final int[] TRANSFORM_IDS = new int[]{3630,3631};
 	
-	// =========================================================
-	// Constructor
 	public CursedWeapon(int itemId, int skillId, String name)
 	{
 		_name = name;
@@ -91,8 +89,6 @@ public class CursedWeapon
 		_skillMaxLevel = SkillTable.getInstance().getMaxLevel(_skillId);
 	}
 	
-	// =========================================================
-	// Private
 	public void endOfLife()
 	{
 		if (_isActivated)
@@ -375,8 +371,6 @@ public class CursedWeapon
 		_player.sendSkillList();
 	}
 	
-	// =========================================================
-	// Public
 	public void reActivate()
 	{
 		_isActivated = true;
@@ -556,11 +550,6 @@ public class CursedWeapon
 		saveData();
 	}
 	
-	
-	
-	
-	// =========================================================
-	// Setter
 	public void setDisapearChance(int disapearChance)
 	{
 		_disapearChance = disapearChance;
@@ -618,10 +607,6 @@ public class CursedWeapon
 		_item = item;
 	}
 	
-	
-	
-	// =========================================================
-	// Getter
 	public boolean isActivated()
 	{
 		return _isActivated;

+ 0 - 1
L2J_Server_BETA/java/com/l2jserver/gameserver/model/FusionSkill.java

@@ -12,7 +12,6 @@
  * You should have received a copy of the GNU General Public License along with
  * this program. If not, see <http://www.gnu.org/licenses/>.
  */
-
 package com.l2jserver.gameserver.model;
 
 import java.util.concurrent.Future;

+ 11 - 11
L2J_Server_BETA/java/com/l2jserver/gameserver/model/L2ArmorSet.java

@@ -1,16 +1,17 @@
 /*
- * This program is free software: you can redistribute it and/or modify it under the terms of the
- * GNU General Public License as published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
+ * This program is free software: you can redistribute it and/or modify it under
+ * the terms of the GNU General Public License as published by the Free Software
+ * Foundation, either version 3 of the License, or (at your option) any later
+ * version.
  * 
- * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
- * even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * General Public License for more details.
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+ * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
+ * details.
  * 
- * You should have received a copy of the GNU General Public License along with this program. If
- * not, see <http://www.gnu.org/licenses/>.
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <http://www.gnu.org/licenses/>.
  */
-
 package com.l2jserver.gameserver.model;
 
 import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
@@ -18,7 +19,6 @@ import com.l2jserver.gameserver.model.itemcontainer.Inventory;
 import com.l2jserver.gameserver.model.items.instance.L2ItemInstance;
 
 /**
- * 
  * @author Luno
  */
 public final class L2ArmorSet
@@ -62,7 +62,7 @@ public final class L2ArmorSet
 	}
 	
 	/**
-	 * Checks if player have equiped all items from set (not checking shield)
+	 * Checks if player have equipped all items from set (not checking shield)
 	 * 
 	 * @param player
 	 *            whose inventory is being checked

+ 0 - 3
L2J_Server_BETA/java/com/l2jserver/gameserver/model/L2Augmentation.java

@@ -50,9 +50,6 @@ public final class L2Augmentation
 		this(effects, skill != 0 ? SkillTable.getInstance().getInfo(skill, skillLevel) : null);
 	}
 	
-	// =========================================================
-	// Nested Class
-	
 	public static class AugmentationStatBoni
 	{
 		private Stats _stats[];

+ 0 - 3
L2J_Server_BETA/java/com/l2jserver/gameserver/model/L2Fishing.java

@@ -31,8 +31,6 @@ import com.l2jserver.util.Rnd;
 
 public class L2Fishing implements Runnable
 {
-	// =========================================================
-	// Data Field
 	private L2PcInstance _fisher;
 	private int _time;
 	private int _stop = 0;
@@ -71,7 +69,6 @@ public class L2Fishing implements Runnable
 		else aiTask();
 	}
 	
-	// =========================================================
 	public L2Fishing(L2PcInstance Fisher, FishData fish, boolean isNoob, boolean isUpperGrade)
 	{
 		_fisher = Fisher;

+ 0 - 14
L2J_Server_BETA/java/com/l2jserver/gameserver/model/L2Object.java

@@ -49,8 +49,6 @@ import com.l2jserver.gameserver.network.serverpackets.L2GameServerPacket;
  */
 public abstract class L2Object
 {
-	// =========================================================
-	// Data Field
 	private boolean _isVisible;                 // Object visibility
 	private ObjectKnownList _knownList;
 	private String _name;
@@ -61,8 +59,6 @@ public abstract class L2Object
 	
 	private InstanceType _instanceType = null;
 	
-	// =========================================================
-	// Constructor
 	public L2Object(int objectId)
 	{
 		setInstanceType(InstanceType.L2Object);
@@ -271,8 +267,6 @@ public abstract class L2Object
 		return _instanceType.isTypes(i);
 	}
 	
-	// =========================================================
-	// Event - Public
 	public final void onAction(L2PcInstance player)
 	{
 		onAction(player, true);
@@ -313,7 +307,6 @@ public abstract class L2Object
 	{
 	}
 	
-	// =========================================================
 	// Position - Should remove to fully move to L2ObjectPosition
 	public final void setXYZ(int x, int y, int z)
 	{
@@ -426,8 +419,6 @@ public abstract class L2Object
 		return getPosition().getZ();
 	}
 	
-	// =========================================================
-	// Method - Public
 	/**
 	 * Remove a L2Object from the world.<BR><BR>
 	 *
@@ -554,11 +545,6 @@ public abstract class L2Object
 			spawnMe();
 	}
 	
-	// =========================================================
-	// Method - Private
-	
-	// =========================================================
-	// Property - Public
 	public boolean isAttackable()
 	{
 		return false;

+ 1 - 1
L2J_Server_BETA/java/com/l2jserver/gameserver/model/L2RecipeInstance.java

@@ -15,7 +15,7 @@
 package com.l2jserver.gameserver.model;
 
 /**
- * This class describes a RecipeList componant (1 line of the recipe : Item-Quantity needed).<BR><BR>
+ * This class describes a RecipeList component (1 line of the recipe : Item-Quantity needed).<BR><BR>
  */
 public class L2RecipeInstance
 {

+ 0 - 11
L2J_Server_BETA/java/com/l2jserver/gameserver/model/L2SiegeClan.java

@@ -22,10 +22,6 @@ import com.l2jserver.gameserver.model.actor.L2Npc;
 
 public class L2SiegeClan
 {
-	// ==========================================================================================
-	// Instance
-	// ===============================================================
-	// Data Field
 	private int _clanId = 0;
 	private List<L2Npc> _flag = new FastList<L2Npc>();
 	private int _numFlagsAdded = 0;
@@ -39,17 +35,12 @@ public class L2SiegeClan
 		DEFENDER_PENDING
 	}
 	
-	// =========================================================
-	// Constructor
-	
 	public L2SiegeClan(int clanId, SiegeClanType type)
 	{
 		_clanId = clanId;
 		_type = type;
 	}
 	
-	// =========================================================
-	// Method - Public
 	public int getNumFlags()
 	{
 		return _numFlagsAdded;
@@ -91,8 +82,6 @@ public class L2SiegeClan
 		}
 	}
 	
-	// =========================================================
-	// Property
 	public final int getClanId()
 	{
 		return _clanId;

+ 4 - 8
L2J_Server_BETA/java/com/l2jserver/gameserver/model/L2Territory.java

@@ -12,14 +12,6 @@
  * You should have received a copy of the GNU General Public License along with
  * this program. If not, see <http://www.gnu.org/licenses/>.
  */
-/**
-	coded by Balancer
-	balancer@balancer.ru
-	http://balancer.ru
-
-	version 0.1, 2005-03-12
- */
-
 package com.l2jserver.gameserver.model;
 
 import java.util.List;
@@ -29,6 +21,10 @@ import javolution.util.FastList;
 
 import com.l2jserver.util.Rnd;
 
+/**
+ * @version 0.1, 2005-03-12
+ * @author Balancer
+ */
 public class L2Territory
 {
 	private static Logger _log = Logger.getLogger(L2Territory.class.getName());

+ 0 - 2
L2J_Server_BETA/java/com/l2jserver/gameserver/model/TerritoryWard.java

@@ -44,8 +44,6 @@ public class TerritoryWard
 	private int _heading;
 	private int _territoryId;
 	
-	// =========================================================
-	// Constructor
 	public TerritoryWard(int territory_id, int x, int y, int z, int heading, int item_id, int castleId, L2Npc npc)
 	{
 		_territoryId = territory_id;

+ 0 - 30
L2J_Server_BETA/java/com/l2jserver/gameserver/model/actor/L2Character.java

@@ -144,8 +144,6 @@ public abstract class L2Character extends L2Object
 {
 	public static final Logger _log = Logger.getLogger(L2Character.class.getName());
 	
-	// =========================================================
-	// Data Field
 	private Set<L2Character> _attackByList;
 	private volatile boolean _isCastingNow = false;
 	private volatile boolean _isCastingSimultaneouslyNow = false;
@@ -444,8 +442,6 @@ public abstract class L2Character extends L2Object
 		_hpUpdateDecCheck = _hpUpdateIncCheck - _hpUpdateInterval;
 	}
 	
-	// =========================================================
-	// Event - Public
 	/**
 	 * Remove the L2Character from the world when the decay task is launched.<BR><BR>
 	 *
@@ -487,8 +483,6 @@ public abstract class L2Character extends L2Object
 			doRevive();
 	}
 	
-	// =========================================================
-	// Method - Public
 	/**
 	 * Add L2Character instance that is attacking to the attacker list.<BR><BR>
 	 * @param player The L2Character that attacks this one
@@ -745,8 +739,6 @@ public abstract class L2Character extends L2Object
 			teleToLocation(x, y, z, heading, 0);
 	}
 	
-	// =========================================================
-	// Method - Private
 	/**
 	 * Launch a physical attack against a target (Simple, Bow, Pole or Dual).<BR><BR>
 	 *
@@ -1405,7 +1397,6 @@ public abstract class L2Character extends L2Object
 		
 		/*if (angleChar <= 0)
 		    angleChar += 360;*/
-		// ===========================================================
 		
 		boolean hitted = doAttackHitSimple(attack, target, 100, sAtk);
 		double attackpercent = 85;
@@ -2388,8 +2379,6 @@ public abstract class L2Character extends L2Object
 		doRevive();
 	}
 	
-	// =========================================================
-	// Property - Public
 	/**
 	 * @return the L2CharacterAI of the L2Character and if its null create a new one.
 	 */
@@ -3018,7 +3007,6 @@ public abstract class L2Character extends L2Object
 		}
 	}
 	
-	// =========================================================
 	/** Task launching the magic skill phases */
 	class FlyToLocationTask implements Runnable
 	{
@@ -3052,9 +3040,7 @@ public abstract class L2Character extends L2Object
 		}
 	}
 	
-	// =========================================================
 	// Abnormal Effect - NEED TO REMOVE ONCE L2CHARABNORMALEFFECT IS COMPLETE
-	// Data Field
 	/** Map 32 bits (0x0000) containing all abnormal effect in progress */
 	private int _AbnormalEffects;
 	
@@ -3062,7 +3048,6 @@ public abstract class L2Character extends L2Object
 	
 	private int _SpecialEffects;
 	
-	// Method - Public
 	/**
 	 * Launch and add L2Effect (including Stack Group management) to L2Character and update client magic icon.<BR><BR>
 	 *
@@ -3604,7 +3589,6 @@ public abstract class L2Character extends L2Object
 		// overridden
 	}
 	
-	// Property - Public
 	/**
 	 * <B><U> Concept</U> :</B><BR><BR>
 	 * In Server->Client packet, each effect is represented by 1 bit of the map (ex : BLEEDING = 0x0001 (bit 1), SLEEP = 0x0080 (bit 8)...).
@@ -3716,8 +3700,6 @@ public abstract class L2Character extends L2Object
 		return _effects.getFirstEffect(tp);
 	}
 	
-	// =========================================================
-	// =========================================================
 	// NEED TO ORGANIZE AND MOVE TO PROPER PLACE
 	/** This class permit to the L2Character AI to obtain informations and uses L2Character method */
 	public class AIAccessor
@@ -7084,17 +7066,12 @@ public abstract class L2Character extends L2Object
 	 */
 	public abstract int getLevel();
 	
-	// =========================================================
-	
-	// =========================================================
 	// Stat - NEED TO REMOVE ONCE L2CHARSTAT IS COMPLETE
-	// Property - Public
 	public final double calcStat(Stats stat, double init, L2Character target, L2Skill skill)
 	{
 		return getStat().calcStat(stat, init, target, skill);
 	}
 	
-	// Property - Public
 	public int getAccuracy()
 	{
 		return getStat().getAccuracy();
@@ -7330,11 +7307,7 @@ public abstract class L2Character extends L2Object
 		return getStat().getWIT();
 	}
 	
-	// =========================================================
-	
-	// =========================================================
 	// Status - NEED TO REMOVE ONCE L2CHARTATUS IS COMPLETE
-	// Method - Public
 	public void addStatusListener(L2Character object)
 	{
 		getStatus().addStatusListener(object);
@@ -7373,7 +7346,6 @@ public abstract class L2Character extends L2Object
 		getStatus().stopHpMpRegeneration();
 	}
 	
-	// Property - Public
 	public final double getCurrentCp()
 	{
 		return getStatus().getCurrentCp();
@@ -7419,8 +7391,6 @@ public abstract class L2Character extends L2Object
 		getStatus().setCurrentMp(newMp);
 	}
 	
-	// =========================================================
-	
 	public boolean isChampion()
 	{
 		return false;

+ 0 - 1
L2J_Server_BETA/java/com/l2jserver/gameserver/model/actor/L2Decoy.java

@@ -12,7 +12,6 @@
  * You should have received a copy of the GNU General Public License along with
  * this program. If not, see <http://www.gnu.org/licenses/>.
  */
-
 package com.l2jserver.gameserver.model.actor;
 
 import java.util.Collection;

+ 0 - 12
L2J_Server_BETA/java/com/l2jserver/gameserver/model/actor/appearance/PcAppearance.java

@@ -18,8 +18,6 @@ import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
 
 public class PcAppearance
 {
-	// =========================================================
-	// Data Field
 	private L2PcInstance _owner;
 	
 	private byte _face;
@@ -46,8 +44,6 @@ public class PcAppearance
 	/** The hexadecimal Color of players name (white is 0xFFFFFF) */
 	private int _titleColor = 0xFFFF77;
 	
-	// =========================================================
-	// Constructor
 	public PcAppearance(byte face, byte hColor, byte hStyle, boolean sex)
 	{
 		_face = face;
@@ -56,12 +52,6 @@ public class PcAppearance
 		_sex = sex;
 	}
 	
-	// =========================================================
-	// Method - Public
-	
-	// =========================================================
-	// Method - Private
-	
 	/**
 	 * @param visibleName
 	 * The visibleName to set.
@@ -104,8 +94,6 @@ public class PcAppearance
 		return _visibleTitle;
 	}
 	
-	// =========================================================
-	// Property - Public
 	public final byte getFace()
 	{
 		return _face;

+ 10 - 8
L2J_Server_BETA/java/com/l2jserver/gameserver/model/actor/instance/L2CubicInstance.java

@@ -1,14 +1,16 @@
 /*
- * This program is free software: you can redistribute it and/or modify it under the terms of the
- * GNU General Public License as published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
+ * This program is free software: you can redistribute it and/or modify it under
+ * the terms of the GNU General Public License as published by the Free Software
+ * Foundation, either version 3 of the License, or (at your option) any later
+ * version.
  * 
- * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
- * even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * General Public License for more details.
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+ * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
+ * details.
  * 
- * You should have received a copy of the GNU General Public License along with this program. If
- * not, see <http://www.gnu.org/licenses/>.
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <http://www.gnu.org/licenses/>.
  */
 package com.l2jserver.gameserver.model.actor.instance;
 

+ 15 - 2
L2J_Server_BETA/java/com/l2jserver/gameserver/model/actor/instance/L2EventChestInstance.java

@@ -1,3 +1,17 @@
+/*
+ * This program is free software: you can redistribute it and/or modify it under
+ * the terms of the GNU General Public License as published by the Free Software
+ * Foundation, either version 3 of the License, or (at your option) any later
+ * version.
+ * 
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+ * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
+ * details.
+ * 
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <http://www.gnu.org/licenses/>.
+ */
 package com.l2jserver.gameserver.model.actor.instance;
 
 import java.util.Collection;
@@ -8,8 +22,7 @@ import com.l2jserver.gameserver.network.serverpackets.AbstractNpcInfo;
 import com.l2jserver.gameserver.network.serverpackets.L2GameServerPacket;
 
 /**
- ** @author Gnacik
- **
+ * @author Gnacik
  */
 public final class L2EventChestInstance extends L2EventMonsterInstance
 {

+ 2 - 2
L2J_Server_BETA/java/com/l2jserver/gameserver/model/actor/instance/L2FeedableBeastInstance.java

@@ -16,10 +16,10 @@ package com.l2jserver.gameserver.model.actor.instance;
 
 import com.l2jserver.gameserver.model.actor.templates.L2NpcTemplate;
 
-// This class is here mostly for convinience and for avoidance of hardcoded IDs.
+// This class is here mostly for convenience and for avoidance of hardcoded IDs.
 // It refers to Beast (mobs) that can be attacked but can also be fed
 // For example, the Beast Farm's Alpen Buffalo.
-// This class is only trully used by the handlers in order to check the correctness
+// This class is only truly used by the handlers in order to check the correctness
 // of the target.  However, no additional tasks are needed, since they are all
 // handled by scripted AI.
 public class L2FeedableBeastInstance extends L2MonsterInstance

+ 0 - 9
L2J_Server_BETA/java/com/l2jserver/gameserver/model/actor/knownlist/DefenderKnownList.java

@@ -27,18 +27,11 @@ import com.l2jserver.gameserver.model.entity.clanhall.SiegableHall;
 
 public class DefenderKnownList extends AttackableKnownList
 {
-	// =========================================================
-	// Data Field
-	
-	// =========================================================
-	// Constructor
 	public DefenderKnownList(L2DefenderInstance activeChar)
 	{
 		super(activeChar);
 	}
 	
-	// =========================================================
-	// Method - Public
 	@Override
 	public boolean addKnownObject(L2Object object)
 	{
@@ -71,8 +64,6 @@ public class DefenderKnownList extends AttackableKnownList
 		return true;
 	}
 	
-	// =========================================================
-	// Property - Public
 	@Override
 	public final L2DefenderInstance getActiveChar()
 	{

+ 0 - 13
L2J_Server_BETA/java/com/l2jserver/gameserver/model/actor/knownlist/DoorKnownList.java

@@ -21,24 +21,11 @@ import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
 
 public class DoorKnownList extends CharKnownList
 {
-	// =========================================================
-	// Data Field
-	
-	// =========================================================
-	// Constructor
 	public DoorKnownList(L2DoorInstance activeChar)
 	{
 		super(activeChar);
 	}
 	
-	// =========================================================
-	// Method - Public
-	
-	// =========================================================
-	// Method - Private
-	
-	// =========================================================
-	// Property - Public
 	@Override
 	public final L2DoorInstance getActiveChar() { return (L2DoorInstance)super.getActiveChar(); }
 	

+ 0 - 12
L2J_Server_BETA/java/com/l2jserver/gameserver/model/actor/knownlist/NpcKnownList.java

@@ -32,25 +32,13 @@ import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
 
 public class NpcKnownList extends CharKnownList
 {
-	// =========================================================
-	// Data Field
 	private ScheduledFuture<?> _trackingTask = null;
 	
-	// =========================================================
-	// Constructor
 	public NpcKnownList(L2Npc activeChar)
 	{
 		super(activeChar);
 	}
 	
-	// =========================================================
-	// Method - Public
-	
-	// =========================================================
-	// Method - Private
-	
-	// =========================================================
-	// Property - Public
 	@Override
 	public L2Npc getActiveChar()
 	{

+ 4 - 14
L2J_Server_BETA/java/com/l2jserver/gameserver/model/actor/knownlist/PlayableKnownList.java

@@ -18,24 +18,14 @@ import com.l2jserver.gameserver.model.actor.L2Playable;
 
 public class PlayableKnownList extends CharKnownList
 {
-	// =========================================================
-	// Data Field
-	
-	// =========================================================
-	// Constructor
 	public PlayableKnownList(L2Playable activeChar)
 	{
 		super(activeChar);
 	}
 	
-	// =========================================================
-	// Method - Public
-	
-	// =========================================================
-	// Method - Private
-	
-	// =========================================================
-	// Property - Public
 	@Override
-	public L2Playable getActiveChar() { return (L2Playable)super.getActiveChar(); }
+	public L2Playable getActiveChar()
+	{
+		return (L2Playable) super.getActiveChar();
+	}
 }

+ 0 - 11
L2J_Server_BETA/java/com/l2jserver/gameserver/model/actor/knownlist/RaceManagerKnownList.java

@@ -26,18 +26,12 @@ import com.l2jserver.gameserver.network.serverpackets.DeleteObject;
 public class RaceManagerKnownList extends NpcKnownList
 {
 	protected static final Logger _log = Logger.getLogger(RaceManagerKnownList.class.getName());
-	// =========================================================
-	// Data Field
 	
-	// =========================================================
-	// Constructor
 	public RaceManagerKnownList(L2RaceManagerInstance activeChar)
 	{
 		super(activeChar);
 	}
 	
-	// =========================================================
-	// Method - Public
 	@Override
 	public boolean addKnownObject(L2Object object)
 	{
@@ -72,11 +66,6 @@ public class RaceManagerKnownList extends NpcKnownList
 		return true;
 	}
 	
-	// =========================================================
-	// Method - Private
-	
-	// =========================================================
-	// Property - Public
 	@Override
 	public L2RaceManagerInstance getActiveChar() { return (L2RaceManagerInstance)super.getActiveChar(); }
 }

+ 0 - 13
L2J_Server_BETA/java/com/l2jserver/gameserver/model/actor/knownlist/StaticObjectKnownList.java

@@ -21,24 +21,11 @@ import com.l2jserver.gameserver.model.actor.instance.L2StaticObjectInstance;
 
 public class StaticObjectKnownList extends CharKnownList
 {
-	// =========================================================
-	// Data Field
-	
-	// =========================================================
-	// Constructor
 	public StaticObjectKnownList(L2StaticObjectInstance activeChar)
 	{
 		super(activeChar);
 	}
 	
-	// =========================================================
-	// Method - Public
-	
-	// =========================================================
-	// Method - Private
-	
-	// =========================================================
-	// Property - Public
 	@Override
 	public final L2StaticObjectInstance getActiveChar() { return (L2StaticObjectInstance)super.getActiveChar(); }
 	

+ 12 - 16
L2J_Server_BETA/java/com/l2jserver/gameserver/model/actor/knownlist/SummonKnownList.java

@@ -19,34 +19,30 @@ import com.l2jserver.gameserver.model.actor.L2Summon;
 
 public class SummonKnownList extends PlayableKnownList
 {
-	// =========================================================
-	// Data Field
-	
-	// =========================================================
-	// Constructor
 	public SummonKnownList(L2Summon activeChar)
 	{
 		super(activeChar);
 	}
 	
-	// =========================================================
-	// Method - Public
-	
-	// =========================================================
-	// Method - Private
-	
-	// =========================================================
-	// Property - Public
 	@Override
-	public final L2Summon getActiveChar() { return (L2Summon)super.getActiveChar(); }
+	public final L2Summon getActiveChar()
+	{
+		return (L2Summon) super.getActiveChar();
+	}
 	
 	@Override
 	public int getDistanceToForgetObject(L2Object object)
 	{
-		if (object == getActiveChar().getOwner() || object == getActiveChar().getTarget()) return 6000;
+		if ((object == getActiveChar().getOwner()) || (object == getActiveChar().getTarget()))
+		{
+			return 6000;
+		}
 		return 3000;
 	}
 	
 	@Override
-	public int getDistanceToWatchObject(L2Object object) { return 1500; }
+	public int getDistanceToWatchObject(L2Object object)
+	{
+		return 1500;
+	}
 }

+ 23 - 17
L2J_Server_BETA/java/com/l2jserver/gameserver/model/actor/poly/ObjectPoly.java

@@ -18,42 +18,48 @@ import com.l2jserver.gameserver.model.L2Object;
 
 public class ObjectPoly
 {
-	// =========================================================
-	// Data Field
-	private L2Object _activeObject;
+	private final L2Object _activeObject;
 	private int _polyId;
 	private String _polyType;
 	
-	// =========================================================
-	// Constructor
 	public ObjectPoly(L2Object activeObject)
 	{
 		_activeObject = activeObject;
 	}
 	
-	// =========================================================
-	// Method - Public
 	public void setPolyInfo(String polyType, String polyId)
 	{
 		setPolyId(Integer.parseInt(polyId));
 		setPolyType(polyType);
 	}
 	
-	// =========================================================
-	// Method - Private
-	
-	// =========================================================
-	// Property - Public
 	public final L2Object getActiveObject()
 	{
 		return _activeObject;
 	}
 	
-	public final boolean isMorphed() { return getPolyType() != null; }
+	public final boolean isMorphed()
+	{
+		return getPolyType() != null;
+	}
 	
-	public final int getPolyId() { return _polyId; }
-	public final void setPolyId(int value) { _polyId = value; }
+	public final int getPolyId()
+	{
+		return _polyId;
+	}
 	
-	public final String getPolyType() { return _polyType; }
-	public final void setPolyType(String value) { _polyType = value; }
+	public final void setPolyId(int value)
+	{
+		_polyId = value;
+	}
+	
+	public final String getPolyType()
+	{
+		return _polyType;
+	}
+	
+	public final void setPolyType(String value)
+	{
+		_polyType = value;
+	}
 }

+ 1 - 5
L2J_Server_BETA/java/com/l2jserver/gameserver/model/actor/position/CharPosition.java

@@ -18,13 +18,10 @@ import com.l2jserver.gameserver.model.L2WorldRegion;
 import com.l2jserver.gameserver.model.actor.L2Character;
 
 /**
- *
- * @author  Erb
+ * @author Erb
  */
 public class CharPosition extends ObjectPosition
 {
-	// =========================================================
-	// Constructor
 	public CharPosition(L2Character activeObject)
 	{
 		super(activeObject);
@@ -46,7 +43,6 @@ public class CharPosition extends ObjectPosition
 			else
 				getWorldRegion().removeFromZones((L2Character)getActiveObject());    // at world region change
 		}
-		
 		super.setWorldRegion(value);
 	}
 }

+ 115 - 64
L2J_Server_BETA/java/com/l2jserver/gameserver/model/actor/position/ObjectPosition.java

@@ -22,50 +22,47 @@ import com.l2jserver.gameserver.model.L2WorldRegion;
 import com.l2jserver.gameserver.model.actor.L2Character;
 import com.l2jserver.gameserver.util.Point3D;
 
-
 public class ObjectPosition
 {
 	private static final Logger _log = Logger.getLogger(ObjectPosition.class.getName());
 	
-	// =========================================================
-	// Data Field
-	private L2Object _activeObject;
-	private int _heading    = 0;
+	private final L2Object _activeObject;
+	private int _heading = 0;
 	private Point3D _worldPosition;
-	private L2WorldRegion _worldRegion;         // Object localization : Used for items/chars that are seen in the world
+	private L2WorldRegion _worldRegion; // Object localization : Used for items/chars that are seen in the world
 	
-	// =========================================================
-	// Constructor
 	public ObjectPosition(L2Object activeObject)
 	{
 		_activeObject = activeObject;
 		setWorldRegion(L2World.getInstance().getRegion(getWorldPosition()));
 	}
 	
-	// =========================================================
-	// Method - Public
 	/**
-	 * Set the x,y,z position of the L2Object and if necessary modify its _worldRegion.<BR><BR>
-	 *
-	 * <B><U> Assert </U> :</B><BR><BR>
-	 * <li> _worldRegion != null</li><BR><BR>
-	 *
-	 * <B><U> Example of use </U> :</B><BR><BR>
-	 * <li> Update position during and after movement, or after teleport </li><BR>
-	 * @param x 
-	 * @param y 
-	 * @param z 
+	 * Set the x,y,z position of the L2Object and if necessary modify its _worldRegion.<BR>
+	 * <BR>
+	 * <B><U> Assert </U> :</B><BR>
+	 * <BR>
+	 * <li>_worldRegion != null</li><BR>
+	 * <BR>
+	 * <B><U> Example of use </U> :</B><BR>
+	 * <BR>
+	 * <li>Update position during and after movement, or after teleport</li><BR>
+	 * @param x
+	 * @param y
+	 * @param z
 	 */
 	public final void setXYZ(int x, int y, int z)
 	{
 		assert getWorldRegion() != null;
 		
-		setWorldPosition(x, y ,z);
+		setWorldPosition(x, y, z);
 		
 		try
 		{
 			if (L2World.getInstance().getRegion(getWorldPosition()) != getWorldRegion())
+			{
 				updateWorldRegion();
+			}
 		}
 		catch (Exception e)
 		{
@@ -75,10 +72,11 @@ public class ObjectPosition
 	}
 	
 	/**
-	 * Called on setXYZ exception.<BR><BR>
-	 * <B><U> Overwritten in </U> :</B><BR><BR>
-	 * <li> CharPosition</li>
-	 * <li> PcPosition</li><BR>
+	 * Called on setXYZ exception.<BR>
+	 * <BR>
+	 * <B><U> Overwritten in </U> :</B><BR>
+	 * <BR>
+	 * <li>CharPosition</li> <li>PcPosition</li><BR>
 	 */
 	protected void badCoords()
 	{
@@ -86,30 +84,44 @@ public class ObjectPosition
 	}
 	
 	/**
-	 * Set the x,y,z position of the L2Object and make it invisible.<BR><BR>
-	 *
-	 * <B><U> Concept</U> :</B><BR><BR>
-	 * A L2Object is invisble if <B>_hidden</B>=true or <B>_worldregion</B>==null <BR><BR>
-	 *
-	 * <B><U> Assert </U> :</B><BR><BR>
-	 * <li> _worldregion==null <I>(L2Object is invisible)</I></li><BR><BR>
-	 *
-	 * <B><U> Example of use </U> :</B><BR><BR>
-	 * <li> Create a Door</li>
-	 * <li> Restore L2PcInstance</li><BR>
-	 * @param x 
-	 * @param y 
-	 * @param z 
+	 * Set the x,y,z position of the L2Object and make it invisible.<BR>
+	 * <BR>
+	 * <B><U> Concept</U> :</B><BR>
+	 * <BR>
+	 * A L2Object is invisble if <B>_hidden</B>=true or <B>_worldregion</B>==null <BR>
+	 * <BR>
+	 * <B><U> Assert </U> :</B><BR>
+	 * <BR>
+	 * <li>_worldregion==null <I>(L2Object is invisible)</I></li><BR>
+	 * <BR>
+	 * <B><U> Example of use </U> :</B><BR>
+	 * <BR>
+	 * <li>Create a Door</li> <li>Restore L2PcInstance</li><BR>
+	 * @param x
+	 * @param y
+	 * @param z
 	 */
 	public final void setXYZInvisible(int x, int y, int z)
 	{
 		assert getWorldRegion() == null;
-		if (x > L2World.MAP_MAX_X) x = L2World.MAP_MAX_X - 5000;
-		if (x < L2World.MAP_MIN_X) x = L2World.MAP_MIN_X + 5000;
-		if (y > L2World.MAP_MAX_Y) y = L2World.MAP_MAX_Y - 5000;
-		if (y < L2World.MAP_MIN_Y) y = L2World.MAP_MIN_Y + 5000;
+		if (x > L2World.MAP_MAX_X)
+		{
+			x = L2World.MAP_MAX_X - 5000;
+		}
+		if (x < L2World.MAP_MIN_X)
+		{
+			x = L2World.MAP_MIN_X + 5000;
+		}
+		if (y > L2World.MAP_MAX_Y)
+		{
+			y = L2World.MAP_MAX_Y - 5000;
+		}
+		if (y < L2World.MAP_MIN_Y)
+		{
+			y = L2World.MAP_MIN_Y + 5000;
+		}
 		
-		setWorldPosition(x, y ,z);
+		setWorldPosition(x, y, z);
 		getActiveObject().setIsVisible(false);
 	}
 	
@@ -118,7 +130,10 @@ public class ObjectPosition
 	 */
 	public void updateWorldRegion()
 	{
-		if (!getActiveObject().isVisible()) return;
+		if (!getActiveObject().isVisible())
+		{
+			return;
+		}
 		
 		L2WorldRegion newRegion = L2World.getInstance().getRegion(getWorldPosition());
 		if (newRegion != getWorldRegion())
@@ -132,36 +147,59 @@ public class ObjectPosition
 		}
 	}
 	
-	// =========================================================
-	// Method - Private
-	
-	// =========================================================
-	// Property - Public
 	public L2Object getActiveObject()
 	{
 		return _activeObject;
 	}
 	
-	public final int getHeading() { return _heading; }
-	public final void setHeading(int value) { _heading = value; }
+	public final int getHeading()
+	{
+		return _heading;
+	}
+	
+	public final void setHeading(int value)
+	{
+		_heading = value;
+	}
 	
 	/**
 	 * @return the x position of the L2Object.
 	 */
-	public final int getX() { return getWorldPosition().getX(); }
-	public final void setX(int value) { getWorldPosition().setX(value); }
+	public final int getX()
+	{
+		return getWorldPosition().getX();
+	}
+	
+	public final void setX(int value)
+	{
+		getWorldPosition().setX(value);
+	}
 	
 	/**
 	 * @return the y position of the L2Object.
 	 */
-	public final int getY() { return getWorldPosition().getY(); }
-	public final void setY(int value) { getWorldPosition().setY(value); }
+	public final int getY()
+	{
+		return getWorldPosition().getY();
+	}
+	
+	public final void setY(int value)
+	{
+		getWorldPosition().setY(value);
+	}
 	
 	/**
 	 * @return the z position of the L2Object.
 	 */
-	public final int getZ() { return getWorldPosition().getZ(); }
-	public final void setZ(int value) { getWorldPosition().setZ(value); }
+	public final int getZ()
+	{
+		return getWorldPosition().getZ();
+	}
+	
+	public final void setZ(int value)
+	{
+		getWorldPosition().setZ(value);
+	}
 	
 	public final Point3D getWorldPosition()
 	{
@@ -171,21 +209,34 @@ public class ObjectPosition
 		}
 		return _worldPosition;
 	}
+	
 	public final void setWorldPosition(int x, int y, int z)
 	{
-		getWorldPosition().setXYZ(x,y,z);
+		getWorldPosition().setXYZ(x, y, z);
+	}
+	
+	public final void setWorldPosition(Point3D newPosition)
+	{
+		setWorldPosition(newPosition.getX(), newPosition.getY(), newPosition.getZ());
+	}
+	
+	public final L2WorldRegion getWorldRegion()
+	{
+		return _worldRegion;
 	}
-	public final void setWorldPosition(Point3D newPosition) { setWorldPosition(newPosition.getX(), newPosition.getY(), newPosition.getZ()); }
 	
-	public final L2WorldRegion getWorldRegion() { return _worldRegion; }
 	public void setWorldRegion(L2WorldRegion value)
 	{
-		if(_worldRegion != null && getActiveObject() instanceof L2Character) // confirm revalidation of old region's zones
+		if ((_worldRegion != null) && (getActiveObject() instanceof L2Character)) // confirm revalidation of old region's zones
 		{
 			if (value != null)
-				_worldRegion.revalidateZones((L2Character)getActiveObject());    // at world region change
+			{
+				_worldRegion.revalidateZones((L2Character) getActiveObject()); // at world region change
+			}
 			else
-				_worldRegion.removeFromZones((L2Character)getActiveObject());    // at world region change
+			{
+				_worldRegion.removeFromZones((L2Character) getActiveObject()); // at world region change
+			}
 		}
 		
 		_worldRegion = value;

+ 3 - 6
L2J_Server_BETA/java/com/l2jserver/gameserver/model/actor/position/PcPosition.java

@@ -17,13 +17,10 @@ package com.l2jserver.gameserver.model.actor.position;
 import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
 
 /**
- *
- * @author  Erb
+ * @author Erb
  */
 public class PcPosition extends CharPosition
 {
-	// =========================================================
-	// Constructor
 	public PcPosition(L2PcInstance activeObject)
 	{
 		super(activeObject);
@@ -32,13 +29,13 @@ public class PcPosition extends CharPosition
 	@Override
 	public L2PcInstance getActiveObject()
 	{
-		return ((L2PcInstance)super.getActiveObject());
+		return ((L2PcInstance) super.getActiveObject());
 	}
 	
 	@Override
 	protected void badCoords()
 	{
-		getActiveObject().teleToLocation(0,0,0, false);
+		getActiveObject().teleToLocation(0, 0, 0, false);
 		getActiveObject().sendMessage("Error with your coords, Please ask a GM for help!");
 	}
 }

+ 9 - 16
L2J_Server_BETA/java/com/l2jserver/gameserver/model/actor/stat/DoorStat.java

@@ -18,29 +18,22 @@ import com.l2jserver.gameserver.model.actor.instance.L2DoorInstance;
 
 public class DoorStat extends CharStat
 {
-	// =========================================================
-	// Data Field
-	
-	// =========================================================
-	// Constructor
 	public DoorStat(L2DoorInstance activeChar)
 	{
 		super(activeChar);
 		
-		setLevel((byte)1);
+		setLevel((byte) 1);
 	}
 	
-	// =========================================================
-	// Method - Public
-	
-	// =========================================================
-	// Method - Private
-	
-	// =========================================================
-	// Property - Public
 	@Override
-	public L2DoorInstance getActiveChar() { return (L2DoorInstance)super.getActiveChar(); }
+	public L2DoorInstance getActiveChar()
+	{
+		return (L2DoorInstance) super.getActiveChar();
+	}
 	
 	@Override
-	public final byte getLevel() { return 1; }
+	public final byte getLevel()
+	{
+		return 1;
+	}
 }

+ 2 - 14
L2J_Server_BETA/java/com/l2jserver/gameserver/model/actor/stat/PcStat.java

@@ -38,9 +38,6 @@ public class PcStat extends PlayableStat
 {
 	//private static Logger _log = Logger.getLogger(PcStat.class.getName());
 	
-	// =========================================================
-	// Data Field
-	
 	private int _oldMaxHp; // stats watch
 	private int _oldMaxMp; // stats watch
 	private int _oldMaxCp; // stats watch
@@ -51,15 +48,11 @@ public class PcStat extends PlayableStat
 	public static final int MAX_VITALITY_POINTS = VITALITY_LEVELS[4];
 	public static final int MIN_VITALITY_POINTS = 1;
 	
-	// =========================================================
-	// Constructor
 	public PcStat(L2PcInstance activeChar)
 	{
 		super(activeChar);
 	}
 	
-	// =========================================================
-	// Method - Public
 	@Override
 	public boolean addExp(long value)
 	{
@@ -289,11 +282,6 @@ public class PcStat extends PlayableStat
 		return ExperienceTable.getInstance().getExpForLevel(level);
 	}
 	
-	// =========================================================
-	// Method - Private
-	
-	// =========================================================
-	// Property - Public
 	@Override
 	public final L2PcInstance getActiveChar()
 	{
@@ -640,7 +628,7 @@ public class PcStat extends PlayableStat
 		nevits = RecoBonus.getRecoMultiplier(getActiveChar());
 		
 		// Bonus from Nevit's Hunting
-		// TODO: Nevit's hutning bonus
+		// TODO: Nevit's hunting bonus
 		
 		// Bonus exp from skills
 		bonusExp = calcStat(Stats.BONUS_EXP, 1.0, null, null);
@@ -685,7 +673,7 @@ public class PcStat extends PlayableStat
 		nevits = RecoBonus.getRecoMultiplier(getActiveChar());
 		
 		// Bonus from Nevit's Hunting
-		// TODO: Nevit's hutning bonus
+		// TODO: Nevit's hunting bonus
 		
 		// Bonus sp from skills
 		bonusSp = calcStat(Stats.BONUS_SP, 1.0, null, null);

+ 9 - 16
L2J_Server_BETA/java/com/l2jserver/gameserver/model/actor/stat/StaticObjStat.java

@@ -18,29 +18,22 @@ import com.l2jserver.gameserver.model.actor.instance.L2StaticObjectInstance;
 
 public class StaticObjStat extends CharStat
 {
-	// =========================================================
-	// Data Field
-	
-	// =========================================================
-	// Constructor
 	public StaticObjStat(L2StaticObjectInstance activeChar)
 	{
 		super(activeChar);
 		
-		setLevel((byte)1);
+		setLevel((byte) 1);
 	}
 	
-	// =========================================================
-	// Method - Public
-	
-	// =========================================================
-	// Method - Private
-	
-	// =========================================================
-	// Property - Public
 	@Override
-	public L2StaticObjectInstance getActiveChar() { return (L2StaticObjectInstance)super.getActiveChar(); }
+	public L2StaticObjectInstance getActiveChar()
+	{
+		return (L2StaticObjectInstance) super.getActiveChar();
+	}
 	
 	@Override
-	public final byte getLevel() { return 1; }
+	public final byte getLevel()
+	{
+		return 1;
+	}
 }

+ 4 - 14
L2J_Server_BETA/java/com/l2jserver/gameserver/model/actor/stat/SummonStat.java

@@ -18,24 +18,14 @@ import com.l2jserver.gameserver.model.actor.L2Summon;
 
 public class SummonStat extends PlayableStat
 {
-	// =========================================================
-	// Data Field
-	
-	// =========================================================
-	// Constructor
 	public SummonStat(L2Summon activeChar)
 	{
 		super(activeChar);
 	}
 	
-	// =========================================================
-	// Method - Public
-	
-	// =========================================================
-	// Method - Private
-	
-	// =========================================================
-	// Property - Public
 	@Override
-	public L2Summon getActiveChar() { return (L2Summon)super.getActiveChar(); }
+	public L2Summon getActiveChar()
+	{
+		return (L2Summon) super.getActiveChar();
+	}
 }

+ 1 - 15
L2J_Server_BETA/java/com/l2jserver/gameserver/model/entity/Castle.java

@@ -65,8 +65,6 @@ public class Castle
 {
 	protected static final Logger _log = Logger.getLogger(Castle.class.getName());
 	
-	// =========================================================
-	// Data Field
 	private List<CropProcure> _procure = new ArrayList<CropProcure>();
 	private List<SeedProduction> _production = new ArrayList<SeedProduction>();
 	private List<CropProcure> _procureNext = new ArrayList<CropProcure>();
@@ -79,8 +77,7 @@ public class Castle
 	private static final String CASTLE_MANOR_DELETE_PROCURE_PERIOD = "DELETE FROM castle_manor_procure WHERE castle_id=? AND period=?;";
 	private static final String CASTLE_UPDATE_CROP = "UPDATE castle_manor_procure SET can_buy=? WHERE crop_id=? AND castle_id=? AND period=?";
 	private static final String CASTLE_UPDATE_SEED = "UPDATE castle_manor_production SET can_produce=? WHERE seed_id=? AND castle_id=? AND period=?";
-	// =========================================================
-	// Data Field
+	
 	private int _castleId = 0;
 	private List<L2DoorInstance> _doors = new FastList<L2DoorInstance>();
 	private List<String> _doorDefault = new FastList<String>();
@@ -254,8 +251,6 @@ public class Castle
 		}
 	}
 	
-	// =========================================================
-	// Constructor
 	public Castle(int castleId)
 	{
 		_castleId = castleId;
@@ -283,9 +278,6 @@ public class Castle
 		}
 	}
 	
-	// =========================================================
-	// Method - Public
-	
 	/**
 	 * Return function with id 
 	 * @param type 
@@ -697,8 +689,6 @@ public class Castle
 		saveDoorUpgrade(doorId, hp, pDef, mDef);
 	}
 	
-	// =========================================================
-	// Method - Private
 	// This method loads castle
 	private void load()
 	{
@@ -993,7 +983,6 @@ public class Castle
 			con = L2DatabaseFactory.getInstance().getConnection();
 			PreparedStatement statement;
 			
-			// ============================================================================
 			// NEED TO REMOVE HAS CASTLE FLAG FROM CLAN_DATA
 			// SHOULD BE CHECKED FROM CASTLE TABLE
 			statement = con.prepareStatement("UPDATE clan_data SET hasCastle=0 WHERE hasCastle=?");
@@ -1006,7 +995,6 @@ public class Castle
 			statement.setInt(2, getOwnerId());
 			statement.execute();
 			statement.close();
-			// ============================================================================
 			
 			// Announce to clan memebers
 			if (clan != null)
@@ -1027,8 +1015,6 @@ public class Castle
 		}
 	}
 	
-	// =========================================================
-	// Property
 	public final int getCastleId()
 	{
 		return _castleId;

+ 0 - 6
L2J_Server_BETA/java/com/l2jserver/gameserver/model/entity/Couple.java

@@ -25,17 +25,13 @@ import com.l2jserver.L2DatabaseFactory;
 import com.l2jserver.gameserver.idfactory.IdFactory;
 import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
 
-
 /**
  * @author evill33t
- *
  */
 public class Couple
 {
 	private static final Logger _log = Logger.getLogger(Couple.class.getName());
 	
-	// =========================================================
-	// Data Field
 	private int _Id = 0;
 	private int _player1Id = 0;
 	private int _player2Id = 0;
@@ -43,8 +39,6 @@ public class Couple
 	private Calendar _affiancedDate;
 	private Calendar _weddingDate;
 	
-	// =========================================================
-	// Constructor
 	public Couple(int coupleId)
 	{
 		_Id = coupleId;

+ 1 - 16
L2J_Server_BETA/java/com/l2jserver/gameserver/model/entity/Duel.java

@@ -47,8 +47,6 @@ public class Duel
 	public static final int DUELSTATE_WINNER = 3;
 	public static final int DUELSTATE_INTERRUPTED = 4;
 	
-	// =========================================================
-	// Data Field
 	private int _duelId;
 	private L2PcInstance _playerA;
 	private L2PcInstance _playerB;
@@ -71,8 +69,6 @@ public class Duel
 		Timeout
 	}
 	
-	// =========================================================
-	// Constructor
 	public Duel(L2PcInstance playerA, L2PcInstance playerB, int partyDuel, int duelId)
 	{
 		_duelId = duelId;
@@ -103,9 +99,6 @@ public class Duel
 		ThreadPoolManager.getInstance().scheduleGeneral(new ScheduleStartDuelTask(this), 3000);
 	}
 	
-	// ===============================================================
-	// Nested Class
-	
 	public static class PlayerCondition
 	{
 		private L2PcInstance _player;
@@ -174,8 +167,6 @@ public class Duel
 		}
 	}
 	
-	// ===============================================================
-	// Schedule task
 	public class ScheduleDuelTask implements Runnable
 	{
 		private Duel _duel;
@@ -280,9 +271,6 @@ public class Duel
 		}
 	}
 	
-	// ========================================================
-	// Method - Private
-	
 	/**
 	 * Stops all players from attacking.
 	 * Used for duel timeout / interrupt.
@@ -321,9 +309,6 @@ public class Duel
 		}
 	}
 	
-	// ========================================================
-	// Method - Public
-	
 	/**
 	 * Check if a player engaged in pvp combat (only for 1on1 duels)
 	 * @param sendMessage 
@@ -516,7 +501,7 @@ public class Duel
 	}
 	
 	/**
-	 * Get the player that requestet the duel
+	 * Get the player that requested the duel
 	 * @return duel requester
 	 */
 	public L2PcInstance getPlayerA()

+ 0 - 10
L2J_Server_BETA/java/com/l2jserver/gameserver/model/entity/Fort.java

@@ -66,8 +66,6 @@ public class Fort
 {
 	protected static final Logger _log = Logger.getLogger(Fort.class.getName());
 	
-	// =========================================================
-	// Data Field
 	private int _fortId = 0;
 	private List<L2DoorInstance> _doors = new FastList<L2DoorInstance>();
 	private L2StaticObjectInstance _flagPole = null;
@@ -245,8 +243,6 @@ public class Fort
 		}
 	}
 	
-	// =========================================================
-	// Constructor
 	public Fort(int fortId)
 	{
 		_fortId = fortId;
@@ -323,9 +319,6 @@ public class Fort
 		}
 	}
 	
-	// =========================================================
-	// Method - Public
-	
 	public void endOfSiege(L2Clan clan)
 	{
 		ThreadPoolManager.getInstance().scheduleGeneral(new endFortressSiege(this, clan), 1000);
@@ -615,8 +608,6 @@ public class Fort
 		}
 	}
 	
-	// =========================================================
-	// Method - Private
 	// This method loads fort
 	private void load()
 	{
@@ -972,7 +963,6 @@ public class Fort
 			statement.execute();
 			statement.close();
 			
-			// ============================================================================
 			// Announce to clan memebers
 			if (clan != null)
 			{

+ 0 - 2
L2J_Server_BETA/java/com/l2jserver/gameserver/model/entity/FortSiege.java

@@ -837,8 +837,6 @@ public class FortSiege implements Siegable
 		}
 	}
 	
-	// =========================================================
-	// Method - Private
 	/**
 	 * Add clan as attacker<BR><BR>
 	 * @param clanId The int of clan's id

+ 3 - 5
L2J_Server_BETA/java/com/l2jserver/gameserver/model/entity/Hero.java

@@ -12,11 +12,6 @@
  * You should have received a copy of the GNU General Public License along with
  * this program. If not, see <http://www.gnu.org/licenses/>.
  */
-
-/**
- * @author godson
- */
-
 package com.l2jserver.gameserver.model.entity;
 
 import java.sql.Connection;
@@ -60,6 +55,9 @@ import com.l2jserver.gameserver.network.serverpackets.SystemMessage;
 import com.l2jserver.gameserver.network.serverpackets.UserInfo;
 import com.l2jserver.util.StringUtil;
 
+/**
+ * @author godson
+ */
 public class Hero
 {
 	private static Logger _log = Logger.getLogger(Hero.class.getName());

+ 2 - 4
L2J_Server_BETA/java/com/l2jserver/gameserver/model/itemauction/AuctionDateGenerator.java

@@ -1,5 +1,3 @@
-
-package com.l2jserver.gameserver.model.itemauction;
 /*
  * This program is free software: you can redistribute it and/or modify it under
  * the terms of the GNU General Public License as published by the Free Software
@@ -14,15 +12,15 @@ package com.l2jserver.gameserver.model.itemauction;
  * You should have received a copy of the GNU General Public License along with
  * this program. If not, see <http://www.gnu.org/licenses/>.
  */
+package com.l2jserver.gameserver.model.itemauction;
+
 import java.util.Calendar;
 import java.util.concurrent.TimeUnit;
 
 import com.l2jserver.gameserver.model.StatsSet;
 
 /**
- * 
  * @author Forsaiken
- *
  */
 public final class AuctionDateGenerator
 {

+ 3 - 5
L2J_Server_BETA/java/com/l2jserver/gameserver/model/olympiad/Olympiad.java

@@ -12,11 +12,6 @@
  * You should have received a copy of the GNU General Public License along with
  * this program. If not, see <http://www.gnu.org/licenses/>.
  */
-
-/**
- * @author godson
- */
-
 package com.l2jserver.gameserver.model.olympiad;
 
 import gnu.trove.map.hash.TIntIntHashMap;
@@ -52,6 +47,9 @@ import com.l2jserver.gameserver.network.SystemMessageId;
 import com.l2jserver.gameserver.network.serverpackets.SystemMessage;
 import com.l2jserver.util.L2FastList;
 
+/**
+ * @author godson
+ */
 public class Olympiad
 {
 	protected static final Logger _log = Logger.getLogger(Olympiad.class.getName());

+ 0 - 1
L2J_Server_BETA/java/com/l2jserver/gameserver/model/quest/Quest.java

@@ -1850,7 +1850,6 @@ public class Quest extends ManagedScript
 		return content;
 	}
 	
-	// Method - Public
 	/**
 	 * Add a temporary (quest) spawn
 	 * @param npcId 

+ 1 - 11
L2J_Server_BETA/java/com/l2jserver/gameserver/model/quest/QuestTimer.java

@@ -22,12 +22,10 @@ import com.l2jserver.gameserver.ThreadPoolManager;
 import com.l2jserver.gameserver.model.actor.L2Npc;
 import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
 
-
 public class QuestTimer
 {
 	protected static final Logger _log = Logger.getLogger(QuestTimer.class.getName());
-	// =========================================================
-	// Schedule Task
+	
 	public class ScheduleTimerTask implements Runnable
 	{
 		@Override
@@ -49,8 +47,6 @@ public class QuestTimer
 		}
 	}
 	
-	// =========================================================
-	// Data Field
 	private boolean _isActive = true;
 	private String _name;
 	private Quest _quest;
@@ -59,8 +55,6 @@ public class QuestTimer
 	private boolean _isRepeating;
 	private ScheduledFuture<?> _schedular;
 	
-	// =========================================================
-	// Constructor
 	public QuestTimer(Quest quest, String name, long time, L2Npc npc, L2PcInstance player, boolean repeating)
 	{
 		_name = name;
@@ -84,8 +78,6 @@ public class QuestTimer
 		this(qs.getQuest(), name, time, null, qs.getPlayer(), false);
 	}
 	
-	// =========================================================
-	// Method - Public
 	public void cancel()
 	{
 		_isActive = false;
@@ -113,8 +105,6 @@ public class QuestTimer
 		return ((npc == getNpc()) && (player == getPlayer()));
 	}
 	
-	// =========================================================
-	// Property - Public
 	public final boolean getIsActive()
 	{
 		return _isActive;

+ 2 - 2
L2J_Server_BETA/java/com/l2jserver/gameserver/model/quest/State.java

@@ -15,8 +15,6 @@
 package com.l2jserver.gameserver.model.quest;
 
 /**
- * @author Luis Arias;  version 2 by Fulminus
- *
  * This class merely enumerates the three necessary states for all quests:
  * CREATED: a quest state is created but the quest is not yet accepted.
  * STARTED: the player has accepted the quest.  Quest is currently in progress
@@ -28,6 +26,8 @@ package com.l2jserver.gameserver.model.quest;
  * string back and remap them to their correct states.
  * 
  * All quests have these and only these states.
+ * 
+ * @author Luis Arias;  version 2 by Fulminus
  */
 public class State
 {

+ 3 - 5
L2J_Server_BETA/java/com/l2jserver/gameserver/model/skills/l2skills/L2SkillSignet.java

@@ -12,11 +12,6 @@
  * You should have received a copy of the GNU General Public License along with
  * this program. If not, see <http://www.gnu.org/licenses/>.
  */
-
-/**
- * @author Forsaiken
- */
-
 package com.l2jserver.gameserver.model.skills.l2skills;
 
 import com.l2jserver.gameserver.datatables.NpcTable;
@@ -31,6 +26,9 @@ import com.l2jserver.gameserver.model.skills.L2Skill;
 import com.l2jserver.gameserver.model.skills.targets.L2TargetType;
 import com.l2jserver.gameserver.util.Point3D;
 
+/**
+ * @author Forsaiken
+ */
 public final class L2SkillSignet extends L2Skill
 {
 	private int _effectNpcId;

+ 3 - 5
L2J_Server_BETA/java/com/l2jserver/gameserver/model/skills/l2skills/L2SkillSignetCasttime.java

@@ -12,11 +12,6 @@
  * You should have received a copy of the GNU General Public License along with
  * this program. If not, see <http://www.gnu.org/licenses/>.
  */
-
-/**
- * @author Forsaiken
- */
-
 package com.l2jserver.gameserver.model.skills.l2skills;
 
 import com.l2jserver.gameserver.model.L2Object;
@@ -24,6 +19,9 @@ import com.l2jserver.gameserver.model.StatsSet;
 import com.l2jserver.gameserver.model.actor.L2Character;
 import com.l2jserver.gameserver.model.skills.L2Skill;
 
+/**
+ * @author Forsaiken
+ */
 public final class L2SkillSignetCasttime extends L2Skill
 {
 	public int _effectNpcId;

+ 0 - 1
L2J_Server_BETA/java/com/l2jserver/gameserver/network/gameserverpackets/ChangePassword.java

@@ -12,7 +12,6 @@
  * You should have received a copy of the GNU General Public License along with
  * this program. If not, see <http://www.gnu.org/licenses/>.
  */
-
 package com.l2jserver.gameserver.network.gameserverpackets;
 
 import com.l2jserver.util.network.BaseSendablePacket;

+ 10 - 8
L2J_Server_BETA/java/com/l2jserver/gameserver/network/serverpackets/CharSelected.java

@@ -1,14 +1,16 @@
 /*
- * This program is free software: you can redistribute it and/or modify it under the terms of the
- * GNU General Public License as published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
+ * This program is free software: you can redistribute it and/or modify it under
+ * the terms of the GNU General Public License as published by the Free Software
+ * Foundation, either version 3 of the License, or (at your option) any later
+ * version.
  * 
- * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
- * even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * General Public License for more details.
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+ * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
+ * details.
  * 
- * You should have received a copy of the GNU General Public License along with this program. If
- * not, see <http://www.gnu.org/licenses/>.
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <http://www.gnu.org/licenses/>.
  */
 package com.l2jserver.gameserver.network.serverpackets;
 

+ 1 - 0
L2J_Server_BETA/java/com/l2jserver/gameserver/network/serverpackets/CreatureSay.java

@@ -13,6 +13,7 @@
  * this program. If not, see <http://www.gnu.org/licenses/>.
  */
 package com.l2jserver.gameserver.network.serverpackets;
+
 import java.util.ArrayList;
 import java.util.List;
 

+ 0 - 1
L2J_Server_BETA/java/com/l2jserver/gameserver/network/serverpackets/ExShowManorDefaultInfo.java

@@ -12,7 +12,6 @@
  * You should have received a copy of the GNU General Public License along with
  * this program. If not, see <http://www.gnu.org/licenses/>.
  */
-
 package com.l2jserver.gameserver.network.serverpackets;
 
 import javolution.util.FastList;

+ 0 - 1
L2J_Server_BETA/java/com/l2jserver/gameserver/network/serverpackets/ExShowProcureCropDetail.java

@@ -12,7 +12,6 @@
  * You should have received a copy of the GNU General Public License along with
  * this program. If not, see <http://www.gnu.org/licenses/>.
  */
-
 package com.l2jserver.gameserver.network.serverpackets;
 
 import javolution.util.FastMap;

+ 0 - 1
L2J_Server_BETA/java/com/l2jserver/gameserver/network/serverpackets/ExShowSeedSetting.java

@@ -12,7 +12,6 @@
  * You should have received a copy of the GNU General Public License along with
  * this program. If not, see <http://www.gnu.org/licenses/>.
  */
-
 package com.l2jserver.gameserver.network.serverpackets;
 
 import javolution.util.FastList;

+ 0 - 1
L2J_Server_BETA/java/com/l2jserver/gameserver/network/serverpackets/ExShowSellCropList.java

@@ -12,7 +12,6 @@
  * You should have received a copy of the GNU General Public License along with
  * this program. If not, see <http://www.gnu.org/licenses/>.
  */
-
 package com.l2jserver.gameserver.network.serverpackets;
 
 import java.util.List;

+ 10 - 8
L2J_Server_BETA/java/com/l2jserver/gameserver/network/serverpackets/FriendPacket.java

@@ -1,14 +1,16 @@
 /*
- * This program is free software: you can redistribute it and/or modify it under the terms of the
- * GNU General Public License as published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
+ * This program is free software: you can redistribute it and/or modify it under
+ * the terms of the GNU General Public License as published by the Free Software
+ * Foundation, either version 3 of the License, or (at your option) any later
+ * version.
  * 
- * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
- * even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * General Public License for more details.
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+ * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
+ * details.
  * 
- * You should have received a copy of the GNU General Public License along with this program. If
- * not, see <http://www.gnu.org/licenses/>.
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <http://www.gnu.org/licenses/>.
  */
 package com.l2jserver.gameserver.network.serverpackets;
 

+ 10 - 8
L2J_Server_BETA/java/com/l2jserver/gameserver/network/serverpackets/FriendStatusPacket.java

@@ -1,14 +1,16 @@
 /*
- * This program is free software: you can redistribute it and/or modify it under the terms of the
- * GNU General Public License as published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
+ * This program is free software: you can redistribute it and/or modify it under
+ * the terms of the GNU General Public License as published by the Free Software
+ * Foundation, either version 3 of the License, or (at your option) any later
+ * version.
  * 
- * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
- * even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * General Public License for more details.
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+ * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
+ * details.
  * 
- * You should have received a copy of the GNU General Public License along with this program. If
- * not, see <http://www.gnu.org/licenses/>.
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <http://www.gnu.org/licenses/>.
  */
 package com.l2jserver.gameserver.network.serverpackets;
 

+ 10 - 8
L2J_Server_BETA/java/com/l2jserver/gameserver/network/serverpackets/PartySmallWindowAll.java

@@ -1,14 +1,16 @@
 /*
- * This program is free software: you can redistribute it and/or modify it under the terms of the
- * GNU General Public License as published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
+ * This program is free software: you can redistribute it and/or modify it under
+ * the terms of the GNU General Public License as published by the Free Software
+ * Foundation, either version 3 of the License, or (at your option) any later
+ * version.
  * 
- * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
- * even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * General Public License for more details.
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+ * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
+ * details.
  * 
- * You should have received a copy of the GNU General Public License along with this program. If
- * not, see <http://www.gnu.org/licenses/>.
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <http://www.gnu.org/licenses/>.
  */
 package com.l2jserver.gameserver.network.serverpackets;
 

+ 0 - 2
L2J_Server_BETA/java/com/l2jserver/gameserver/network/serverpackets/PetDelete.java

@@ -14,8 +14,6 @@
  */
 package com.l2jserver.gameserver.network.serverpackets;
 
-/**
- */
 public class PetDelete extends L2GameServerPacket
 {
 	private static final String _S__B7_PETDELETE = "[S] b7 PetDelete";

+ 0 - 1
L2J_Server_BETA/java/com/l2jserver/gameserver/network/serverpackets/SendMacroList.java

@@ -12,7 +12,6 @@
  * You should have received a copy of the GNU General Public License along with
  * this program. If not, see <http://www.gnu.org/licenses/>.
  */
-
 package com.l2jserver.gameserver.network.serverpackets;
 
 import com.l2jserver.gameserver.model.L2Macro;

Bu fark içinde çok fazla dosya değişikliği olduğu için bazı dosyalar gösterilmiyor