Advertisement
Reynald0

CleanUp_Lisvus_598

Feb 19th, 2018
181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 289.27 KB | None | 0 0
  1. ### Eclipse Workspace Patch 1.0
  2. #P Lisvus_GameServer
  3. Index: java/net/sf/l2j/gameserver/model/L2Object.java
  4. ===================================================================
  5. --- java/net/sf/l2j/gameserver/model/L2Object.java  (revisión: 598)
  6. +++ java/net/sf/l2j/gameserver/model/L2Object.java  (copia de trabajo)
  7. @@ -334,7 +334,8 @@
  8.      }
  9.  
  10.  
  11. -    public String toString()
  12. +    @Override
  13. +   public String toString()
  14.      {
  15.          return "" + getObjectId();
  16.      }
  17. Index: java/net/sf/l2j/gameserver/model/actor/instance/L2CabaleBufferInstance.java
  18. ===================================================================
  19. --- java/net/sf/l2j/gameserver/model/actor/instance/L2CabaleBufferInstance.java (revisión: 598)
  20. +++ java/net/sf/l2j/gameserver/model/actor/instance/L2CabaleBufferInstance.java (copia de trabajo)
  21. @@ -40,7 +40,8 @@
  22.   */
  23.  public class L2CabaleBufferInstance extends L2NpcInstance
  24.  {
  25. -    public void onAction(L2PcInstance player)
  26. +    @Override
  27. +   public void onAction(L2PcInstance player)
  28.      {
  29.          if (!canTarget(player))
  30.              return;
  31. @@ -83,7 +84,8 @@
  32.              _caster = caster;
  33.          }
  34.          
  35. -        public void run()
  36. +        @Override
  37. +       public void run()
  38.          {
  39.              boolean isBuffAWinner = false;
  40.              boolean isBuffALoser = false;
  41. @@ -194,7 +196,8 @@
  42.          aiTask = ThreadPoolManager.getInstance().scheduleAiAtFixedRate(new CabalaAI(this), 3000, 3000);
  43.      }
  44.      
  45. -    public void deleteMe()
  46. +    @Override
  47. +   public void deleteMe()
  48.      {
  49.          if (aiTask != null)
  50.          {
  51. @@ -205,12 +208,14 @@
  52.          super.deleteMe();
  53.      }
  54.      
  55. -    public int getDistanceToWatchObject(L2Object object)
  56. +    @Override
  57. +   public int getDistanceToWatchObject(L2Object object)
  58.      {
  59.          return 900;
  60.      }
  61.      
  62. -    public boolean isAutoAttackable(L2Character attacker)
  63. +    @Override
  64. +   public boolean isAutoAttackable(L2Character attacker)
  65.      {
  66.          return false;
  67.      }
  68. Index: java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminTarget.java
  69. ===================================================================
  70. --- java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminTarget.java    (revisión: 598)
  71. +++ java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminTarget.java    (copia de trabajo)
  72. @@ -34,7 +34,8 @@
  73.      private static String[] _adminCommands = {"admin_target"};
  74.      private static final int REQUIRED_LEVEL = Config.GM_MIN;
  75.  
  76. -    public boolean useAdminCommand(String command, L2PcInstance activeChar)
  77. +    @Override
  78. +   public boolean useAdminCommand(String command, L2PcInstance activeChar)
  79.      {
  80.          if (!Config.ALT_PRIVILEGES_ADMIN)
  81.          {
  82. @@ -47,7 +48,8 @@
  83.          return true;
  84.      }
  85.  
  86. -    public String[] getAdminCommandList()
  87. +    @Override
  88. +   public String[] getAdminCommandList()
  89.      {
  90.          return _adminCommands;
  91.      }
  92. Index: java/net/sf/l2j/gameserver/instancemanager/DimensionalRiftManager.java
  93. ===================================================================
  94. --- java/net/sf/l2j/gameserver/instancemanager/DimensionalRiftManager.java  (revisión: 598)
  95. +++ java/net/sf/l2j/gameserver/instancemanager/DimensionalRiftManager.java  (copia de trabajo)
  96. @@ -21,7 +21,6 @@
  97.  import java.awt.Polygon;
  98.  import java.awt.Shape;
  99.  import java.io.File;
  100. -import java.io.IOException;
  101.  import java.sql.Connection;
  102.  import java.sql.PreparedStatement;
  103.  import java.sql.ResultSet;
  104. @@ -43,7 +42,6 @@
  105.  import net.sf.l2j.gameserver.model.L2Spawn;
  106.  import net.sf.l2j.gameserver.model.actor.instance.L2NpcInstance;
  107.  import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance;
  108. -import net.sf.l2j.gameserver.model.actor.instance.L2RiftInvaderInstance;
  109.  import net.sf.l2j.gameserver.model.entity.DimensionalRift;
  110.  import net.sf.l2j.gameserver.model.entity.TvTEvent;
  111.  import net.sf.l2j.gameserver.network.serverpackets.NpcHtmlMessage;
  112. Index: java/net/sf/l2j/gameserver/skills/effects/EffectMute.java
  113. ===================================================================
  114. --- java/net/sf/l2j/gameserver/skills/effects/EffectMute.java   (revisión: 598)
  115. +++ java/net/sf/l2j/gameserver/skills/effects/EffectMute.java   (copia de trabajo)
  116. @@ -28,14 +28,17 @@
  117.     }
  118.  
  119.  
  120. +   @Override
  121.     public EffectType getEffectType() {
  122.         return L2Effect.EffectType.MUTE;
  123.     }
  124.  
  125. +   @Override
  126.     public void onStart() {
  127.         getEffected().startMuted();
  128.     }
  129.    
  130. +   @Override
  131.     public boolean onActionTime() {
  132.         // Simply stop the effect
  133.         getEffected().stopMuted(this);
  134. @@ -43,6 +46,7 @@
  135.     }
  136.  
  137.  
  138. +   @Override
  139.     public void onExit() {
  140.         getEffected().stopMuted(this);
  141.     }
  142. Index: java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminBanChat.java
  143. ===================================================================
  144. --- java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminBanChat.java   (revisión: 598)
  145. +++ java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminBanChat.java   (copia de trabajo)
  146. @@ -45,6 +45,7 @@
  147.     private static String[] _adminCommands = {"admin_banchat", "admin_unbanchat"};
  148.     private static final int REQUIRED_LEVEL = Config.GM_BAN_CHAT;
  149.    
  150. +   @Override
  151.     public boolean useAdminCommand(String command, L2PcInstance activeChar)
  152.     {
  153.         if (!Config.ALT_PRIVILEGES_ADMIN)
  154. @@ -110,6 +111,7 @@
  155.         return true;
  156.     }
  157.    
  158. +   @Override
  159.     public String[] getAdminCommandList()
  160.          {
  161.         return _adminCommands;
  162. @@ -131,6 +133,7 @@
  163.             _banner = banner;
  164.         }
  165.        
  166. +       @Override
  167.         public void run()
  168.         {
  169.             _player.setChatBanned(false);
  170. Index: java/net/sf/l2j/gameserver/skills/effects/EffectCombatPointHealOverTime.java
  171. ===================================================================
  172. --- java/net/sf/l2j/gameserver/skills/effects/EffectCombatPointHealOverTime.java    (revisión: 598)
  173. +++ java/net/sf/l2j/gameserver/skills/effects/EffectCombatPointHealOverTime.java    (copia de trabajo)
  174. @@ -29,12 +29,14 @@
  175.          super(env, template);
  176.      }
  177.  
  178. -    public EffectType getEffectType()
  179. +    @Override
  180. +   public EffectType getEffectType()
  181.      {
  182.          return EffectType.COMBAT_POINT_HEAL_OVER_TIME;
  183.      }
  184.  
  185. -    public boolean onActionTime()
  186. +    @Override
  187. +   public boolean onActionTime()
  188.      {  
  189.          if(getEffected().isDead())
  190.              return false;
  191. Index: java/net/sf/l2j/gameserver/script/ScriptPackage.java
  192. ===================================================================
  193. --- java/net/sf/l2j/gameserver/script/ScriptPackage.java    (revisión: 598)
  194. +++ java/net/sf/l2j/gameserver/script/ScriptPackage.java    (copia de trabajo)
  195. @@ -95,7 +95,8 @@
  196.          return name;
  197.      }
  198.      
  199. -    public String toString()
  200. +    @Override
  201. +   public String toString()
  202.      {
  203.          if (getScriptFiles().isEmpty() && getOtherFiles().isEmpty())
  204.              return "Empty Package.";
  205. Index: java/net/sf/l2j/gameserver/taskmanager/AutoAnnounceTaskManager.java
  206. ===================================================================
  207. --- java/net/sf/l2j/gameserver/taskmanager/AutoAnnounceTaskManager.java (revisión: 598)
  208. +++ java/net/sf/l2j/gameserver/taskmanager/AutoAnnounceTaskManager.java (copia de trabajo)
  209. @@ -123,7 +123,8 @@
  210.              _stopped = true;
  211.          }
  212.  
  213. -        public void run()
  214. +        @Override
  215. +       public void run()
  216.          {
  217.              for (String text : _memo)
  218.                  announce(text);
  219. Index: java/net/sf/l2j/gameserver/ai/L2SiegeGuardAI.java
  220. ===================================================================
  221. --- java/net/sf/l2j/gameserver/ai/L2SiegeGuardAI.java   (revisión: 598)
  222. +++ java/net/sf/l2j/gameserver/ai/L2SiegeGuardAI.java   (copia de trabajo)
  223. @@ -86,7 +86,8 @@
  224.          attackRange = ((L2Attackable) _actor).getPhysicalAttackRange();
  225.      }
  226.  
  227. -    public void run()
  228. +    @Override
  229. +   public void run()
  230.      {
  231.          // Launch actions corresponding to the Event Think
  232.          onEvtThink();
  233. @@ -172,7 +173,8 @@
  234.       * @param arg1 The second parameter of the Intention
  235.       *
  236.       */
  237. -    synchronized void changeIntention(CtrlIntention intention, Object arg0, Object arg1)
  238. +    @Override
  239. +   synchronized void changeIntention(CtrlIntention intention, Object arg0, Object arg1)
  240.      {
  241.          if (Config.DEBUG)
  242.              _log.info("L2SiegeAI.changeIntention(" + intention + ", " + arg0 + ", " + arg1 + ")");
  243. @@ -223,7 +225,8 @@
  244.       * @param target The L2Character to attack
  245.       *
  246.       */
  247. -    protected void onIntentionAttack(L2Character target)
  248. +    @Override
  249. +   protected void onIntentionAttack(L2Character target)
  250.      {
  251.          // Calculate the attack timeout
  252.          _attackTimeout = MAX_ATTACK_TIMEOUT + GameTimeController.getGameTicks();
  253. @@ -687,7 +690,8 @@
  254.      /**
  255.       * Manage AI thinking actions of a L2Attackable.<BR><BR>
  256.       */
  257. -    protected void onEvtThink()
  258. +    @Override
  259. +   protected void onEvtThink()
  260.      {
  261.          // Check if the actor can't use skills and if a thinking action isn't already in progress
  262.          if (thinking || _actor.isAllSkillsDisabled()) return;
  263. @@ -719,7 +723,8 @@
  264.       * @param attacker The L2Character that attacks the actor
  265.       *
  266.       */
  267. -    protected void onEvtAttacked(L2Character attacker)
  268. +    @Override
  269. +   protected void onEvtAttacked(L2Character attacker)
  270.      {
  271.          if (attacker == null)
  272.              return;
  273. @@ -756,7 +761,8 @@
  274.       * @param aggro The value of hate to add to the actor against the target
  275.       *
  276.       */
  277. -    protected void onEvtAggression(L2Character target, int aggro)
  278. +    @Override
  279. +   protected void onEvtAggression(L2Character target, int aggro)
  280.      {
  281.          if (_actor == null)
  282.              return;
  283. @@ -824,7 +830,8 @@
  284.          }
  285.      }
  286.  
  287. -    protected void onEvtDead()
  288. +    @Override
  289. +   protected void onEvtDead()
  290.      {
  291.          stopAITask();
  292.          super.onEvtDead();
  293. Index: java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminSkill.java
  294. ===================================================================
  295. --- java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminSkill.java (revisión: 598)
  296. +++ java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminSkill.java (copia de trabajo)
  297. @@ -73,6 +73,7 @@
  298.    
  299.     private static L2Skill[] adminSkills;
  300.  
  301. +   @Override
  302.     public boolean useAdminCommand(String command, L2PcInstance activeChar)
  303.          {
  304.                  if (!Config.ALT_PRIVILEGES_ADMIN)
  305. @@ -214,7 +215,8 @@
  306.          }
  307.      }
  308.  
  309. -    public String[] getAdminCommandList()
  310. +    @Override
  311. +   public String[] getAdminCommandList()
  312.      {
  313.          return _adminCommands;
  314.      }
  315. Index: java/net/sf/l2j/gameserver/templates/L2Item.java
  316. ===================================================================
  317. --- java/net/sf/l2j/gameserver/templates/L2Item.java    (revisión: 598)
  318. +++ java/net/sf/l2j/gameserver/templates/L2Item.java    (copia de trabajo)
  319. @@ -561,6 +561,7 @@
  320.       * Returns the name of the item
  321.       * @return String
  322.       */
  323. +   @Override
  324.     public String toString()
  325.     {
  326.         return _name;
  327. Index: java/net/sf/l2j/gameserver/skills/funcs/FuncSub.java
  328. ===================================================================
  329. --- java/net/sf/l2j/gameserver/skills/funcs/FuncSub.java    (revisión: 598)
  330. +++ java/net/sf/l2j/gameserver/skills/funcs/FuncSub.java    (copia de trabajo)
  331. @@ -29,6 +29,7 @@
  332.         super(stat, order, owner);
  333.         _lambda = lambda;
  334.     }
  335. +   @Override
  336.     public void calc(Env env)
  337.     {
  338.         if (_cond == null || _cond.test(env))
  339. Index: java/net/sf/l2j/gameserver/network/clientpackets/SetPrivateStoreListBuy.java
  340. ===================================================================
  341. --- java/net/sf/l2j/gameserver/network/clientpackets/SetPrivateStoreListBuy.java    (revisión: 598)
  342. +++ java/net/sf/l2j/gameserver/network/clientpackets/SetPrivateStoreListBuy.java    (copia de trabajo)
  343. @@ -19,6 +19,7 @@
  344.  package net.sf.l2j.gameserver.network.clientpackets;
  345.  
  346.  import net.sf.l2j.Config;
  347. +import net.sf.l2j.gameserver.model.L2Character;
  348.  import net.sf.l2j.gameserver.model.TradeList;
  349.  import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance;
  350.  import net.sf.l2j.gameserver.network.serverpackets.ActionFailed;
  351. @@ -87,7 +88,7 @@
  352.             return;
  353.         }
  354.  
  355. -       if (player.isInsideZone(L2PcInstance.ZONE_NOSTORE))
  356. +       if (player.isInsideZone(L2Character.ZONE_NOSTORE))
  357.         {
  358.             player.sendPacket(new PrivateStoreManageListBuy(player));
  359.             player.sendPacket(new SystemMessage(SystemMessage.NO_PRIVATE_STORE_HERE));
  360. Index: java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminKick.java
  361. ===================================================================
  362. --- java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminKick.java  (revisión: 598)
  363. +++ java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminKick.java  (copia de trabajo)
  364. @@ -31,7 +31,8 @@
  365.      private static String[] _adminCommands = {"admin_kick" ,"admin_kick_non_gm"};
  366.      private static final int REQUIRED_LEVEL = Config.GM_KICK;
  367.    
  368. -    public boolean useAdminCommand(String command, L2PcInstance activeChar)
  369. +    @Override
  370. +   public boolean useAdminCommand(String command, L2PcInstance activeChar)
  371.      {
  372.          if (!Config.ALT_PRIVILEGES_ADMIN)
  373.          {
  374. @@ -74,7 +75,8 @@
  375.          return true;
  376.      }
  377.  
  378. -    public String[] getAdminCommandList()
  379. +    @Override
  380. +   public String[] getAdminCommandList()
  381.      {
  382.          return _adminCommands;
  383.      }
  384. Index: java/net/sf/l2j/gameserver/skills/effects/EffectMpConsumePerLevel.java
  385. ===================================================================
  386. --- java/net/sf/l2j/gameserver/skills/effects/EffectMpConsumePerLevel.java  (revisión: 598)
  387. +++ java/net/sf/l2j/gameserver/skills/effects/EffectMpConsumePerLevel.java  (copia de trabajo)
  388. @@ -29,11 +29,13 @@
  389.         super(env, template);
  390.     }
  391.  
  392. +   @Override
  393.     public EffectType getEffectType()
  394.     {
  395.         return EffectType.MP_CONSUME_PER_LEVEL;
  396.     }
  397.  
  398. +   @Override
  399.     public boolean onActionTime()
  400.     {  
  401.         if (getEffected().isDead())
  402. Index: java/net/sf/l2j/ItemLogFormatter.java
  403. ===================================================================
  404. --- java/net/sf/l2j/ItemLogFormatter.java   (revisión: 598)
  405. +++ java/net/sf/l2j/ItemLogFormatter.java   (copia de trabajo)
  406. @@ -36,6 +36,7 @@
  407.     private static final String CRLF = "\r\n";
  408.     private SimpleDateFormat dateFmt = new SimpleDateFormat("dd MMM H:mm:ss");
  409.    
  410. +   @Override
  411.     public String format(LogRecord record)
  412.     {
  413.          TextBuilder output = new TextBuilder();
  414. Index: java/net/sf/l2j/gameserver/skills/effects/EffectBluff.java
  415. ===================================================================
  416. --- java/net/sf/l2j/gameserver/skills/effects/EffectBluff.java  (revisión: 598)
  417. +++ java/net/sf/l2j/gameserver/skills/effects/EffectBluff.java  (copia de trabajo)
  418. @@ -40,12 +40,14 @@
  419.      }
  420.  
  421.  
  422. -    public EffectType getEffectType()
  423. +    @Override
  424. +   public EffectType getEffectType()
  425.      {
  426.          return EffectType.BLUFF;
  427.      }
  428.  
  429. -    public void onStart()
  430. +    @Override
  431. +   public void onStart()
  432.      {
  433.          if (getEffected() instanceof L2FolkInstance)
  434.              return;
  435. @@ -73,7 +75,8 @@
  436.       * @see net.sf.l2j.gameserver.model.L2Effect#onActionTime()
  437.       */
  438.  
  439. -    public boolean onActionTime()
  440. +    @Override
  441. +   public boolean onActionTime()
  442.      {
  443.          return false;
  444.      }
  445. Index: java/net/sf/l2j/gameserver/model/AutoChatHandler.java
  446. ===================================================================
  447. --- java/net/sf/l2j/gameserver/model/AutoChatHandler.java   (revisión: 598)
  448. +++ java/net/sf/l2j/gameserver/model/AutoChatHandler.java   (copia de trabajo)
  449. @@ -234,7 +234,8 @@
  450.       * If an auto chat instance is set to be "global", all instances matching the registered
  451.       * NPC ID will be added to that chat instance.
  452.       */
  453. -    public void npcSpawned(L2NpcInstance npc)
  454. +    @Override
  455. +   public void npcSpawned(L2NpcInstance npc)
  456.      {
  457.          synchronized (_registeredChats)
  458.          {
  459. @@ -653,7 +654,8 @@
  460.                  objectId = pObjectId;
  461.              }
  462.  
  463. -            public synchronized void run()
  464. +            @Override
  465. +           public synchronized void run()
  466.              {
  467.  
  468.                  AutoChatInstance chatInst = _registeredChats.get(npcId);
  469. Index: java/net/sf/l2j/ErrorFilter.java
  470. ===================================================================
  471. --- java/net/sf/l2j/ErrorFilter.java    (revisión: 598)
  472. +++ java/net/sf/l2j/ErrorFilter.java    (copia de trabajo)
  473. @@ -23,6 +23,7 @@
  474.  
  475.  public class ErrorFilter implements Filter
  476.  {
  477. +   @Override
  478.     public boolean isLoggable(LogRecord record)
  479.          {
  480.         return record.getThrown() != null;
  481. Index: java/net/sf/l2j/gameserver/communitybbs/Manager/ClanBBSManager.java
  482. ===================================================================
  483. --- java/net/sf/l2j/gameserver/communitybbs/Manager/ClanBBSManager.java (revisión: 598)
  484. +++ java/net/sf/l2j/gameserver/communitybbs/Manager/ClanBBSManager.java (copia de trabajo)
  485. @@ -43,6 +43,7 @@
  486.      * @param command
  487.      * @param activeChar
  488.      */
  489. +   @Override
  490.     public void parsecmd(String command, L2PcInstance activeChar)
  491.     {
  492.         if (command.equals("_bbsclan"))
  493. Index: java/net/sf/l2j/gameserver/skills/conditions/ConditionTargetAggro.java
  494. ===================================================================
  495. --- java/net/sf/l2j/gameserver/skills/conditions/ConditionTargetAggro.java  (revisión: 598)
  496. +++ java/net/sf/l2j/gameserver/skills/conditions/ConditionTargetAggro.java  (copia de trabajo)
  497. @@ -38,6 +38,7 @@
  498.         _isAggro = isAggro;
  499.     }
  500.  
  501. +   @Override
  502.     public boolean testImpl(Env env)
  503.          {
  504.         L2Character target = env.target;
  505. Index: java/net/sf/l2j/gameserver/model/L2Clan.java
  506. ===================================================================
  507. --- java/net/sf/l2j/gameserver/model/L2Clan.java    (revisión: 598)
  508. +++ java/net/sf/l2j/gameserver/model/L2Clan.java    (copia de trabajo)
  509. @@ -670,6 +670,7 @@
  510.         }
  511.     }
  512.    
  513. +   @Override
  514.     public String toString()
  515.     {
  516.         return getName();
  517. @@ -907,7 +908,7 @@
  518.              return;
  519.          }
  520.  
  521. -        if (player.isInsideZone(L2PcInstance.ZONE_SIEGE))
  522. +        if (player.isInsideZone(L2Character.ZONE_SIEGE))
  523.          {
  524.              player.sendPacket(new SystemMessage(SystemMessage.CANNOT_DISSOLVE_ALLY_WHILE_IN_SIEGE));
  525.              return;
  526. @@ -1106,7 +1107,7 @@
  527.  
  528.          }
  529.  
  530. -        if (activeChar.isInsideZone(L2PcInstance.ZONE_SIEGE) && target.isInsideZone(L2PcInstance.ZONE_SIEGE))
  531. +        if (activeChar.isInsideZone(L2Character.ZONE_SIEGE) && target.isInsideZone(L2Character.ZONE_SIEGE))
  532.          {
  533.              activeChar.sendPacket(new SystemMessage(SystemMessage.OPPOSING_CLAN_IS_PARTICIPATING_IN_SIEGE));
  534.              return false;
  535. Index: java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminUnblockIp.java
  536. ===================================================================
  537. --- java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminUnblockIp.java (revisión: 598)
  538. +++ java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminUnblockIp.java (copia de trabajo)
  539. @@ -23,7 +23,6 @@
  540.  import net.sf.l2j.Config;
  541.  import net.sf.l2j.gameserver.handler.IAdminCommandHandler;
  542.  import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance;
  543. -import net.sf.l2j.gameserver.network.serverpackets.SystemMessage;
  544.  
  545.  /**
  546.   * This class handles following admin commands:
  547. @@ -47,7 +46,8 @@
  548.      /* (non-Javadoc)
  549.       * @see net.sf.l2j.gameserver.handler.IAdminCommandHandler#useAdminCommand(java.lang.String, net.sf.l2j.gameserver.model.L2PcInstance)
  550.       */
  551. -    public boolean useAdminCommand(String command, L2PcInstance activeChar)
  552. +    @Override
  553. +   public boolean useAdminCommand(String command, L2PcInstance activeChar)
  554.      {
  555.          if (!Config.ALT_PRIVILEGES_ADMIN)
  556.          {
  557. @@ -71,7 +71,8 @@
  558.          return true;
  559.      }
  560.  
  561. -    public String[] getAdminCommandList()
  562. +    @Override
  563. +   public String[] getAdminCommandList()
  564.      {
  565.          return _adminCommands;
  566.      }
  567. Index: java/net/sf/l2j/gameserver/script/faenor/FaenorQuestParser.java
  568. ===================================================================
  569. --- java/net/sf/l2j/gameserver/script/faenor/FaenorQuestParser.java (revisión: 598)
  570. +++ java/net/sf/l2j/gameserver/script/faenor/FaenorQuestParser.java (copia de trabajo)
  571. @@ -32,7 +32,8 @@
  572.   */
  573.  public class FaenorQuestParser extends FaenorParser
  574.  {
  575. -    public void parseScript(Node questNode, ScriptContext context)
  576. +    @Override
  577. +   public void parseScript(Node questNode, ScriptContext context)
  578.      {
  579.          if (DEBUG) System.out.println("Parsing Quest.");
  580.          
  581. @@ -101,7 +102,8 @@
  582.      
  583.      static class FaenorQuestParserFactory extends ParserFactory
  584.      {
  585. -        public Parser create()
  586. +        @Override
  587. +       public Parser create()
  588.          {
  589.              return(new FaenorQuestParser());
  590.          }
  591. Index: java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminShutdown.java
  592. ===================================================================
  593. --- java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminShutdown.java  (revisión: 598)
  594. +++ java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminShutdown.java  (copia de trabajo)
  595. @@ -45,6 +45,7 @@
  596.     private static String[] _adminCommands = {"admin_server_shutdown", "admin_server_restart", "admin_server_abort"};
  597.     private static final int REQUIRED_LEVEL = Config.GM_RESTART;
  598.    
  599. +   @Override
  600.     public boolean useAdminCommand(String command, L2PcInstance activeChar)
  601.          {
  602.                  if (!Config.ALT_PRIVILEGES_ADMIN)
  603. @@ -83,6 +84,7 @@
  604.         return true;
  605.     }
  606.    
  607. +   @Override
  608.     public String[] getAdminCommandList()
  609.          {
  610.         return _adminCommands;
  611. Index: java/net/sf/l2j/gameserver/handler/itemhandlers/SummonItems.java
  612. ===================================================================
  613. --- java/net/sf/l2j/gameserver/handler/itemhandlers/SummonItems.java    (revisión: 598)
  614. +++ java/net/sf/l2j/gameserver/handler/itemhandlers/SummonItems.java    (copia de trabajo)
  615. @@ -48,7 +48,8 @@
  616.   */
  617.  public class SummonItems implements IItemHandler
  618.  {
  619. -    public void useItem(L2PlayableInstance playable, L2ItemInstance item)
  620. +    @Override
  621. +   public void useItem(L2PlayableInstance playable, L2ItemInstance item)
  622.      {
  623.          if (!(playable instanceof L2PcInstance))
  624.              return;
  625. @@ -165,7 +166,8 @@
  626.              _petSummon = petSummon;
  627.          }
  628.  
  629. -        public void run()
  630. +        @Override
  631. +       public void run()
  632.          {
  633.              try
  634.              {
  635. @@ -191,7 +193,8 @@
  636.              _item = item;
  637.          }
  638.  
  639. -        public void run()
  640. +        @Override
  641. +       public void run()
  642.          {
  643.              try
  644.              {
  645. @@ -281,7 +284,8 @@
  646.          }
  647.      }
  648.  
  649. -    public int[] getItemIds()
  650. +    @Override
  651. +   public int[] getItemIds()
  652.      {
  653.         return SummonItemsData.getInstance().itemIDs();
  654.      }
  655. Index: java/net/sf/l2j/gameserver/skills/conditions/ConditionSlotItemType.java
  656. ===================================================================
  657. --- java/net/sf/l2j/gameserver/skills/conditions/ConditionSlotItemType.java (revisión: 598)
  658. +++ java/net/sf/l2j/gameserver/skills/conditions/ConditionSlotItemType.java (copia de trabajo)
  659. @@ -39,6 +39,7 @@
  660.         _mask = mask;
  661.     }
  662.  
  663. +   @Override
  664.     public boolean testImpl(Env env)
  665.     {
  666.         if (!(env.player instanceof L2PcInstance))
  667. Index: java/net/sf/l2j/gameserver/skills/conditions/ConditionTargetBodyPart.java
  668. ===================================================================
  669. --- java/net/sf/l2j/gameserver/skills/conditions/ConditionTargetBodyPart.java   (revisión: 598)
  670. +++ java/net/sf/l2j/gameserver/skills/conditions/ConditionTargetBodyPart.java   (copia de trabajo)
  671. @@ -38,7 +38,8 @@
  672.          armor = pArmor;
  673.      }
  674.  
  675. -    public boolean testImpl(Env env)
  676. +    @Override
  677. +   public boolean testImpl(Env env)
  678.      {
  679.          // target is attacker
  680.          if (env.target == null) return true;
  681. Index: java/net/sf/l2j/status/Status.java
  682. ===================================================================
  683. --- java/net/sf/l2j/status/Status.java  (revisión: 598)
  684. +++ java/net/sf/l2j/status/Status.java  (copia de trabajo)
  685. @@ -43,7 +43,8 @@
  686.      private int                            _mode;
  687.      private List<LoginStatusThread> _loginStatus;
  688.      
  689. -    public void run()
  690. +    @Override
  691. +   public void run()
  692.      {
  693.          setPriority(Thread.MAX_PRIORITY);
  694.          while (true)
  695. Index: java/net/sf/l2j/gameserver/model/actor/instance/L2ArtefactInstance.java
  696. ===================================================================
  697. --- java/net/sf/l2j/gameserver/model/actor/instance/L2ArtefactInstance.java (revisión: 598)
  698. +++ java/net/sf/l2j/gameserver/model/actor/instance/L2ArtefactInstance.java (copia de trabajo)
  699. @@ -51,13 +51,15 @@
  700.      /**
  701.       * Return False.<BR><BR>
  702.       */
  703. -    @SuppressWarnings("unused")
  704. +    @Override
  705. +   @SuppressWarnings("unused")
  706.      public boolean isAutoAttackable(L2Character attacker)
  707.      {
  708.          return false;
  709.      }
  710.  
  711. -    public boolean isAttackable()
  712. +    @Override
  713. +   public boolean isAttackable()
  714.      {
  715.          return false;
  716.      }
  717. @@ -77,7 +79,8 @@
  718.       * @param player The L2PcInstance that start an action on the L2ArtefactInstance
  719.       *
  720.       */
  721. -    public void onAction(L2PcInstance player)
  722. +    @Override
  723. +   public void onAction(L2PcInstance player)
  724.      {
  725.          if (!canTarget(player))
  726.              return;
  727. @@ -116,7 +119,8 @@
  728.          player.sendPacket(new ActionFailed());
  729.      }
  730.  
  731. -    public void reduceCurrentHp(double damage, L2Character attacker){}
  732. +    @Override
  733. +   public void reduceCurrentHp(double damage, L2Character attacker){}
  734.      public void reduceCurrentHp(double damage, L2Character attacker, boolean awake){}
  735.  
  736.  }
  737. Index: java/net/sf/l2j/ItemFilter.java
  738. ===================================================================
  739. --- java/net/sf/l2j/ItemFilter.java (revisión: 598)
  740. +++ java/net/sf/l2j/ItemFilter.java (copia de trabajo)
  741. @@ -33,7 +33,8 @@
  742.      private String _excludeProcess = "Consume";
  743.      private String _excludeItemType = "Arrow, Shot";
  744.  
  745. -    public boolean isLoggable(LogRecord record)
  746. +    @Override
  747. +   public boolean isLoggable(LogRecord record)
  748.      {
  749.          if (!record.getLoggerName().equals("item"))
  750.              return false;
  751. Index: java/net/sf/l2j/AuditFormatter.java
  752. ===================================================================
  753. --- java/net/sf/l2j/AuditFormatter.java (revisión: 598)
  754. +++ java/net/sf/l2j/AuditFormatter.java (copia de trabajo)
  755. @@ -34,6 +34,7 @@
  756.     private static final String CRLF = "\r\n";
  757.     private SimpleDateFormat dateFmt = new SimpleDateFormat("dd MMM H:mm:ss");
  758.  
  759. +   @Override
  760.     public String format(LogRecord record)
  761.     {
  762.          TextBuilder output = new TextBuilder();
  763. Index: java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminDelete.java
  764. ===================================================================
  765. --- java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminDelete.java    (revisión: 598)
  766. +++ java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminDelete.java    (copia de trabajo)
  767. @@ -41,7 +41,8 @@
  768.  
  769.      private static final int REQUIRED_LEVEL = Config.GM_NPC_EDIT;
  770.  
  771. -    public boolean useAdminCommand(String command, L2PcInstance activeChar)
  772. +    @Override
  773. +   public boolean useAdminCommand(String command, L2PcInstance activeChar)
  774.      {
  775.          if (!Config.ALT_PRIVILEGES_ADMIN)
  776.          {
  777. @@ -55,7 +56,8 @@
  778.          return true;
  779.      }
  780.  
  781. -    public String[] getAdminCommandList()
  782. +    @Override
  783. +   public String[] getAdminCommandList()
  784.      {
  785.          return _adminCommands;
  786.      }
  787. Index: java/net/sf/l2j/gameserver/skills/effects/EffectConfuseMob.java
  788. ===================================================================
  789. --- java/net/sf/l2j/gameserver/skills/effects/EffectConfuseMob.java (revisión: 598)
  790. +++ java/net/sf/l2j/gameserver/skills/effects/EffectConfuseMob.java (copia de trabajo)
  791. @@ -43,13 +43,15 @@
  792.          super(env, template);
  793.      }
  794.  
  795. -    public EffectType getEffectType()
  796. +    @Override
  797. +   public EffectType getEffectType()
  798.      {
  799.          return EffectType.CONFUSE_MOB_ONLY;
  800.      }
  801.  
  802.      /** Notify started */
  803. -    public void onStart()
  804. +    @Override
  805. +   public void onStart()
  806.      {
  807.          getEffected().startConfused();
  808.          onActionTime();
  809. @@ -56,12 +58,14 @@
  810.      }
  811.  
  812.      /** Notify exited */
  813. -    public void onExit()
  814. +    @Override
  815. +   public void onExit()
  816.      {
  817.          getEffected().stopConfused(this);
  818.      }
  819.  
  820. -    public boolean onActionTime()
  821. +    @Override
  822. +   public boolean onActionTime()
  823.      {
  824.          List<L2Character> targetList = new FastList<>();
  825.  
  826. Index: java/net/sf/l2j/gameserver/templates/L2EtcItem.java
  827. ===================================================================
  828. --- java/net/sf/l2j/gameserver/templates/L2EtcItem.java (revisión: 598)
  829. +++ java/net/sf/l2j/gameserver/templates/L2EtcItem.java (copia de trabajo)
  830. @@ -40,6 +40,7 @@
  831.      * Returns the type of Etc Item
  832.      * @return L2EtcItemType
  833.      */
  834. +   @Override
  835.     public L2EtcItemType getItemType()
  836.     {
  837.         return (L2EtcItemType)super._type;
  838. @@ -49,7 +50,8 @@
  839.       * Returns if the item is consumable
  840.       * @return boolean
  841.       */
  842. -    public final boolean isConsumable()
  843. +    @Override
  844. +   public final boolean isConsumable()
  845.      {
  846.          return ((getItemType() == L2EtcItemType.SHOT) || (getItemType() == L2EtcItemType.POTION)); // || (type == L2EtcItemType.SCROLL));
  847.      }
  848. @@ -58,6 +60,7 @@
  849.      * Returns the ID of the Etc item after applying the mask.
  850.      * @return int : ID of the EtcItem
  851.      */
  852. +   @Override
  853.     public int getItemMask()
  854.     {
  855.         return getItemType().mask();
  856. Index: java/net/sf/l2j/gameserver/skills/effects/EffectRemoveTarget.java
  857. ===================================================================
  858. --- java/net/sf/l2j/gameserver/skills/effects/EffectRemoveTarget.java   (revisión: 598)
  859. +++ java/net/sf/l2j/gameserver/skills/effects/EffectRemoveTarget.java   (copia de trabajo)
  860. @@ -33,13 +33,15 @@
  861.          super(env, template);
  862.      }
  863.  
  864. -    public EffectType getEffectType()
  865. +    @Override
  866. +   public EffectType getEffectType()
  867.      {
  868.          return EffectType.REMOVE_TARGET;
  869.      }
  870.  
  871.      /** Notify started */
  872. -    public void onStart()
  873. +    @Override
  874. +   public void onStart()
  875.      {
  876.          getEffected().setTarget(null);
  877.          getEffected().abortAttack();
  878. @@ -48,12 +50,14 @@
  879.      }
  880.  
  881.      /** Notify exited */
  882. -    public void onExit()
  883. +    @Override
  884. +   public void onExit()
  885.      {
  886.          //nothing
  887.      }
  888.  
  889. -    public boolean onActionTime()
  890. +    @Override
  891. +   public boolean onActionTime()
  892.      {
  893.  
  894.          return false;
  895. Index: java/net/sf/l2j/gameserver/skills/effects/EffectStun.java
  896. ===================================================================
  897. --- java/net/sf/l2j/gameserver/skills/effects/EffectStun.java   (revisión: 598)
  898. +++ java/net/sf/l2j/gameserver/skills/effects/EffectStun.java   (copia de trabajo)
  899. @@ -34,6 +34,7 @@
  900.         super(env, template);
  901.     }
  902.  
  903. +   @Override
  904.     public EffectType getEffectType()
  905.     {
  906.         return EffectType.STUN;
  907. @@ -40,16 +41,19 @@
  908.     }
  909.    
  910.     /** Notify started */
  911. +   @Override
  912.     public void onStart() {
  913.         getEffected().startStunning();
  914.     }
  915.    
  916.     /** Notify exited */
  917. +   @Override
  918.     public void onExit() {
  919.         getEffected().stopStunning(this);
  920.     }
  921.    
  922. -    public boolean onActionTime()
  923. +    @Override
  924. +   public boolean onActionTime()
  925.      {
  926.         // just stop this effect
  927.         return false;
  928. Index: java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminChangeAccessLevel.java
  929. ===================================================================
  930. --- java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminChangeAccessLevel.java (revisión: 598)
  931. +++ java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminChangeAccessLevel.java (copia de trabajo)
  932. @@ -42,7 +42,8 @@
  933.  
  934.      private static final int REQUIRED_LEVEL = Config.GM_ACCESSLEVEL;
  935.  
  936. -    public boolean useAdminCommand(String command, L2PcInstance activeChar)
  937. +    @Override
  938. +   public boolean useAdminCommand(String command, L2PcInstance activeChar)
  939.      {
  940.          if (!Config.ALT_PRIVILEGES_ADMIN)
  941.          {
  942. @@ -56,7 +57,8 @@
  943.          return true;
  944.      }
  945.  
  946. -    public String[] getAdminCommandList()
  947. +    @Override
  948. +   public String[] getAdminCommandList()
  949.      {
  950.          return _adminCommands;
  951.      }
  952. Index: java/net/sf/l2j/gameserver/model/actor/instance/L2SiegeFlagInstance.java
  953. ===================================================================
  954. --- java/net/sf/l2j/gameserver/model/actor/instance/L2SiegeFlagInstance.java    (revisión: 598)
  955. +++ java/net/sf/l2j/gameserver/model/actor/instance/L2SiegeFlagInstance.java    (copia de trabajo)
  956. @@ -57,7 +57,8 @@
  957.          }
  958.      }
  959.  
  960. -    public boolean isAttackable()
  961. +    @Override
  962. +   public boolean isAttackable()
  963.      {
  964.          // Attackable during siege by attacker only
  965.          return (getCastle() != null
  966. @@ -65,7 +66,8 @@
  967.                  && getCastle().getSiege().getIsInProgress());
  968.      }
  969.  
  970. -    public boolean isAutoAttackable(L2Character attacker)
  971. +    @Override
  972. +   public boolean isAutoAttackable(L2Character attacker)
  973.      {
  974.          // Attackable during siege by attacker only
  975.          return (attacker != null
  976. @@ -75,7 +77,8 @@
  977.                && getCastle().getSiege().getIsInProgress());
  978.      }
  979.  
  980. -    public boolean doDie(L2Character killer)
  981. +    @Override
  982. +   public boolean doDie(L2Character killer)
  983.      {
  984.          if (!super.doDie(killer))
  985.              return false;
  986. @@ -86,12 +89,14 @@
  987.          return true;
  988.      }
  989.  
  990. -    public void onForcedAttack(L2PcInstance player)
  991. +    @Override
  992. +   public void onForcedAttack(L2PcInstance player)
  993.      {
  994.          onAction(player);
  995.      }
  996.  
  997. -    public void onAction(L2PcInstance player)
  998. +    @Override
  999. +   public void onAction(L2PcInstance player)
  1000.      {
  1001.          if (player == null || !canTarget(player))
  1002.              return;
  1003. Index: java/net/sf/l2j/gameserver/handler/itemhandlers/Harvester.java
  1004. ===================================================================
  1005. --- java/net/sf/l2j/gameserver/handler/itemhandlers/Harvester.java  (revisión: 598)
  1006. +++ java/net/sf/l2j/gameserver/handler/itemhandlers/Harvester.java  (copia de trabajo)
  1007. @@ -35,7 +35,8 @@
  1008.      L2PcInstance _activeChar;
  1009.      L2MonsterInstance _target;
  1010.  
  1011. -    public void useItem(L2PlayableInstance playable, L2ItemInstance _item)
  1012. +    @Override
  1013. +   public void useItem(L2PlayableInstance playable, L2ItemInstance _item)
  1014.      {
  1015.          if (!(playable instanceof L2PcInstance))
  1016.              return;
  1017. @@ -64,7 +65,8 @@
  1018.          _activeChar.useMagic(skill, false, false);
  1019.      }
  1020.  
  1021. -    public int[] getItemIds()
  1022. +    @Override
  1023. +   public int[] getItemIds()
  1024.      {
  1025.          return _itemIds;
  1026.      }
  1027. Index: java/net/sf/l2j/gameserver/skills/effects/EffectManaHealOverTime.java
  1028. ===================================================================
  1029. --- java/net/sf/l2j/gameserver/skills/effects/EffectManaHealOverTime.java   (revisión: 598)
  1030. +++ java/net/sf/l2j/gameserver/skills/effects/EffectManaHealOverTime.java   (copia de trabajo)
  1031. @@ -29,11 +29,13 @@
  1032.         super(env, template);
  1033.     }
  1034.  
  1035. +   @Override
  1036.     public EffectType getEffectType()
  1037.     {
  1038.         return EffectType.MANA_HEAL_OVER_TIME;
  1039.     }
  1040.  
  1041. +   @Override
  1042.     public boolean onActionTime()
  1043.     {  
  1044.         if(getEffected().isDead())
  1045. Index: java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminExpSp.java
  1046. ===================================================================
  1047. --- java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminExpSp.java (revisión: 598)
  1048. +++ java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminExpSp.java (copia de trabajo)
  1049. @@ -51,7 +51,8 @@
  1050.  
  1051.      private static final int REQUIRED_LEVEL = Config.GM_CHAR_EDIT;
  1052.  
  1053. -    public boolean useAdminCommand(String command, L2PcInstance activeChar)
  1054. +    @Override
  1055. +   public boolean useAdminCommand(String command, L2PcInstance activeChar)
  1056.      {
  1057.          if (!Config.ALT_PRIVILEGES_ADMIN)
  1058.          {
  1059. @@ -100,6 +101,7 @@
  1060.          return true;
  1061.      }
  1062.    
  1063. +   @Override
  1064.     public String[] getAdminCommandList() {
  1065.         return _adminCommands;
  1066.     }
  1067. Index: java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminLogin.java
  1068. ===================================================================
  1069. --- java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminLogin.java (revisión: 598)
  1070. +++ java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminLogin.java (copia de trabajo)
  1071. @@ -47,6 +47,7 @@
  1072.     /* (non-Javadoc)
  1073.      * @see net.sf.l2j.gameserver.handler.IAdminCommandHandler#useAdminCommand(java.lang.String, net.sf.l2j.gameserver.model.L2PcInstance)
  1074.      */
  1075. +   @Override
  1076.     public boolean useAdminCommand(String command, L2PcInstance activeChar)
  1077.     {
  1078.          if (!Config.ALT_PRIVILEGES_ADMIN)
  1079. @@ -165,6 +166,7 @@
  1080.     /* (non-Javadoc)
  1081.      * @see net.sf.l2j.gameserver.handler.IAdminCommandHandler#getAdminCommandList()
  1082.      */
  1083. +   @Override
  1084.     public String[] getAdminCommandList()
  1085.     {
  1086.         return _adminCommands;
  1087. Index: java/net/sf/l2j/gameserver/idfactory/BitSetIDFactory.java
  1088. ===================================================================
  1089. --- java/net/sf/l2j/gameserver/idfactory/BitSetIDFactory.java   (revisión: 598)
  1090. +++ java/net/sf/l2j/gameserver/idfactory/BitSetIDFactory.java   (copia de trabajo)
  1091. @@ -44,7 +44,8 @@
  1092.          /* (non-Javadoc)
  1093.           * @see java.lang.Runnable#run()
  1094.           */
  1095. -        public void run()
  1096. +        @Override
  1097. +       public void run()
  1098.          {
  1099.              if (reachingBitSetCapacity())
  1100.              {
  1101. @@ -93,7 +94,8 @@
  1102.          }
  1103.      }
  1104.      
  1105. -    public synchronized void releaseId(int objectID)
  1106. +    @Override
  1107. +   public synchronized void releaseId(int objectID)
  1108.      {
  1109.          if ((objectID - FIRST_OID) > -1)
  1110.          {
  1111. @@ -103,7 +105,8 @@
  1112.              _log.warning("BitSet ID Factory: release objectID "+objectID+" failed (< "+FIRST_OID+")");
  1113.      }
  1114.      
  1115. -    public synchronized int getNextId()
  1116. +    @Override
  1117. +   public synchronized int getNextId()
  1118.      {
  1119.          int newID = nextFreeId.get();
  1120.          freeIds.set(newID);
  1121. @@ -132,7 +135,8 @@
  1122.          return newID + FIRST_OID;
  1123.      }
  1124.      
  1125. -    public synchronized int size()
  1126. +    @Override
  1127. +   public synchronized int size()
  1128.      {
  1129.          return freeIdCount.get();
  1130.      }
  1131. Index: java/net/sf/l2j/gameserver/model/L2ItemInstance.java
  1132. ===================================================================
  1133. --- java/net/sf/l2j/gameserver/model/L2ItemInstance.java    (revisión: 598)
  1134. +++ java/net/sf/l2j/gameserver/model/L2ItemInstance.java    (copia de trabajo)
  1135. @@ -605,6 +605,7 @@
  1136.      * @see net.sf.l2j.gameserver.model.L2Object#onAction(net.sf.l2j.gameserver.model.L2PcInstance)
  1137.      * also check constraints: only soloing castle owners may pick up mercenary tickets of their castle
  1138.      */
  1139. +   @Override
  1140.     public void onAction(L2PcInstance player)
  1141.     {
  1142.         // this causes the validate position handler to do the pickup if the location is reached.
  1143. @@ -663,7 +664,8 @@
  1144.      * Returns false cause item can't be attacked
  1145.      * @return boolean false
  1146.      */
  1147. -    public boolean isAutoAttackable(@SuppressWarnings("unused") L2Character attacker)
  1148. +    @Override
  1149. +   public boolean isAutoAttackable(@SuppressWarnings("unused") L2Character attacker)
  1150.      {
  1151.          return false;
  1152.      }
  1153. @@ -986,6 +988,7 @@
  1154.      * Returns the item in String format
  1155.      * @return String
  1156.      */
  1157. +   @Override
  1158.     public String toString()
  1159.     {
  1160.         return ""+_item;
  1161. @@ -1060,7 +1063,8 @@
  1162.  
  1163.                  ThreadPoolManager.getInstance().scheduleGeneralAtFixedRate(new Runnable()
  1164.                  {
  1165. -                        public void run()
  1166. +                        @Override
  1167. +                       public void run()
  1168.                          {
  1169.                                  restoreInitCount();
  1170.                                  dataTimerSave();
  1171. Index: java/net/sf/l2j/gameserver/templates/L2ArmorType.java
  1172. ===================================================================
  1173. --- java/net/sf/l2j/gameserver/templates/L2ArmorType.java   (revisión: 598)
  1174. +++ java/net/sf/l2j/gameserver/templates/L2ArmorType.java   (copia de trabajo)
  1175. @@ -57,6 +57,7 @@
  1176.      * Returns the name of the ArmorType
  1177.      * @return String
  1178.      */
  1179. +   @Override
  1180.     public String toString()
  1181.     {
  1182.         return _name;
  1183. Index: java/net/sf/l2j/gameserver/cache/CrestCache.java
  1184. ===================================================================
  1185. --- java/net/sf/l2j/gameserver/cache/CrestCache.java    (revisión: 598)
  1186. +++ java/net/sf/l2j/gameserver/cache/CrestCache.java    (copia de trabajo)
  1187. @@ -35,6 +35,7 @@
  1188.  import net.sf.l2j.L2DatabaseFactory;
  1189.  import net.sf.l2j.gameserver.datatables.ClanTable;
  1190.  import net.sf.l2j.gameserver.idfactory.BitSetIDFactory;
  1191. +import net.sf.l2j.gameserver.idfactory.IdFactory;
  1192.  import net.sf.l2j.gameserver.model.L2Clan;
  1193.  
  1194.  /**
  1195. @@ -137,7 +138,7 @@
  1196.  
  1197.              _log.info("Found old crest file \"" + file.getName() + "\" for clanId " + clanId);
  1198.  
  1199. -            int newId = BitSetIDFactory.getInstance().getNextId();
  1200. +            int newId = IdFactory.getInstance().getNextId();
  1201.  
  1202.              L2Clan clan = ClanTable.getInstance().getClan(clanId);
  1203.  
  1204. @@ -300,7 +301,8 @@
  1205.  
  1206.      class BmpFilter implements FileFilter
  1207.      {
  1208. -        public boolean accept(File file)
  1209. +        @Override
  1210. +       public boolean accept(File file)
  1211.          {
  1212.              return (file.getName().endsWith(".bmp"));
  1213.          }
  1214. @@ -308,7 +310,8 @@
  1215.  
  1216.      class OldPledgeFilter implements FileFilter
  1217.      {
  1218. -        public boolean accept(File file)
  1219. +        @Override
  1220. +       public boolean accept(File file)
  1221.          {
  1222.              return (file.getName().startsWith("Pledge_"));
  1223.          }
  1224. Index: java/net/sf/l2j/gameserver/handler/usercommandhandlers/OlympiadStat.java
  1225. ===================================================================
  1226. --- java/net/sf/l2j/gameserver/handler/usercommandhandlers/OlympiadStat.java    (revisión: 598)
  1227. +++ java/net/sf/l2j/gameserver/handler/usercommandhandlers/OlympiadStat.java    (copia de trabajo)
  1228. @@ -34,7 +34,8 @@
  1229.      /* (non-Javadoc)
  1230.       * @see net.sf.l2j.gameserver.handler.IUserCommandHandler#useUserCommand(int, net.sf.l2j.gameserver.model.L2PcInstance)
  1231.       */
  1232. -    public boolean useUserCommand(int id, L2PcInstance activeChar)
  1233. +    @Override
  1234. +   public boolean useUserCommand(int id, L2PcInstance activeChar)
  1235.      {
  1236.          if (COMMAND_IDS[0] != id)
  1237.              return false;
  1238. @@ -51,7 +52,8 @@
  1239.      /* (non-Javadoc)
  1240.       * @see net.sf.l2j.gameserver.handler.IUserCommandHandler#getUserCommandList()
  1241.       */
  1242. -    public int[] getUserCommandList()
  1243. +    @Override
  1244. +   public int[] getUserCommandList()
  1245.      {
  1246.          return COMMAND_IDS;
  1247.      }
  1248. Index: java/net/sf/l2j/gameserver/model/actor/instance/L2MercManagerInstance.java
  1249. ===================================================================
  1250. --- java/net/sf/l2j/gameserver/model/actor/instance/L2MercManagerInstance.java  (revisión: 598)
  1251. +++ java/net/sf/l2j/gameserver/model/actor/instance/L2MercManagerInstance.java  (copia de trabajo)
  1252. @@ -40,7 +40,8 @@
  1253.          super(objectId, template);
  1254.      }
  1255.  
  1256. -    public void onAction(L2PcInstance player)
  1257. +    @Override
  1258. +   public void onAction(L2PcInstance player)
  1259.      {
  1260.          if (!canTarget(player)) return;
  1261.          player.setLastFolkNPC(this);
  1262. @@ -74,7 +75,8 @@
  1263.          player.sendPacket(new ActionFailed());
  1264.      }
  1265.  
  1266. -    public void onBypassFeedback(L2PcInstance player, String command)
  1267. +    @Override
  1268. +   public void onBypassFeedback(L2PcInstance player, String command)
  1269.      {
  1270.          int condition = validateCondition(player);
  1271.          if (condition <= Cond_All_False) return;
  1272. Index: java/net/sf/l2j/gameserver/util/JarClassLoader.java
  1273. ===================================================================
  1274. --- java/net/sf/l2j/gameserver/util/JarClassLoader.java (revisión: 598)
  1275. +++ java/net/sf/l2j/gameserver/util/JarClassLoader.java (copia de trabajo)
  1276. @@ -43,7 +43,8 @@
  1277.         jars.add(filename);
  1278.      }
  1279.  
  1280. -    public Class<?> findClass(String name) throws ClassNotFoundException
  1281. +    @Override
  1282. +   public Class<?> findClass(String name) throws ClassNotFoundException
  1283.      {
  1284.         try {
  1285.             byte[] b = loadClassData(name);
  1286. Index: java/net/sf/l2j/gameserver/skills/conditions/ConditionGameTime.java
  1287. ===================================================================
  1288. --- java/net/sf/l2j/gameserver/skills/conditions/ConditionGameTime.java (revisión: 598)
  1289. +++ java/net/sf/l2j/gameserver/skills/conditions/ConditionGameTime.java (copia de trabajo)
  1290. @@ -40,6 +40,7 @@
  1291.         _required = required;
  1292.     }
  1293.    
  1294. +   @Override
  1295.     public boolean testImpl(@SuppressWarnings("unused") Env env) {
  1296.         switch (_check)
  1297.         {
  1298. Index: java/net/sf/l2j/gameserver/skills/conditions/ConditionSlotItemId.java
  1299. ===================================================================
  1300. --- java/net/sf/l2j/gameserver/skills/conditions/ConditionSlotItemId.java   (revisión: 598)
  1301. +++ java/net/sf/l2j/gameserver/skills/conditions/ConditionSlotItemId.java   (copia de trabajo)
  1302. @@ -41,6 +41,7 @@
  1303.         _enchantLevel = enchantLevel;
  1304.     }
  1305.  
  1306. +   @Override
  1307.     public boolean testImpl(Env env)
  1308.     {
  1309.         if (!(env.player instanceof L2PcInstance))
  1310. Index: java/net/sf/l2j/gameserver/cache/HtmCache.java
  1311. ===================================================================
  1312. --- java/net/sf/l2j/gameserver/cache/HtmCache.java  (revisión: 598)
  1313. +++ java/net/sf/l2j/gameserver/cache/HtmCache.java  (copia de trabajo)
  1314. @@ -97,7 +97,8 @@
  1315.      
  1316.      class HtmFilter implements FileFilter
  1317.      {
  1318. -        public boolean accept(File file)
  1319. +        @Override
  1320. +       public boolean accept(File file)
  1321.          {
  1322.              if (!file.isDirectory())
  1323.              {
  1324. Index: java/net/sf/l2j/gameserver/skills/effects/EffectSilentMove.java
  1325. ===================================================================
  1326. --- java/net/sf/l2j/gameserver/skills/effects/EffectSilentMove.java (revisión: 598)
  1327. +++ java/net/sf/l2j/gameserver/skills/effects/EffectSilentMove.java (copia de trabajo)
  1328. @@ -32,7 +32,8 @@
  1329.      }
  1330.  
  1331.  
  1332. -    public void onStart()
  1333. +    @Override
  1334. +   public void onStart()
  1335.      {
  1336.          super.onStart();
  1337.  
  1338. @@ -40,7 +41,8 @@
  1339.              ((L2PlayableInstance)getEffected()).setSilentMoving(true);
  1340.      }
  1341.  
  1342. -    public void onExit()
  1343. +    @Override
  1344. +   public void onExit()
  1345.      {
  1346.          super.onExit();
  1347.  
  1348. @@ -48,12 +50,14 @@
  1349.              ((L2PlayableInstance)getEffected()).setSilentMoving(false);
  1350.      }
  1351.  
  1352. -    public EffectType getEffectType()
  1353. +    @Override
  1354. +   public EffectType getEffectType()
  1355.      {
  1356.          return EffectType.SILENT_MOVE;
  1357.      }
  1358.  
  1359. -    public boolean onActionTime()
  1360. +    @Override
  1361. +   public boolean onActionTime()
  1362.      {
  1363.  
  1364.          // Only cont skills shouldn't end
  1365. Index: java/net/sf/l2j/gameserver/handler/usercommandhandlers/ClanWarsList.java
  1366. ===================================================================
  1367. --- java/net/sf/l2j/gameserver/handler/usercommandhandlers/ClanWarsList.java    (revisión: 598)
  1368. +++ java/net/sf/l2j/gameserver/handler/usercommandhandlers/ClanWarsList.java    (copia de trabajo)
  1369. @@ -40,7 +40,8 @@
  1370.      /* (non-Javadoc)
  1371.       * @see net.sf.l2j.gameserver.handler.IUserCommandHandler#useUserCommand(int, net.sf.l2j.gameserver.model.L2PcInstance)
  1372.       */
  1373. -    public boolean useUserCommand(int id, L2PcInstance activeChar)
  1374. +    @Override
  1375. +   public boolean useUserCommand(int id, L2PcInstance activeChar)
  1376.      {
  1377.          if (id != COMMAND_IDS[0] && id != COMMAND_IDS[1] && id != COMMAND_IDS[2])
  1378.  
  1379. @@ -119,7 +120,8 @@
  1380.      /* (non-Javadoc)
  1381.       * @see net.sf.l2j.gameserver.handler.IUserCommandHandler#getUserCommandList()
  1382.       */
  1383. -    public int[] getUserCommandList()
  1384. +    @Override
  1385. +   public int[] getUserCommandList()
  1386.      {
  1387.          return COMMAND_IDS;
  1388.      }
  1389. Index: java/net/sf/l2j/gameserver/skills/effects/EffectStunSelf.java
  1390. ===================================================================
  1391. --- java/net/sf/l2j/gameserver/skills/effects/EffectStunSelf.java   (revisión: 598)
  1392. +++ java/net/sf/l2j/gameserver/skills/effects/EffectStunSelf.java   (copia de trabajo)
  1393. @@ -28,21 +28,25 @@
  1394.         super(env, template);
  1395.     }
  1396.    
  1397. +   @Override
  1398.     public EffectType getEffectType()
  1399.     {
  1400.         return EffectType.STUN_SELF;
  1401.     }
  1402.    
  1403. +   @Override
  1404.     public void onStart()
  1405.     {
  1406.         getEffector().startStunning();
  1407.     }
  1408.    
  1409. +   @Override
  1410.     public void onExit()
  1411.     {
  1412.         getEffector().stopStunning(this);
  1413.     }
  1414.    
  1415. +   @Override
  1416.     public boolean onActionTime()
  1417.     {
  1418.         // just stop this effect
  1419. Index: java/net/sf/l2j/gameserver/skills/conditions/ConditionTargetLevel.java
  1420. ===================================================================
  1421. --- java/net/sf/l2j/gameserver/skills/conditions/ConditionTargetLevel.java  (revisión: 598)
  1422. +++ java/net/sf/l2j/gameserver/skills/conditions/ConditionTargetLevel.java  (copia de trabajo)
  1423. @@ -35,6 +35,7 @@
  1424.         _level = level;
  1425.     }
  1426.  
  1427. +   @Override
  1428.     public boolean testImpl(Env env)
  1429.          {
  1430.         if (env.target == null)
  1431. Index: java/net/sf/l2j/gameserver/model/actor/instance/L2FestivalGuideInstance.java
  1432. ===================================================================
  1433. --- java/net/sf/l2j/gameserver/model/actor/instance/L2FestivalGuideInstance.java    (revisión: 598)
  1434. +++ java/net/sf/l2j/gameserver/model/actor/instance/L2FestivalGuideInstance.java    (copia de trabajo)
  1435. @@ -143,7 +143,8 @@
  1436.          }
  1437.      }
  1438.      
  1439. -    public void onBypassFeedback(L2PcInstance player, String command)
  1440. +    @Override
  1441. +   public void onBypassFeedback(L2PcInstance player, String command)
  1442.      {
  1443.          if (command.startsWith("FestivalDesc"))    
  1444.          {
  1445. Index: java/net/sf/l2j/gameserver/model/actor/instance/L2ControlTowerInstance.java
  1446. ===================================================================
  1447. --- java/net/sf/l2j/gameserver/model/actor/instance/L2ControlTowerInstance.java (revisión: 598)
  1448. +++ java/net/sf/l2j/gameserver/model/actor/instance/L2ControlTowerInstance.java (copia de trabajo)
  1449. @@ -41,13 +41,15 @@
  1450.          super(objectId, template);
  1451.      }
  1452.  
  1453. -    public boolean isAttackable()
  1454. +    @Override
  1455. +   public boolean isAttackable()
  1456.      {
  1457.          // Attackable during siege by attacker only
  1458.          return (getCastle() != null && getCastle().getCastleId() > 0 && getCastle().getSiege().getIsInProgress());
  1459.      }
  1460.  
  1461. -    public boolean isAutoAttackable(L2Character attacker)
  1462. +    @Override
  1463. +   public boolean isAutoAttackable(L2Character attacker)
  1464.      {
  1465.          // Attackable during siege by attacker only
  1466.          return (attacker != null && attacker instanceof L2PcInstance && getCastle() != null
  1467. @@ -55,12 +57,14 @@
  1468.              && getCastle().getSiege().checkIsAttacker(((L2PcInstance)attacker).getClan()));
  1469.      }
  1470.  
  1471. -    public void onForcedAttack(L2PcInstance player)
  1472. +    @Override
  1473. +   public void onForcedAttack(L2PcInstance player)
  1474.      {
  1475.          onAction(player);
  1476.      }
  1477.  
  1478. -    public void onAction(L2PcInstance player)
  1479. +    @Override
  1480. +   public void onAction(L2PcInstance player)
  1481.      {
  1482.          if (!canTarget(player))
  1483.              return;
  1484. Index: java/net/sf/l2j/gameserver/instancemanager/CastleManorManager.java
  1485. ===================================================================
  1486. --- java/net/sf/l2j/gameserver/instancemanager/CastleManorManager.java  (revisión: 598)
  1487. +++ java/net/sf/l2j/gameserver/instancemanager/CastleManorManager.java  (copia de trabajo)
  1488. @@ -298,7 +298,8 @@
  1489.          _log.info("Manor System: Manor refresh updated");
  1490.          _scheduledManorRefresh = ThreadPoolManager.getInstance().scheduleGeneral(new Runnable()
  1491.          {
  1492. -            public void run()
  1493. +            @Override
  1494. +           public void run()
  1495.              {
  1496.                  if (!isDisabled())
  1497.                  {
  1498. @@ -307,7 +308,8 @@
  1499.  
  1500.                      _scheduledMaintenanceEnd = ThreadPoolManager.getInstance().scheduleGeneral(new Runnable()
  1501.                      {
  1502. -                        public void run()
  1503. +                        @Override
  1504. +                       public void run()
  1505.                          {
  1506.                              _log.info("Manor System: Next period started");
  1507.                              setNextPeriod();
  1508. @@ -333,7 +335,8 @@
  1509.          _log.info("Manor System: Manor period approve updated");
  1510.          _scheduledNextPeriodapprove = ThreadPoolManager.getInstance().scheduleGeneral(new Runnable()
  1511.          {
  1512. -            public void run()
  1513. +            @Override
  1514. +           public void run()
  1515.              {
  1516.                  if (!isDisabled())
  1517.                  {
  1518. Index: java/net/sf/l2j/gameserver/taskmanager/tasks/TaskSevenSignsUpdate.java
  1519. ===================================================================
  1520. --- java/net/sf/l2j/gameserver/taskmanager/tasks/TaskSevenSignsUpdate.java  (revisión: 598)
  1521. +++ java/net/sf/l2j/gameserver/taskmanager/tasks/TaskSevenSignsUpdate.java  (copia de trabajo)
  1522. @@ -38,12 +38,14 @@
  1523.      private static final Logger _log = Logger.getLogger(TaskOlympiadSave.class.getName());
  1524.      public static final String NAME = "SevenSignsUpdate";
  1525.      
  1526. -    public String getName()
  1527. +    @Override
  1528. +   public String getName()
  1529.      {
  1530.          return NAME;
  1531.      }
  1532.  
  1533. -    public void onTimeElapsed(ExecutedTask task)
  1534. +    @Override
  1535. +   public void onTimeElapsed(ExecutedTask task)
  1536.      {
  1537.          try {
  1538.              SevenSigns.getInstance().saveSevenSignsData(null, true);
  1539. @@ -58,7 +60,8 @@
  1540.          }
  1541.      }
  1542.  
  1543. -    public void initializate()
  1544. +    @Override
  1545. +   public void initializate()
  1546.      {
  1547.          super.initializate();
  1548.          TaskManager.addUniqueTask(NAME, TaskTypes.TYPE_FIXED_SHEDULED, "1800000", "1800000", "");
  1549. Index: java/net/sf/l2j/gameserver/model/actor/instance/L2CastleBlacksmithInstance.java
  1550. ===================================================================
  1551. --- java/net/sf/l2j/gameserver/model/actor/instance/L2CastleBlacksmithInstance.java (revisión: 598)
  1552. +++ java/net/sf/l2j/gameserver/model/actor/instance/L2CastleBlacksmithInstance.java (copia de trabajo)
  1553. @@ -40,7 +40,8 @@
  1554.          super(objectId, template);
  1555.      }
  1556.  
  1557. -    public void onAction(L2PcInstance player)
  1558. +    @Override
  1559. +   public void onAction(L2PcInstance player)
  1560.      {
  1561.          if (!canTarget(player))
  1562.              return;
  1563. @@ -87,7 +88,8 @@
  1564.          player.sendPacket(new ActionFailed());
  1565.      }
  1566.  
  1567. -    public void onBypassFeedback(L2PcInstance player, String command)
  1568. +    @Override
  1569. +   public void onBypassFeedback(L2PcInstance player, String command)
  1570.      {
  1571.          if (CastleManorManager.getInstance().isDisabled())
  1572.          {
  1573. Index: java/net/sf/l2j/gameserver/model/actor/knownlist/PlayableKnownList.java
  1574. ===================================================================
  1575. --- java/net/sf/l2j/gameserver/model/actor/knownlist/PlayableKnownList.java (revisión: 598)
  1576. +++ java/net/sf/l2j/gameserver/model/actor/knownlist/PlayableKnownList.java (copia de trabajo)
  1577. @@ -40,5 +40,6 @@
  1578.  
  1579.      // =========================================================
  1580.      // Property - Public
  1581. -    public L2PlayableInstance getActiveChar() { return (L2PlayableInstance)super.getActiveChar(); }
  1582. +    @Override
  1583. +   public L2PlayableInstance getActiveChar() { return (L2PlayableInstance)super.getActiveChar(); }
  1584.  }
  1585. \ No newline at end of file
  1586. Index: java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminEventEngine.java
  1587. ===================================================================
  1588. --- java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminEventEngine.java   (revisión: 598)
  1589. +++ java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminEventEngine.java   (copia de trabajo)
  1590. @@ -45,8 +45,6 @@
  1591.  import net.sf.l2j.gameserver.network.serverpackets.ItemList;
  1592.  import net.sf.l2j.gameserver.network.serverpackets.NpcHtmlMessage;
  1593.  import net.sf.l2j.gameserver.network.serverpackets.PlaySound;
  1594. -import net.sf.l2j.gameserver.network.serverpackets.Revive;
  1595. -import net.sf.l2j.gameserver.network.serverpackets.SocialAction;
  1596.  import net.sf.l2j.gameserver.network.serverpackets.UserInfo;
  1597.  /**
  1598.   * This class handles following admin commands:
  1599. @@ -80,7 +78,8 @@
  1600.      private static String tempName = "";
  1601.      private static boolean npcsDeleted = false;
  1602.  
  1603. -    public boolean useAdminCommand(String command, L2PcInstance activeChar)
  1604. +    @Override
  1605. +   public boolean useAdminCommand(String command, L2PcInstance activeChar)
  1606.      {
  1607.          if (!Config.ALT_PRIVILEGES_ADMIN)
  1608.          {
  1609. @@ -370,6 +369,7 @@
  1610.          return true;
  1611.      }
  1612.  
  1613. +   @Override
  1614.     public String[] getAdminCommandList()
  1615.     {
  1616.         return _adminCommands;
  1617. Index: java/net/sf/l2j/gameserver/handler/usercommandhandlers/ChannelLeave.java
  1618. ===================================================================
  1619. --- java/net/sf/l2j/gameserver/handler/usercommandhandlers/ChannelLeave.java    (revisión: 598)
  1620. +++ java/net/sf/l2j/gameserver/handler/usercommandhandlers/ChannelLeave.java    (copia de trabajo)
  1621. @@ -35,7 +35,8 @@
  1622.      /* (non-Javadoc)
  1623.       * @see net.sf.l2j.gameserver.handler.IUserCommandHandler#useUserCommand(int, net.sf.l2j.gameserver.model.L2PcInstance)
  1624.       */
  1625. -    public boolean useUserCommand(int id, L2PcInstance activeChar)
  1626. +    @Override
  1627. +   public boolean useUserCommand(int id, L2PcInstance activeChar)
  1628.      {
  1629.          if (id != COMMAND_IDS[0])
  1630.              return false;
  1631. @@ -69,7 +70,8 @@
  1632.      /* (non-Javadoc)
  1633.       * @see net.sf.l2j.gameserver.handler.IUserCommandHandler#getUserCommandList()
  1634.       */
  1635. -    public int[] getUserCommandList()
  1636. +    @Override
  1637. +   public int[] getUserCommandList()
  1638.      {
  1639.          return COMMAND_IDS;
  1640.      }
  1641. Index: java/net/sf/l2j/gameserver/skills/funcs/LambdaCalc.java
  1642. ===================================================================
  1643. --- java/net/sf/l2j/gameserver/skills/funcs/LambdaCalc.java (revisión: 598)
  1644. +++ java/net/sf/l2j/gameserver/skills/funcs/LambdaCalc.java (copia de trabajo)
  1645. @@ -33,6 +33,7 @@
  1646.     {
  1647.         _funcs = new Func[0];
  1648.     }
  1649. +   @Override
  1650.     public double calc(Env env)
  1651.          {
  1652.         double saveValue = env.value;
  1653. Index: java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminCache.java
  1654. ===================================================================
  1655. --- java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminCache.java (revisión: 598)
  1656. +++ java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminCache.java (copia de trabajo)
  1657. @@ -45,12 +45,14 @@
  1658.          "admin_cache_crest_fix"
  1659.      };
  1660.      
  1661. -    public String[] getAdminCommandList()
  1662. +    @Override
  1663. +   public String[] getAdminCommandList()
  1664.      {
  1665.          return _adminCommands;
  1666.      }
  1667.  
  1668. -    public boolean useAdminCommand(String command, L2PcInstance activeChar)
  1669. +    @Override
  1670. +   public boolean useAdminCommand(String command, L2PcInstance activeChar)
  1671.      {
  1672.          if (!Config.ALT_PRIVILEGES_ADMIN)
  1673.          {
  1674. Index: java/net/sf/l2j/gameserver/model/AutoSpawnHandler.java
  1675. ===================================================================
  1676. --- java/net/sf/l2j/gameserver/model/AutoSpawnHandler.java  (revisión: 598)
  1677. +++ java/net/sf/l2j/gameserver/model/AutoSpawnHandler.java  (copia de trabajo)
  1678. @@ -405,7 +405,8 @@
  1679.              _objectId = objectId;
  1680.          }
  1681.  
  1682. -        public void run()
  1683. +        @Override
  1684. +       public void run()
  1685.          {
  1686.              try
  1687.              {
  1688. @@ -535,7 +536,8 @@
  1689.              _objectId = objectId;
  1690.          }
  1691.  
  1692. -        public void run()
  1693. +        @Override
  1694. +       public void run()
  1695.          {
  1696.              try
  1697.              {
  1698. Index: java/net/sf/l2j/gameserver/skills/effects/EffectPhysicalMute.java
  1699. ===================================================================
  1700. --- java/net/sf/l2j/gameserver/skills/effects/EffectPhysicalMute.java   (revisión: 598)
  1701. +++ java/net/sf/l2j/gameserver/skills/effects/EffectPhysicalMute.java   (copia de trabajo)
  1702. @@ -28,17 +28,20 @@
  1703.          super(env, template);
  1704.      }
  1705.  
  1706. -    public EffectType getEffectType()
  1707. +    @Override
  1708. +   public EffectType getEffectType()
  1709.      {
  1710.          return L2Effect.EffectType.PHYSICAL_MUTE;
  1711.      }
  1712.  
  1713. -    public void onStart()
  1714. +    @Override
  1715. +   public void onStart()
  1716.      {
  1717.          getEffected().startPhysicalMuted();
  1718.      }
  1719.      
  1720. -    public boolean onActionTime()
  1721. +    @Override
  1722. +   public boolean onActionTime()
  1723.      {
  1724.          // Simply stop the effect
  1725.          getEffected().stopPhysicalMuted(this);
  1726. @@ -45,7 +48,8 @@
  1727.          return false;
  1728.      }
  1729.  
  1730. -    public void onExit()
  1731. +    @Override
  1732. +   public void onExit()
  1733.      {
  1734.          getEffected().stopPhysicalMuted(this);
  1735.      }
  1736. Index: java/net/sf/l2j/gameserver/handler/usercommandhandlers/ClanPenalty.java
  1737. ===================================================================
  1738. --- java/net/sf/l2j/gameserver/handler/usercommandhandlers/ClanPenalty.java (revisión: 598)
  1739. +++ java/net/sf/l2j/gameserver/handler/usercommandhandlers/ClanPenalty.java (copia de trabajo)
  1740. @@ -37,7 +37,8 @@
  1741.      /* (non-Javadoc)
  1742.       * @see net.sf.l2j.gameserver.handler.IUserCommandHandler#useUserCommand(int, net.sf.l2j.gameserver.model.L2PcInstance)
  1743.       */
  1744. -    public boolean useUserCommand(int id, L2PcInstance activeChar)
  1745. +    @Override
  1746. +   public boolean useUserCommand(int id, L2PcInstance activeChar)
  1747.      {
  1748.          if (id != COMMAND_IDS[0])
  1749.              return false;
  1750. @@ -105,7 +106,8 @@
  1751.      /* (non-Javadoc)
  1752.       * @see net.sf.l2j.gameserver.handler.IUserCommandHandler#getUserCommandList()
  1753.       */
  1754. -    public int[] getUserCommandList()
  1755. +    @Override
  1756. +   public int[] getUserCommandList()
  1757.      {
  1758.          return COMMAND_IDS;
  1759.      }
  1760. Index: java/net/sf/l2j/gameserver/skills/conditions/ConditionGameChance.java
  1761. ===================================================================
  1762. --- java/net/sf/l2j/gameserver/skills/conditions/ConditionGameChance.java   (revisión: 598)
  1763. +++ java/net/sf/l2j/gameserver/skills/conditions/ConditionGameChance.java   (copia de trabajo)
  1764. @@ -34,7 +34,8 @@
  1765.          _chance = chance;
  1766.      }
  1767.      
  1768. -    public boolean testImpl(Env env)
  1769. +    @Override
  1770. +   public boolean testImpl(Env env)
  1771.      {
  1772.          return Rnd.get(100) < _chance;
  1773.      }
  1774. Index: java/net/sf/l2j/gameserver/taskmanager/tasks/TaskRecom.java
  1775. ===================================================================
  1776. --- java/net/sf/l2j/gameserver/taskmanager/tasks/TaskRecom.java (revisión: 598)
  1777. +++ java/net/sf/l2j/gameserver/taskmanager/tasks/TaskRecom.java (copia de trabajo)
  1778. @@ -60,7 +60,8 @@
  1779.          _log.config("Recommendation Global Task: launched.");
  1780.      }
  1781.      
  1782. -    public void  initializate()
  1783. +    @Override
  1784. +   public void  initializate()
  1785.      {
  1786.          super.initializate();
  1787.          TaskManager.addUniqueTask(NAME,TaskTypes.TYPE_GLOBAL_TASK,"1","13:00:00","");
  1788. Index: java/net/sf/l2j/gameserver/model/L2Radar.java
  1789. ===================================================================
  1790. --- java/net/sf/l2j/gameserver/model/L2Radar.java   (revisión: 598)
  1791. +++ java/net/sf/l2j/gameserver/model/L2Radar.java   (copia de trabajo)
  1792. @@ -91,7 +91,8 @@
  1793.              _z = z;
  1794.          }
  1795.  
  1796. -        public boolean equals(Object obj)
  1797. +        @Override
  1798. +       public boolean equals(Object obj)
  1799.          {
  1800.              try
  1801.              {
  1802. Index: java/net/sf/l2j/gameserver/handler/itemhandlers/EnergyStone.java
  1803. ===================================================================
  1804. --- java/net/sf/l2j/gameserver/handler/itemhandlers/EnergyStone.java    (revisión: 598)
  1805. +++ java/net/sf/l2j/gameserver/handler/itemhandlers/EnergyStone.java    (copia de trabajo)
  1806. @@ -31,7 +31,8 @@
  1807.  {
  1808.      private static int[] _itemIds = { 5589 };
  1809.  
  1810. -    public void useItem(L2PlayableInstance playable, L2ItemInstance item)
  1811. +    @Override
  1812. +   public void useItem(L2PlayableInstance playable, L2ItemInstance item)
  1813.      {
  1814.  
  1815.         L2PcInstance activeChar = null;
  1816. @@ -74,7 +75,8 @@
  1817.  
  1818.      }
  1819.  
  1820. -    public int[] getItemIds()
  1821. +    @Override
  1822. +   public int[] getItemIds()
  1823.      {
  1824.          return _itemIds;
  1825.      }
  1826. Index: java/net/sf/l2j/gameserver/skills/conditions/ConditionLogicNot.java
  1827. ===================================================================
  1828. --- java/net/sf/l2j/gameserver/skills/conditions/ConditionLogicNot.java (revisión: 598)
  1829. +++ java/net/sf/l2j/gameserver/skills/conditions/ConditionLogicNot.java (copia de trabajo)
  1830. @@ -37,6 +37,7 @@
  1831.             _condition.setListener(this);
  1832.     }
  1833.    
  1834. +   @Override
  1835.     void setListener(ConditionListener listener)
  1836.     {
  1837.         if (listener != null)
  1838. @@ -46,6 +47,7 @@
  1839.         super.setListener(listener);
  1840.     }
  1841.    
  1842. +   @Override
  1843.     public boolean testImpl(Env env) {
  1844.         return !_condition.test(env);
  1845.     }
  1846. Index: java/net/sf/l2j/gameserver/skills/effects/EffectSilenceMagicPhysical.java
  1847. ===================================================================
  1848. --- java/net/sf/l2j/gameserver/skills/effects/EffectSilenceMagicPhysical.java   (revisión: 598)
  1849. +++ java/net/sf/l2j/gameserver/skills/effects/EffectSilenceMagicPhysical.java   (copia de trabajo)
  1850. @@ -28,13 +28,15 @@
  1851.          super(env, template);
  1852.      }
  1853.  
  1854. -    public EffectType getEffectType()
  1855. +    @Override
  1856. +   public EffectType getEffectType()
  1857.      {
  1858.          return L2Effect.EffectType.SILENCE_MAGIC_PHYSICAL;
  1859.      }
  1860.  
  1861.  
  1862. -    public void onStart()
  1863. +    @Override
  1864. +   public void onStart()
  1865.      {
  1866.          getEffected().startMuted();
  1867.          getEffected().startPhysicalMuted();
  1868. @@ -41,7 +43,8 @@
  1869.      }
  1870.  
  1871.  
  1872. -    public boolean onActionTime()
  1873. +    @Override
  1874. +   public boolean onActionTime()
  1875.      {
  1876.          getEffected().stopMuted(this);
  1877.          getEffected().stopPhysicalMuted(this);
  1878. @@ -49,7 +52,8 @@
  1879.      }
  1880.  
  1881.  
  1882. -    public void onExit()
  1883. +    @Override
  1884. +   public void onExit()
  1885.      {
  1886.          getEffected().stopMuted(this);
  1887.          getEffected().stopPhysicalMuted(this);
  1888. Index: java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminGeodata.java
  1889. ===================================================================
  1890. --- java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminGeodata.java   (revisión: 598)
  1891. +++ java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminGeodata.java   (copia de trabajo)
  1892. @@ -40,7 +40,8 @@
  1893.  
  1894.      private static final int REQUIRED_LEVEL = Config.GM_MIN;
  1895.  
  1896. -    public boolean useAdminCommand(String command, L2PcInstance activeChar)
  1897. +    @Override
  1898. +   public boolean useAdminCommand(String command, L2PcInstance activeChar)
  1899.      {
  1900.          if (!Config.ALT_PRIVILEGES_ADMIN)
  1901.          {
  1902. @@ -106,7 +107,8 @@
  1903.          return true;
  1904.      }
  1905.  
  1906. -    public String[] getAdminCommandList()
  1907. +    @Override
  1908. +   public String[] getAdminCommandList()
  1909.      {
  1910.          return _adminCommands;
  1911.      }
  1912. Index: java/net/sf/l2j/gameserver/communitybbs/Manager/RegionBBSManager.java
  1913. ===================================================================
  1914. --- java/net/sf/l2j/gameserver/communitybbs/Manager/RegionBBSManager.java   (revisión: 598)
  1915. +++ java/net/sf/l2j/gameserver/communitybbs/Manager/RegionBBSManager.java   (copia de trabajo)
  1916. @@ -294,7 +294,8 @@
  1917.  
  1918.          Collections.sort(sortedPlayers, new Comparator<L2PcInstance>()
  1919.          {
  1920. -            public int compare(L2PcInstance p1, L2PcInstance p2)
  1921. +            @Override
  1922. +           public int compare(L2PcInstance p1, L2PcInstance p2)
  1923.              {
  1924.                  return p1.getName().compareToIgnoreCase(p2.getName());
  1925.              }
  1926. Index: java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminGm.java
  1927. ===================================================================
  1928. --- java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminGm.java    (revisión: 598)
  1929. +++ java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminGm.java    (copia de trabajo)
  1930. @@ -38,7 +38,8 @@
  1931.  
  1932.      private static final int REQUIRED_LEVEL = Config.GM_ACCESSLEVEL;
  1933.  
  1934. -    public boolean useAdminCommand(String command, L2PcInstance activeChar)
  1935. +    @Override
  1936. +   public boolean useAdminCommand(String command, L2PcInstance activeChar)
  1937.      {
  1938.          //don't check for gm status ;)
  1939.          if (!Config.ALT_PRIVILEGES_ADMIN)
  1940. @@ -53,7 +54,8 @@
  1941.          return true;
  1942.      }
  1943.  
  1944. -    public String[] getAdminCommandList()
  1945. +    @Override
  1946. +   public String[] getAdminCommandList()
  1947.      {
  1948.          return _adminCommands;
  1949.      }
  1950. Index: java/net/sf/l2j/gameserver/model/actor/instance/L2FolkInstance.java
  1951. ===================================================================
  1952. --- java/net/sf/l2j/gameserver/model/actor/instance/L2FolkInstance.java (revisión: 598)
  1953. +++ java/net/sf/l2j/gameserver/model/actor/instance/L2FolkInstance.java (copia de trabajo)
  1954. @@ -44,7 +44,8 @@
  1955.          _classesToTeach = template.getTeachInfo();
  1956.      }
  1957.  
  1958. -    public void onAction(L2PcInstance player)
  1959. +    @Override
  1960. +   public void onAction(L2PcInstance player)
  1961.      {
  1962.          player.setLastFolkNPC(this);
  1963.          super.onAction(player);
  1964. @@ -228,7 +229,8 @@
  1965.          player.sendPacket(new ActionFailed());
  1966.      }
  1967.  
  1968. -    public void onBypassFeedback(L2PcInstance player, String command)
  1969. +    @Override
  1970. +   public void onBypassFeedback(L2PcInstance player, String command)
  1971.      {
  1972.          if (command.startsWith("SkillList"))
  1973.          {
  1974. Index: java/net/sf/l2j/gameserver/skills/effects/EffectHealOverTime.java
  1975. ===================================================================
  1976. --- java/net/sf/l2j/gameserver/skills/effects/EffectHealOverTime.java   (revisión: 598)
  1977. +++ java/net/sf/l2j/gameserver/skills/effects/EffectHealOverTime.java   (copia de trabajo)
  1978. @@ -30,11 +30,13 @@
  1979.         super(env, template);
  1980.     }
  1981.  
  1982. +   @Override
  1983.     public EffectType getEffectType()
  1984.     {
  1985.         return EffectType.HEAL_OVER_TIME;
  1986.     }
  1987.  
  1988. +   @Override
  1989.     public boolean onActionTime()
  1990.     {  
  1991.         if (getEffected().isDead())
  1992. Index: java/net/sf/l2j/gameserver/skills/conditions/ConditionLogicAnd.java
  1993. ===================================================================
  1994. --- java/net/sf/l2j/gameserver/skills/conditions/ConditionLogicAnd.java (revisión: 598)
  1995. +++ java/net/sf/l2j/gameserver/skills/conditions/ConditionLogicAnd.java (copia de trabajo)
  1996. @@ -49,6 +49,7 @@
  1997.         _conditions = tmp;
  1998.     }
  1999.    
  2000. +   @Override
  2001.     void setListener(ConditionListener listener)
  2002.     {
  2003.         if (listener != null) {
  2004. @@ -61,6 +62,7 @@
  2005.         super.setListener(listener);
  2006.     }
  2007.    
  2008. +   @Override
  2009.     public boolean testImpl(Env env) {
  2010.         for (Condition c : _conditions) {
  2011.             if (!c.test(env))
  2012. Index: java/net/sf/l2j/gameserver/skills/effects/EffectDebuff.java
  2013. ===================================================================
  2014. --- java/net/sf/l2j/gameserver/skills/effects/EffectDebuff.java (revisión: 598)
  2015. +++ java/net/sf/l2j/gameserver/skills/effects/EffectDebuff.java (copia de trabajo)
  2016. @@ -34,11 +34,13 @@
  2017.         super(env, template);
  2018.     }
  2019.  
  2020. +   @Override
  2021.     public EffectType getEffectType()
  2022.     {
  2023.         return EffectType.DEBUFF;
  2024.     }
  2025.  
  2026. +   @Override
  2027.     public boolean onActionTime()
  2028.          {
  2029.                 // just stop this effect
  2030. Index: java/net/sf/l2j/ChatFilter.java
  2031. ===================================================================
  2032. --- java/net/sf/l2j/ChatFilter.java (revisión: 598)
  2033. +++ java/net/sf/l2j/ChatFilter.java (copia de trabajo)
  2034. @@ -23,7 +23,8 @@
  2035.  
  2036.  public class ChatFilter implements Filter
  2037.  {
  2038. -    public boolean isLoggable(LogRecord record)
  2039. +    @Override
  2040. +   public boolean isLoggable(LogRecord record)
  2041.      {
  2042.          return record.getLoggerName().equals("chat");
  2043.      }
  2044. Index: java/net/sf/l2j/gameserver/model/actor/instance/L2SepulcherNpcInstance.java
  2045. ===================================================================
  2046. --- java/net/sf/l2j/gameserver/model/actor/instance/L2SepulcherNpcInstance.java (revisión: 598)
  2047. +++ java/net/sf/l2j/gameserver/model/actor/instance/L2SepulcherNpcInstance.java (copia de trabajo)
  2048. @@ -374,7 +374,8 @@
  2049.              _DoorId = doorId;
  2050.          }
  2051.  
  2052. -        public void run()
  2053. +        @Override
  2054. +       public void run()
  2055.          {
  2056.              try
  2057.              {
  2058. @@ -396,7 +397,8 @@
  2059.              _NpcId = npcId;
  2060.          }
  2061.  
  2062. -        public void run()
  2063. +        @Override
  2064. +       public void run()
  2065.          {
  2066.              FourSepulchersManager.getInstance().spawnMysteriousBox(_NpcId);
  2067.          }
  2068. @@ -411,7 +413,8 @@
  2069.              _NpcId = npcId;
  2070.          }
  2071.  
  2072. -        public void run()
  2073. +        @Override
  2074. +       public void run()
  2075.          {
  2076.              FourSepulchersManager.getInstance().spawnMonster(_NpcId);
  2077.          }
  2078. Index: java/net/sf/l2j/gameserver/communitybbs/Manager/AdminBBSManager.java
  2079. ===================================================================
  2080. --- java/net/sf/l2j/gameserver/communitybbs/Manager/AdminBBSManager.java    (revisión: 598)
  2081. +++ java/net/sf/l2j/gameserver/communitybbs/Manager/AdminBBSManager.java    (copia de trabajo)
  2082. @@ -18,7 +18,6 @@
  2083.   */
  2084.  package net.sf.l2j.gameserver.communitybbs.Manager;
  2085.  
  2086. -import net.sf.l2j.Config;
  2087.  import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance;
  2088.  import net.sf.l2j.gameserver.network.serverpackets.ShowBoard;
  2089.  
  2090. Index: java/net/sf/l2j/gameserver/model/ClanWarehouse.java
  2091. ===================================================================
  2092. --- java/net/sf/l2j/gameserver/model/ClanWarehouse.java (revisión: 598)
  2093. +++ java/net/sf/l2j/gameserver/model/ClanWarehouse.java (copia de trabajo)
  2094. @@ -33,14 +33,18 @@
  2095.         _clan = clan;
  2096.     }
  2097.  
  2098. +   @Override
  2099.     public int getOwnerId() { return _clan.getClanId(); }
  2100. +   @Override
  2101.     public L2PcInstance getOwner() { return _clan.getLeader().getPlayerInstance(); }
  2102. +   @Override
  2103.     public ItemLocation getBaseLocation() { return ItemLocation.CLANWH; }
  2104.     public String getLocationId() { return "0"; }
  2105.          public int getLocationId(@SuppressWarnings("unused") boolean dummy) { return 0; }
  2106.          public void setLocationId(@SuppressWarnings("unused") L2PcInstance dummy) { }
  2107.  
  2108. -        public boolean validateCapacity(int slots)
  2109. +        @Override
  2110. +       public boolean validateCapacity(int slots)
  2111.          {
  2112.                  return (_items.size() + slots <= Config.WAREHOUSE_SLOTS_CLAN);
  2113.          }
  2114. Index: java/net/sf/l2j/gameserver/script/faenor/FaenorInterface.java
  2115. ===================================================================
  2116. --- java/net/sf/l2j/gameserver/script/faenor/FaenorInterface.java   (revisión: 598)
  2117. +++ java/net/sf/l2j/gameserver/script/faenor/FaenorInterface.java   (copia de trabajo)
  2118. @@ -75,7 +75,8 @@
  2119.       *
  2120.       * @see net.sf.l2j.gameserver.script.EngineInterface#addQuestDrop(int)
  2121.       */
  2122. -    public void addQuestDrop(int npcID, int itemID, int min, int max, int chance, String questID, String[] states)
  2123. +    @Override
  2124. +   public void addQuestDrop(int npcID, int itemID, int min, int max, int chance, String questID, String[] states)
  2125.      {
  2126.          L2NpcTemplate npc = _npcTable.getTemplate(npcID);
  2127.          if (npc == null)
  2128. @@ -185,12 +186,14 @@
  2129.          return questDrops;
  2130.      }
  2131.      
  2132. -    public void addEventDrop(int[] items, int[] count, double chance, DateRange range)
  2133. +    @Override
  2134. +   public void addEventDrop(int[] items, int[] count, double chance, DateRange range)
  2135.      {
  2136.          EventDroplist.getInstance().addGlobalDrop(items, count, (int)(chance * L2DropData.MAX_CHANCE), range);
  2137.      }
  2138.      
  2139. -    public void onPlayerLogin(String[] message, DateRange validDateRange)
  2140. +    @Override
  2141. +   public void onPlayerLogin(String[] message, DateRange validDateRange)
  2142.      {
  2143.          Announcements.getInstance().addEventAnnouncement(validDateRange, message);
  2144.      }
  2145. Index: java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminLevel.java
  2146. ===================================================================
  2147. --- java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminLevel.java (revisión: 598)
  2148. +++ java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminLevel.java (copia de trabajo)
  2149. @@ -41,7 +41,8 @@
  2150.      /* (non-Javadoc)
  2151.       * @see net.sf.l2j.gameserver.handler.IAdminCommandHandler#useAdminCommand(java.lang.String, net.sf.l2j.gameserver.model.L2PcInstance)
  2152.       */
  2153. -    public boolean useAdminCommand(String command, L2PcInstance activeChar)
  2154. +    @Override
  2155. +   public boolean useAdminCommand(String command, L2PcInstance activeChar)
  2156.      {
  2157.          if (activeChar == null) return false;
  2158.  
  2159. @@ -114,7 +115,8 @@
  2160.      /* (non-Javadoc)
  2161.       * @see net.sf.l2j.gameserver.handler.IAdminCommandHandler#getAdminCommandList()
  2162.       */
  2163. -    public String[] getAdminCommandList()
  2164. +    @Override
  2165. +   public String[] getAdminCommandList()
  2166.      {
  2167.          return ADMIN_COMMANDS;
  2168.      }
  2169. Index: java/net/sf/l2j/gameserver/skills/effects/EffectThrowUp.java
  2170. ===================================================================
  2171. --- java/net/sf/l2j/gameserver/skills/effects/EffectThrowUp.java    (revisión: 598)
  2172. +++ java/net/sf/l2j/gameserver/skills/effects/EffectThrowUp.java    (copia de trabajo)
  2173. @@ -41,12 +41,14 @@
  2174.      }
  2175.  
  2176.  
  2177. -    public EffectType getEffectType()
  2178. +    @Override
  2179. +   public EffectType getEffectType()
  2180.      {
  2181.          return EffectType.THROW_UP;
  2182.      }
  2183.  
  2184. -    public void onStart()
  2185. +    @Override
  2186. +   public void onStart()
  2187.      {
  2188.          // Get current position of the L2Character
  2189.          final int curX = getEffected().getX();
  2190. @@ -105,12 +107,14 @@
  2191.       * @see net.sf.l2j.gameserver.model.L2Effect#onActionTime()
  2192.       */
  2193.  
  2194. -    public boolean onActionTime()
  2195. +    @Override
  2196. +   public boolean onActionTime()
  2197.      {
  2198.          return false;
  2199.      }
  2200.  
  2201. -    public void onExit()
  2202. +    @Override
  2203. +   public void onExit()
  2204.      {
  2205.          getEffected().setXYZ(_x, _y, _z);
  2206.          getEffected().broadcastPacket(new ValidateLocation(getEffected()));
  2207. Index: java/net/sf/l2j/gameserver/skills/conditions/ConditionInventory.java
  2208. ===================================================================
  2209. --- java/net/sf/l2j/gameserver/skills/conditions/ConditionInventory.java    (revisión: 598)
  2210. +++ java/net/sf/l2j/gameserver/skills/conditions/ConditionInventory.java    (copia de trabajo)
  2211. @@ -35,5 +35,6 @@
  2212.         _slot = slot;
  2213.     }
  2214.    
  2215. +   @Override
  2216.     public abstract boolean testImpl(Env env);
  2217.  }
  2218. Index: java/net/sf/l2j/gameserver/handler/itemhandlers/WorldMap.java
  2219. ===================================================================
  2220. --- java/net/sf/l2j/gameserver/handler/itemhandlers/WorldMap.java   (revisión: 598)
  2221. +++ java/net/sf/l2j/gameserver/handler/itemhandlers/WorldMap.java   (copia de trabajo)
  2222. @@ -38,6 +38,7 @@
  2223.     /* (non-Javadoc)
  2224.      * @see net.sf.l2j.gameserver.handler.IItemHandler#useItem(net.sf.l2j.gameserver.model.L2PcInstance, net.sf.l2j.gameserver.model.L2ItemInstance)
  2225.      */
  2226. +   @Override
  2227.     public void useItem(L2PlayableInstance playable, L2ItemInstance item)
  2228.     {
  2229.         if (!(playable instanceof L2PcInstance))
  2230. @@ -47,6 +48,7 @@
  2231.         return;
  2232.     }
  2233.    
  2234. +   @Override
  2235.     public int[] getItemIds()
  2236.     {
  2237.         return _itemIds;
  2238. Index: java/net/sf/l2j/gameserver/skills/conditions/ConditionPlayerHpPercentage.java
  2239. ===================================================================
  2240. --- java/net/sf/l2j/gameserver/skills/conditions/ConditionPlayerHpPercentage.java   (revisión: 598)
  2241. +++ java/net/sf/l2j/gameserver/skills/conditions/ConditionPlayerHpPercentage.java   (copia de trabajo)
  2242. @@ -29,7 +29,8 @@
  2243.          _p = p;
  2244.      }
  2245.  
  2246. -    public boolean testImpl(Env env)
  2247. +    @Override
  2248. +   public boolean testImpl(Env env)
  2249.      {
  2250.          return env.player.getCurrentHp() <= env.player.getMaxHp()*_p;
  2251.      }
  2252. Index: java/net/sf/l2j/util/WorldObjectMap.java
  2253. ===================================================================
  2254. --- java/net/sf/l2j/util/WorldObjectMap.java    (revisión: 598)
  2255. +++ java/net/sf/l2j/util/WorldObjectMap.java    (copia de trabajo)
  2256. @@ -36,7 +36,8 @@
  2257.      /* (non-Javadoc)
  2258.       * @see net.sf.l2j.util.L2ObjectMap#size()
  2259.       */
  2260. -    public int size()
  2261. +    @Override
  2262. +   public int size()
  2263.      {
  2264.          return objectMap.size();
  2265.      }
  2266. @@ -44,7 +45,8 @@
  2267.      /* (non-Javadoc)
  2268.       * @see net.sf.l2j.util.L2ObjectMap#isEmpty()
  2269.       */
  2270. -    public boolean isEmpty()
  2271. +    @Override
  2272. +   public boolean isEmpty()
  2273.      {
  2274.          return objectMap.isEmpty();
  2275.      }
  2276. @@ -52,7 +54,8 @@
  2277.      /* (non-Javadoc)
  2278.       * @see net.sf.l2j.util.L2ObjectMap#clear()
  2279.       */
  2280. -    public void clear()
  2281. +    @Override
  2282. +   public void clear()
  2283.      {
  2284.          objectMap.clear();
  2285.      }
  2286. @@ -60,7 +63,8 @@
  2287.      /* (non-Javadoc)
  2288.       * @see net.sf.l2j.util.L2ObjectMap#put(T)
  2289.       */
  2290. -    public void put(T obj)
  2291. +    @Override
  2292. +   public void put(T obj)
  2293.      {
  2294.          if (obj != null)
  2295.              objectMap.put(obj.getObjectId(), obj);
  2296. @@ -69,7 +73,8 @@
  2297.      /* (non-Javadoc)
  2298.       * @see net.sf.l2j.util.L2ObjectMap#remove(T)
  2299.       */
  2300. -    public void remove(T obj)
  2301. +    @Override
  2302. +   public void remove(T obj)
  2303.      {
  2304.          if (obj != null)
  2305.              objectMap.remove(obj.getObjectId());
  2306. @@ -78,7 +83,8 @@
  2307.      /* (non-Javadoc)
  2308.       * @see net.sf.l2j.util.L2ObjectMap#get(int)
  2309.       */
  2310. -    public T get(int id)
  2311. +    @Override
  2312. +   public T get(int id)
  2313.      {
  2314.          return objectMap.get(id);
  2315.      }
  2316. @@ -86,7 +92,8 @@
  2317.      /* (non-Javadoc)
  2318.       * @see net.sf.l2j.util.L2ObjectMap#contains(T)
  2319.       */
  2320. -    public boolean contains(T obj)
  2321. +    @Override
  2322. +   public boolean contains(T obj)
  2323.      {
  2324.          if (obj == null)
  2325.              return false;
  2326. @@ -96,7 +103,8 @@
  2327.      /* (non-Javadoc)
  2328.       * @see net.sf.l2j.util.L2ObjectMap#iterator()
  2329.       */
  2330. -    public Iterator<T> iterator()
  2331. +    @Override
  2332. +   public Iterator<T> iterator()
  2333.      {
  2334.          return objectMap.values().iterator();
  2335.      }
  2336. Index: java/net/sf/l2j/gameserver/ItemsAutoDestroy.java
  2337. ===================================================================
  2338. --- java/net/sf/l2j/gameserver/ItemsAutoDestroy.java    (revisión: 598)
  2339. +++ java/net/sf/l2j/gameserver/ItemsAutoDestroy.java    (copia de trabajo)
  2340. @@ -94,7 +94,8 @@
  2341.  
  2342.      protected class CheckItemsForDestroy extends Thread
  2343.      {
  2344. -        public void run()
  2345. +        @Override
  2346. +       public void run()
  2347.          {
  2348.              removeItems();
  2349.          }    
  2350. Index: java/net/sf/l2j/gameserver/handler/usercommandhandlers/Mount.java
  2351. ===================================================================
  2352. --- java/net/sf/l2j/gameserver/handler/usercommandhandlers/Mount.java   (revisión: 598)
  2353. +++ java/net/sf/l2j/gameserver/handler/usercommandhandlers/Mount.java   (copia de trabajo)
  2354. @@ -33,7 +33,8 @@
  2355.      /* (non-Javadoc)
  2356.       * @see net.sf.l2j.gameserver.handler.IUserCommandHandler#useUserCommand(int, net.sf.l2j.gameserver.model.L2PcInstance)
  2357.       */
  2358. -    public synchronized boolean useUserCommand(int id, L2PcInstance activeChar)
  2359. +    @Override
  2360. +   public synchronized boolean useUserCommand(int id, L2PcInstance activeChar)
  2361.      {
  2362.          if (id != COMMAND_IDS[0])
  2363.              return false;
  2364. @@ -45,7 +46,8 @@
  2365.      /* (non-Javadoc)
  2366.       * @see net.sf.l2j.gameserver.handler.IUserCommandHandler#getUserCommandList()
  2367.       */
  2368. -    public int[] getUserCommandList()
  2369. +    @Override
  2370. +   public int[] getUserCommandList()
  2371.      {
  2372.          return COMMAND_IDS;
  2373.      }
  2374. Index: java/net/sf/l2j/gameserver/handler/voicedcommandhandlers/set.java
  2375. ===================================================================
  2376. --- java/net/sf/l2j/gameserver/handler/voicedcommandhandlers/set.java   (revisión: 598)
  2377. +++ java/net/sf/l2j/gameserver/handler/voicedcommandhandlers/set.java   (copia de trabajo)
  2378. @@ -29,7 +29,8 @@
  2379.  {
  2380.      private static String[] _voicedCommands = { "set name", "set home", "set group" };
  2381.  
  2382. -    public boolean useVoicedCommand(String command, L2PcInstance activeChar, String target)
  2383. +    @Override
  2384. +   public boolean useVoicedCommand(String command, L2PcInstance activeChar, String target)
  2385.      {
  2386.  
  2387.         return true;
  2388. @@ -36,7 +37,8 @@
  2389.      }
  2390.  
  2391.  
  2392. -    public String[] getVoicedCommandList()
  2393. +    @Override
  2394. +   public String[] getVoicedCommandList()
  2395.      {
  2396.          return _voicedCommands;
  2397.      }
  2398. Index: java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminEditNpc.java
  2399. ===================================================================
  2400. --- java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminEditNpc.java   (revisión: 598)
  2401. +++ java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminEditNpc.java   (copia de trabajo)
  2402. @@ -21,7 +21,6 @@
  2403.  import java.sql.Connection;
  2404.  import java.sql.PreparedStatement;
  2405.  import java.sql.ResultSet;
  2406. -import java.sql.SQLException;
  2407.  import java.util.List;
  2408.  import java.util.StringTokenizer;
  2409.  import java.util.logging.Logger;
  2410. @@ -39,7 +38,6 @@
  2411.  import net.sf.l2j.gameserver.model.L2DropCategory;
  2412.  import net.sf.l2j.gameserver.model.L2DropData;
  2413.  import net.sf.l2j.gameserver.model.L2ItemInstance;
  2414. -import net.sf.l2j.gameserver.model.L2Object;
  2415.  import net.sf.l2j.gameserver.model.L2TradeList;
  2416.  import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance;
  2417.  import net.sf.l2j.gameserver.network.serverpackets.NpcHtmlMessage;
  2418. @@ -76,7 +74,8 @@
  2419.      private static final int REQUIRED_LEVEL = Config.GM_NPC_EDIT;
  2420.      private static final int REQUIRED_LEVEL2 = Config.GM_NPC_VIEW;
  2421.  
  2422. -    public boolean useAdminCommand(String command, L2PcInstance activeChar)
  2423. +    @Override
  2424. +   public boolean useAdminCommand(String command, L2PcInstance activeChar)
  2425.      {
  2426.          if (!Config.ALT_PRIVILEGES_ADMIN)
  2427.          {
  2428. @@ -645,7 +644,8 @@
  2429.          return (level >= REQUIRED_LEVEL2);
  2430.      }
  2431.  
  2432. -    public String[] getAdminCommandList()
  2433. +    @Override
  2434. +   public String[] getAdminCommandList()
  2435.      {
  2436.          return _adminCommands;
  2437.      } 
  2438. Index: java/net/sf/l2j/gameserver/handler/itemhandlers/FishShots.java
  2439. ===================================================================
  2440. --- java/net/sf/l2j/gameserver/handler/itemhandlers/FishShots.java  (revisión: 598)
  2441. +++ java/net/sf/l2j/gameserver/handler/itemhandlers/FishShots.java  (copia de trabajo)
  2442. @@ -43,6 +43,7 @@
  2443.     /* (non-Javadoc)
  2444.     * @see net.sf.l2j.gameserver.handler.IItemHandler#useItem(net.sf.l2j.gameserver.model.L2PcInstance, net.sf.l2j.gameserver.model.L2ItemInstance)
  2445.     */
  2446. +   @Override
  2447.     public void useItem(L2PlayableInstance playable, L2ItemInstance item)
  2448.     {
  2449.         if (!(playable instanceof L2PcInstance))
  2450. @@ -94,6 +95,7 @@
  2451.          activeChar.setTarget(oldTarget);        
  2452.     }
  2453.  
  2454. +   @Override
  2455.     public int[] getItemIds()
  2456.     {
  2457.         return _itemIds;
  2458. Index: java/net/sf/l2j/gameserver/model/actor/stat/NpcStat.java
  2459. ===================================================================
  2460. --- java/net/sf/l2j/gameserver/model/actor/stat/NpcStat.java    (revisión: 598)
  2461. +++ java/net/sf/l2j/gameserver/model/actor/stat/NpcStat.java    (copia de trabajo)
  2462. @@ -43,7 +43,8 @@
  2463.  
  2464.      // =========================================================
  2465.      // Property - Public
  2466. -    public L2NpcInstance getActiveChar()
  2467. +    @Override
  2468. +   public L2NpcInstance getActiveChar()
  2469.      {
  2470.          return (L2NpcInstance)super.getActiveChar();
  2471.      }
  2472. Index: java/net/sf/l2j/gameserver/instancemanager/ItemsOnGroundManager.java
  2473. ===================================================================
  2474. --- java/net/sf/l2j/gameserver/instancemanager/ItemsOnGroundManager.java    (revisión: 598)
  2475. +++ java/net/sf/l2j/gameserver/instancemanager/ItemsOnGroundManager.java    (copia de trabajo)
  2476. @@ -195,7 +195,8 @@
  2477.  
  2478.      protected class storeInDb extends Thread
  2479.      {
  2480. -       public void run()
  2481. +       @Override
  2482. +       public void run()
  2483.          {
  2484.              if (!Config.SAVE_DROPPED_ITEM)
  2485.                  return;
  2486. Index: java/net/sf/l2j/util/Point3D.java
  2487. ===================================================================
  2488. --- java/net/sf/l2j/util/Point3D.java   (revisión: 598)
  2489. +++ java/net/sf/l2j/util/Point3D.java   (copia de trabajo)
  2490. @@ -71,16 +71,19 @@
  2491.         }
  2492.     }
  2493.  
  2494. +   @Override
  2495.     public String toString()
  2496.     {
  2497.         return "(" + x + ", " + y + ", " + z + ")";
  2498.     }
  2499.  
  2500. +   @Override
  2501.     public int hashCode()
  2502.     {
  2503.         return x ^ y ^ z;
  2504.     }
  2505.  
  2506. +   @Override
  2507.     public synchronized boolean equals(Object o)
  2508.     {
  2509.         if (o instanceof Point3D)
  2510. Index: java/net/sf/l2j/loginserver/serverpackets/AccountKicked.java
  2511. ===================================================================
  2512. --- java/net/sf/l2j/loginserver/serverpackets/AccountKicked.java    (revisión: 598)
  2513. +++ java/net/sf/l2j/loginserver/serverpackets/AccountKicked.java    (copia de trabajo)
  2514. @@ -29,6 +29,7 @@
  2515.         writeD(reason);
  2516.     }
  2517.    
  2518. +   @Override
  2519.     public byte[] getContent()
  2520.     {
  2521.         return getBytes();
  2522. Index: java/net/sf/l2j/gameserver/model/actor/instance/L2BoatInstance.java
  2523. ===================================================================
  2524. --- java/net/sf/l2j/gameserver/model/actor/instance/L2BoatInstance.java (revisión: 598)
  2525. +++ java/net/sf/l2j/gameserver/model/actor/instance/L2BoatInstance.java (copia de trabajo)
  2526. @@ -76,7 +76,8 @@
  2527.          setAI(new L2BoatAI(new AIAccessor()));
  2528.      }
  2529.  
  2530. -    public final BoatKnownList getKnownList()
  2531. +    @Override
  2532. +   public final BoatKnownList getKnownList()
  2533.      {
  2534.          if (super.getKnownList() == null || !(super.getKnownList() instanceof BoatKnownList))
  2535.              setKnownList(new BoatKnownList(this));
  2536. @@ -83,7 +84,8 @@
  2537.          return (BoatKnownList)super.getKnownList();
  2538.      }
  2539.  
  2540. -    public final BoatStat getStat()
  2541. +    @Override
  2542. +   public final BoatStat getStat()
  2543.      {
  2544.          if (super.getStat() == null || !(super.getStat() instanceof BoatStat))
  2545.              setStat(new BoatStat(this));
  2546. @@ -165,7 +167,8 @@
  2547.                  if (distance > 1)
  2548.                      setHeading(Util.calculateHeadingFrom(getX(), getY(), point.getX(), point.getY()));
  2549.  
  2550. -                m._moveStartTime = GameTimeController.getInstance().getGameTicks();
  2551. +                GameTimeController.getInstance();
  2552. +               m._moveStartTime = GameTimeController.getGameTicks();
  2553.                  _move = m;
  2554.  
  2555.                  GameTimeController.getInstance().registerMovingObject(this);
  2556. @@ -380,7 +383,8 @@
  2557.              _boat = instance;
  2558.          }
  2559.  
  2560. -        public void run()
  2561. +        @Override
  2562. +       public void run()
  2563.          {
  2564.              BoatCaptain bc;
  2565.              switch(_state)
  2566. Index: java/net/sf/l2j/gameserver/model/actor/instance/L2TownPetInstance.java
  2567. ===================================================================
  2568. --- java/net/sf/l2j/gameserver/model/actor/instance/L2TownPetInstance.java  (revisión: 598)
  2569. +++ java/net/sf/l2j/gameserver/model/actor/instance/L2TownPetInstance.java  (copia de trabajo)
  2570. @@ -85,7 +85,8 @@
  2571.      }
  2572.      public class RandomWalkTask implements Runnable
  2573.      {
  2574. -        public void run()
  2575. +        @Override
  2576. +       public void run()
  2577.          {
  2578.              if (!isInActiveRegion())
  2579.                  return; // but rather the AI should be turned off completely..
  2580. Index: java/net/sf/l2j/gameserver/model/L2Fishing.java
  2581. ===================================================================
  2582. --- java/net/sf/l2j/gameserver/model/L2Fishing.java (revisión: 598)
  2583. +++ java/net/sf/l2j/gameserver/model/L2Fishing.java (copia de trabajo)
  2584. @@ -51,6 +51,7 @@
  2585.  
  2586.          private int _lureType;
  2587.  
  2588. +   @Override
  2589.     public void run()
  2590.     {
  2591.         if (_fishCurHP >= _fishMaxHP * 2)
  2592. Index: java/net/sf/l2j/gameserver/skills/conditions/ConditionLogicOr.java
  2593. ===================================================================
  2594. --- java/net/sf/l2j/gameserver/skills/conditions/ConditionLogicOr.java  (revisión: 598)
  2595. +++ java/net/sf/l2j/gameserver/skills/conditions/ConditionLogicOr.java  (copia de trabajo)
  2596. @@ -44,6 +44,7 @@
  2597.         _conditions = tmp;
  2598.     }
  2599.    
  2600. +   @Override
  2601.     void setListener(ConditionListener listener)
  2602.     {
  2603.         if (listener != null) {
  2604. @@ -56,6 +57,7 @@
  2605.         super.setListener(listener);
  2606.     }
  2607.    
  2608. +   @Override
  2609.     public boolean testImpl(Env env) {
  2610.         for (Condition c : _conditions) {
  2611.             if (c.test(env))
  2612. Index: java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminMonsterRace.java
  2613. ===================================================================
  2614. --- java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminMonsterRace.java   (revisión: 598)
  2615. +++ java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminMonsterRace.java   (copia de trabajo)
  2616. @@ -43,7 +43,8 @@
  2617.      private static final int REQUIRED_LEVEL = Config.GM_MONSTERRACE;
  2618.      protected static int state = -1;
  2619.  
  2620. -    public boolean useAdminCommand(String command, L2PcInstance activeChar)
  2621. +    @Override
  2622. +   public boolean useAdminCommand(String command, L2PcInstance activeChar)
  2623.      {
  2624.          if (!Config.ALT_PRIVILEGES_ADMIN)
  2625.          {
  2626. @@ -60,7 +61,8 @@
  2627.          return true;
  2628.      }
  2629.  
  2630. -    public String[] getAdminCommandList()
  2631. +    @Override
  2632. +   public String[] getAdminCommandList()
  2633.      {
  2634.          return _adminCommands;
  2635.      }
  2636. @@ -129,7 +131,8 @@
  2637.              this.activeChar = pActiveChar;
  2638.          }
  2639.  
  2640. -        public void run()
  2641. +        @Override
  2642. +       public void run()
  2643.          {
  2644.              MonRaceInfo spk = new MonRaceInfo(codes[2][0], codes[2][1], MonsterRace.getInstance().getMonsters(), MonsterRace.getInstance().getSpeeds());
  2645.              activeChar.sendPacket(spk);
  2646. @@ -147,7 +150,8 @@
  2647.              this.activeChar = pActiveChar;
  2648.          }
  2649.  
  2650. -        public void run()
  2651. +        @Override
  2652. +       public void run()
  2653.          {
  2654.              DeleteObject obj = null;
  2655.              for (int i = 0; i < 8; i++)
  2656. Index: java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminQuest.java
  2657. ===================================================================
  2658. --- java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminQuest.java (revisión: 598)
  2659. +++ java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminQuest.java (copia de trabajo)
  2660. @@ -41,7 +41,8 @@
  2661.      /* (non-Javadoc)
  2662.       * @see net.sf.l2j.gameserver.handler.IAdminCommandHandler#useAdminCommand(java.lang.String, net.sf.l2j.gameserver.model.L2PcInstance)
  2663.       */
  2664. -    public boolean useAdminCommand(String command, L2PcInstance activeChar)
  2665. +    @Override
  2666. +   public boolean useAdminCommand(String command, L2PcInstance activeChar)
  2667.      {
  2668.          if (activeChar == null) return false;
  2669.  
  2670. @@ -138,7 +139,8 @@
  2671.      /* (non-Javadoc)
  2672.       * @see net.sf.l2j.gameserver.handler.IAdminCommandHandler#getAdminCommandList()
  2673.       */
  2674. -    public String[] getAdminCommandList()
  2675. +    @Override
  2676. +   public String[] getAdminCommandList()
  2677.      {
  2678.          return ADMIN_QUEST_COMMANDS;
  2679.      }
  2680. Index: java/net/sf/l2j/gameserver/model/L2DropData.java
  2681. ===================================================================
  2682. --- java/net/sf/l2j/gameserver/model/L2DropData.java    (revisión: 598)
  2683. +++ java/net/sf/l2j/gameserver/model/L2DropData.java    (copia de trabajo)
  2684. @@ -158,7 +158,8 @@
  2685.       * Returns a report of the object
  2686.       * @return String
  2687.       */
  2688. -    public String toString()
  2689. +    @Override
  2690. +   public String toString()
  2691.      {
  2692.          String out = "ItemID: " + getItemId() + " Min: " + getMinDrop() +
  2693.             " Max: " + getMaxDrop() + " Chance: " + (getChance() / 10000.0) + "%";
  2694. @@ -175,7 +176,8 @@
  2695.       * @param Object to compare to the current one
  2696.       * @return boolean
  2697.       */
  2698. -    public boolean equals(Object o)
  2699. +    @Override
  2700. +   public boolean equals(Object o)
  2701.      {
  2702.          if (o instanceof L2DropData)
  2703.          {
  2704. Index: java/net/sf/l2j/gameserver/model/quest/QuestState.java
  2705. ===================================================================
  2706. --- java/net/sf/l2j/gameserver/model/quest/QuestState.java  (revisión: 598)
  2707. +++ java/net/sf/l2j/gameserver/model/quest/QuestState.java  (copia de trabajo)
  2708. @@ -41,7 +41,6 @@
  2709.  import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance;
  2710.  import net.sf.l2j.gameserver.network.serverpackets.ExShowQuestMark;
  2711.  import net.sf.l2j.gameserver.network.serverpackets.ItemList;
  2712. -import net.sf.l2j.gameserver.network.serverpackets.NpcHtmlMessage;
  2713.  import net.sf.l2j.gameserver.network.serverpackets.PlaySound;
  2714.  import net.sf.l2j.gameserver.network.serverpackets.QuestList;
  2715.  import net.sf.l2j.gameserver.network.serverpackets.StatusUpdate;
  2716. Index: java/net/sf/l2j/gameserver/skills/effects/EffectBuff.java
  2717. ===================================================================
  2718. --- java/net/sf/l2j/gameserver/skills/effects/EffectBuff.java   (revisión: 598)
  2719. +++ java/net/sf/l2j/gameserver/skills/effects/EffectBuff.java   (copia de trabajo)
  2720. @@ -34,11 +34,13 @@
  2721.         super(env, template);
  2722.     }
  2723.  
  2724. +   @Override
  2725.     public EffectType getEffectType()
  2726.     {
  2727.         return EffectType.BUFF;
  2728.     }
  2729.  
  2730. +   @Override
  2731.     public boolean onActionTime()
  2732.          {
  2733.                 // just stop this effect
  2734. Index: java/net/sf/l2j/gameserver/handler/voicedcommandhandlers/castle.java
  2735. ===================================================================
  2736. --- java/net/sf/l2j/gameserver/handler/voicedcommandhandlers/castle.java    (revisión: 598)
  2737. +++ java/net/sf/l2j/gameserver/handler/voicedcommandhandlers/castle.java    (copia de trabajo)
  2738. @@ -33,7 +33,8 @@
  2739.          "ride wyvern"
  2740.      };
  2741.  
  2742. -    public boolean useVoicedCommand(String command, L2PcInstance activeChar, String target)
  2743. +    @Override
  2744. +   public boolean useVoicedCommand(String command, L2PcInstance activeChar, String target)
  2745.      {
  2746.          if (target.equals("castle") && activeChar.isClanLeader())
  2747.          {
  2748. @@ -67,7 +68,8 @@
  2749.      }
  2750.  
  2751.  
  2752. -    public String[] getVoicedCommandList()
  2753. +    @Override
  2754. +   public String[] getVoicedCommandList()
  2755.      {
  2756.          return _voicedCommands;
  2757.      }
  2758. Index: java/net/sf/l2j/gameserver/skills/conditions/Condition.java
  2759. ===================================================================
  2760. --- java/net/sf/l2j/gameserver/skills/conditions/Condition.java (revisión: 598)
  2761. +++ java/net/sf/l2j/gameserver/skills/conditions/Condition.java (copia de trabajo)
  2762. @@ -71,6 +71,7 @@
  2763.    
  2764.     abstract boolean testImpl(Env env);
  2765.    
  2766. +   @Override
  2767.     public void notifyChanged()
  2768.     {
  2769.         if (_listener != null)
  2770. Index: java/net/sf/l2j/gameserver/ai/L2NpcWalkerAI.java
  2771. ===================================================================
  2772. --- java/net/sf/l2j/gameserver/ai/L2NpcWalkerAI.java    (revisión: 598)
  2773. +++ java/net/sf/l2j/gameserver/ai/L2NpcWalkerAI.java    (copia de trabajo)
  2774. @@ -74,12 +74,14 @@
  2775.          ThreadPoolManager.getInstance().scheduleAiAtFixedRate(this, 1000, 1000);
  2776.      }
  2777.  
  2778. -    public void run()
  2779. +    @Override
  2780. +   public void run()
  2781.      {
  2782.          onEvtThink();
  2783.      }
  2784.  
  2785. -    protected void onEvtThink()
  2786. +    @Override
  2787. +   protected void onEvtThink()
  2788.      {
  2789.          if (!Config.ALLOW_NPC_WALKERS)
  2790.              return;
  2791. @@ -98,7 +100,8 @@
  2792.       * If npc can't walk to it's target then just teleport to next point
  2793.       * @param blocked_at_pos ignoring it
  2794.       */
  2795. -    protected void onEvtArrivedBlocked(L2CharPosition blocked_at_pos)
  2796. +    @Override
  2797. +   protected void onEvtArrivedBlocked(L2CharPosition blocked_at_pos)
  2798.      {
  2799.          _log.warning("NpcWalker ID: " + getActor().getNpcId() + ": Blocked at rote position [" + _currentPos + "], coords: " + blocked_at_pos.x + ", " + blocked_at_pos.y + ", " + blocked_at_pos.z + ". Teleporting to next point");
  2800.  
  2801. @@ -176,7 +179,8 @@
  2802.          setIntention(CtrlIntention.AI_INTENTION_MOVE_TO, new L2CharPosition(destinationX, destinationY, destinationZ, 0));
  2803.      }
  2804.  
  2805. -    public L2NpcWalkerInstance getActor()
  2806. +    @Override
  2807. +   public L2NpcWalkerInstance getActor()
  2808.      {
  2809.          return (L2NpcWalkerInstance) super.getActor();
  2810.      }
  2811. Index: java/net/sf/l2j/gameserver/instancemanager/games/Lottery.java
  2812. ===================================================================
  2813. --- java/net/sf/l2j/gameserver/instancemanager/games/Lottery.java   (revisión: 598)
  2814. +++ java/net/sf/l2j/gameserver/instancemanager/games/Lottery.java   (copia de trabajo)
  2815. @@ -122,7 +122,8 @@
  2816.              // Do nothing
  2817.          }
  2818.  
  2819. -        public void run()
  2820. +        @Override
  2821. +       public void run()
  2822.          {
  2823.              try (Connection con = L2DatabaseFactory.getInstance().getConnection();
  2824.                  PreparedStatement statement = con.prepareStatement(SELECT_LAST_LOTTERY))
  2825. @@ -235,7 +236,8 @@
  2826.              // Do nothing
  2827.          }
  2828.  
  2829. -        public void run()
  2830. +        @Override
  2831. +       public void run()
  2832.          {
  2833.              if (Config.DEBUG) _log.info("Lottery: Stopping ticket sell for lottery #" + getId() + ".");
  2834.              _isSellingTickets = false;
  2835. @@ -251,7 +253,8 @@
  2836.              // Do nothing
  2837.          }
  2838.  
  2839. -        public void run()
  2840. +        @Override
  2841. +       public void run()
  2842.          {
  2843.              if (Config.DEBUG) _log.info("Lottery: Ending lottery #" + getId() + ".");
  2844.              
  2845. Index: java/net/sf/l2j/gameserver/taskmanager/KnownListUpdateTaskManager.java
  2846. ===================================================================
  2847. --- java/net/sf/l2j/gameserver/taskmanager/KnownListUpdateTaskManager.java  (revisión: 598)
  2848. +++ java/net/sf/l2j/gameserver/taskmanager/KnownListUpdateTaskManager.java  (copia de trabajo)
  2849. @@ -58,7 +58,8 @@
  2850.              // Do nothing
  2851.         }
  2852.  
  2853. -        public void run()
  2854. +        @Override
  2855. +       public void run()
  2856.          {
  2857.              try
  2858.              {
  2859. Index: java/net/sf/l2j/util/L2ObjectHashSet.java
  2860. ===================================================================
  2861. --- java/net/sf/l2j/util/L2ObjectHashSet.java   (revisión: 598)
  2862. +++ java/net/sf/l2j/util/L2ObjectHashSet.java   (copia de trabajo)
  2863. @@ -88,6 +88,7 @@
  2864.     /* (non-Javadoc)
  2865.           * @see net.sf.l2j.util.L2ObjectSet#size()
  2866.           */
  2867. +   @Override
  2868.     public int size()
  2869.     {
  2870.         return count;
  2871. @@ -96,6 +97,7 @@
  2872.     /* (non-Javadoc)
  2873.           * @see net.sf.l2j.util.L2ObjectSet#isEmpty()
  2874.           */
  2875. +   @Override
  2876.     public boolean isEmpty()
  2877.     {
  2878.         return count == 0;
  2879. @@ -104,7 +106,8 @@
  2880.     /* (non-Javadoc)
  2881.           * @see net.sf.l2j.util.L2ObjectSet#clear()
  2882.           */
  2883. -        @SuppressWarnings("unchecked")
  2884. +        @Override
  2885. +       @SuppressWarnings("unchecked")
  2886.     public synchronized void clear()
  2887.     {
  2888.         int size = primes[0];
  2889. @@ -133,6 +136,7 @@
  2890.     /* (non-Javadoc)
  2891.           * @see net.sf.l2j.util.L2ObjectSet#put(T)
  2892.           */
  2893. +   @Override
  2894.     public synchronized void put(T obj)
  2895.     {
  2896.         if (obj == null)
  2897. @@ -196,6 +200,7 @@
  2898.     /* (non-Javadoc)
  2899.           * @see net.sf.l2j.util.L2ObjectSet#remove(T)
  2900.           */
  2901. +   @Override
  2902.     public synchronized void remove(T obj)
  2903.     {
  2904.         if (obj == null)
  2905. @@ -234,6 +239,7 @@
  2906.     /* (non-Javadoc)
  2907.           * @see net.sf.l2j.util.L2ObjectSet#contains(T)
  2908.           */
  2909. +   @Override
  2910.     public boolean contains(T obj)
  2911.     {
  2912.         final int size = table.length;
  2913. @@ -311,6 +317,7 @@
  2914.     /* (non-Javadoc)
  2915.           * @see net.sf.l2j.util.L2ObjectSet#iterator()
  2916.           */
  2917. +   @Override
  2918.     public Iterator<T> iterator()
  2919.     {
  2920.         return new Itr(table);
  2921. @@ -332,10 +339,12 @@
  2922.                     return;
  2923.             }
  2924.         }
  2925. +       @Override
  2926.         public boolean hasNext()
  2927.         {
  2928.             return nextObj != null;
  2929.         }
  2930. +       @Override
  2931.         public T next()
  2932.         {
  2933.             if (nextObj == null)
  2934. @@ -351,6 +360,7 @@
  2935.                 nextObj = null;
  2936.             return lastRet;
  2937.         }
  2938. +       @Override
  2939.         public void remove()
  2940.         {
  2941.             if (lastRet == null)
  2942. Index: java/net/sf/l2j/util/L2ObjectSet.java
  2943. ===================================================================
  2944. --- java/net/sf/l2j/util/L2ObjectSet.java   (revisión: 598)
  2945. +++ java/net/sf/l2j/util/L2ObjectSet.java   (copia de trabajo)
  2946. @@ -65,5 +65,6 @@
  2947.  
  2948.      public abstract boolean contains(T obj);
  2949.  
  2950. -    public abstract Iterator<T> iterator();
  2951. +    @Override
  2952. +   public abstract Iterator<T> iterator();
  2953.  }
  2954. \ No newline at end of file
  2955. Index: java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminSpawn.java
  2956. ===================================================================
  2957. --- java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminSpawn.java (revisión: 598)
  2958. +++ java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminSpawn.java (copia de trabajo)
  2959. @@ -73,7 +73,8 @@
  2960.      private static final int REQUIRED_LEVEL = Config.GM_NPC_EDIT;
  2961.      private static final int REQUIRED_LEVEL2 = Config.GM_TELEPORT_OTHER;
  2962.  
  2963. -    public boolean useAdminCommand(String command, L2PcInstance activeChar)
  2964. +    @Override
  2965. +   public boolean useAdminCommand(String command, L2PcInstance activeChar)
  2966.      {
  2967.          if (!Config.ALT_PRIVILEGES_ADMIN)
  2968.          {
  2969. @@ -206,7 +207,8 @@
  2970.          return true;
  2971.      }
  2972.  
  2973. -    public String[] getAdminCommandList()
  2974. +    @Override
  2975. +   public String[] getAdminCommandList()
  2976.      {
  2977.          return _adminCommands;
  2978.      }
  2979. Index: java/net/sf/l2j/gameserver/handler/itemhandlers/SevenSignsRecord.java
  2980. ===================================================================
  2981. --- java/net/sf/l2j/gameserver/handler/itemhandlers/SevenSignsRecord.java   (revisión: 598)
  2982. +++ java/net/sf/l2j/gameserver/handler/itemhandlers/SevenSignsRecord.java   (copia de trabajo)
  2983. @@ -34,6 +34,7 @@
  2984.  {
  2985.          private static int[] _itemIds = {5707};
  2986.  
  2987. +   @Override
  2988.     public void useItem(L2PlayableInstance playable, @SuppressWarnings("unused") L2ItemInstance item)
  2989.     {
  2990.         L2PcInstance activeChar;
  2991. @@ -49,6 +50,7 @@
  2992.         activeChar.sendPacket(ssqs);
  2993.     }
  2994.        
  2995. +   @Override
  2996.     public int[] getItemIds()
  2997.     {
  2998.                  return _itemIds;
  2999. Index: java/net/sf/l2j/gameserver/model/actor/instance/L2NpcWalkerInstance.java
  3000. ===================================================================
  3001. --- java/net/sf/l2j/gameserver/model/actor/instance/L2NpcWalkerInstance.java    (revisión: 598)
  3002. +++ java/net/sf/l2j/gameserver/model/actor/instance/L2NpcWalkerInstance.java    (copia de trabajo)
  3003. @@ -52,13 +52,15 @@
  3004.       * AI can't be deattached, npc must move always with the same AI instance.
  3005.       * @param newAI AI to set for this L2NpcWalkerInstance
  3006.       */
  3007. -    public void setAI(L2CharacterAI newAI)
  3008. +    @Override
  3009. +   public void setAI(L2CharacterAI newAI)
  3010.      {
  3011.          if (_ai == null || !(_ai instanceof L2NpcWalkerAI))
  3012.              _ai = newAI;
  3013.      }
  3014.  
  3015. -    public void onSpawn()
  3016. +    @Override
  3017. +   public void onSpawn()
  3018.      {
  3019.          getAI().setHomeX(getX());
  3020.          getAI().setHomeY(getY());
  3021. @@ -107,12 +109,14 @@
  3022.       * @param killer ignore it
  3023.       * @return false
  3024.       */
  3025. -    public boolean doDie(L2Character killer)
  3026. +    @Override
  3027. +   public boolean doDie(L2Character killer)
  3028.      {
  3029.          return false;
  3030.      }
  3031.  
  3032. -    public L2NpcWalkerAI getAI()
  3033. +    @Override
  3034. +   public L2NpcWalkerAI getAI()
  3035.      {
  3036.          return (L2NpcWalkerAI)_ai;
  3037.      }
  3038. @@ -122,6 +126,7 @@
  3039.          /**
  3040.           * AI can't be deattached.
  3041.           */
  3042. -        public void detachAI() {}
  3043. +        @Override
  3044. +       public void detachAI() {}
  3045.      }
  3046.  }
  3047. \ No newline at end of file
  3048. Index: java/net/sf/l2j/gameserver/skills/funcs/FuncDiv.java
  3049. ===================================================================
  3050. --- java/net/sf/l2j/gameserver/skills/funcs/FuncDiv.java    (revisión: 598)
  3051. +++ java/net/sf/l2j/gameserver/skills/funcs/FuncDiv.java    (copia de trabajo)
  3052. @@ -29,6 +29,7 @@
  3053.         super(stat, order, owner);
  3054.         _lambda = lambda;
  3055.     }
  3056. +   @Override
  3057.     public void calc(Env env)
  3058.     {
  3059.         if (_cond == null || _cond.test(env))
  3060. Index: java/net/sf/l2j/gameserver/model/actor/instance/L2VillageMasterInstance.java
  3061. ===================================================================
  3062. --- java/net/sf/l2j/gameserver/model/actor/instance/L2VillageMasterInstance.java    (revisión: 598)
  3063. +++ java/net/sf/l2j/gameserver/model/actor/instance/L2VillageMasterInstance.java    (copia de trabajo)
  3064. @@ -24,12 +24,12 @@
  3065.  import javolution.text.TextBuilder;
  3066.  
  3067.  import net.sf.l2j.Config;
  3068. -import net.sf.l2j.L2DatabaseFactory;
  3069.  import net.sf.l2j.gameserver.Olympiad;
  3070.  import net.sf.l2j.gameserver.datatables.CharTemplateTable;
  3071.  import net.sf.l2j.gameserver.datatables.ClanTable;
  3072.  import net.sf.l2j.gameserver.instancemanager.CastleManager;
  3073.  import net.sf.l2j.gameserver.instancemanager.SiegeManager;
  3074. +import net.sf.l2j.gameserver.model.L2Character;
  3075.  import net.sf.l2j.gameserver.model.L2Clan;
  3076.  import net.sf.l2j.gameserver.model.base.ClassId;
  3077.  import net.sf.l2j.gameserver.model.base.ClassType;
  3078. @@ -62,7 +62,8 @@
  3079.          super(objectId, template);
  3080.      }
  3081.  
  3082. -    public void onBypassFeedback(L2PcInstance player, String command)
  3083. +    @Override
  3084. +   public void onBypassFeedback(L2PcInstance player, String command)
  3085.      {
  3086.          String[] commandStr = command.split(" ");
  3087.          String actualCommand = commandStr[0]; // Get actual command
  3088. @@ -389,7 +390,8 @@
  3089.          }
  3090.      }
  3091.  
  3092. -    public String getHtmlPath(int npcId, int val)
  3093. +    @Override
  3094. +   public String getHtmlPath(int npcId, int val)
  3095.      {
  3096.          String pom = "";
  3097.  
  3098. @@ -436,7 +438,7 @@
  3099.              }
  3100.          }
  3101.  
  3102. -        if (player.isInsideZone(L2PcInstance.ZONE_SIEGE))
  3103. +        if (player.isInsideZone(L2Character.ZONE_SIEGE))
  3104.          {
  3105.              player.sendPacket(new SystemMessage(SystemMessage.CANNOT_DISSOLVE_WHILE_IN_SIEGE));
  3106.              return;
  3107. Index: java/net/sf/l2j/gameserver/script/faenor/FaenorEventParser.java
  3108. ===================================================================
  3109. --- java/net/sf/l2j/gameserver/script/faenor/FaenorEventParser.java (revisión: 598)
  3110. +++ java/net/sf/l2j/gameserver/script/faenor/FaenorEventParser.java (copia de trabajo)
  3111. @@ -63,7 +63,8 @@
  3112.              _log.info("Event ID: (" + ID + ") is not active yet... Ignored.");
  3113.              ThreadPoolManager.getInstance().scheduleGeneral(new Runnable()
  3114.              {
  3115. -                public void run()
  3116. +                @Override
  3117. +               public void run()
  3118.                  {
  3119.                      parseEventDropAndMessage(eventNode);
  3120.                  }
  3121. Index: java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminMammon.java
  3122. ===================================================================
  3123. --- java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminMammon.java    (revisión: 598)
  3124. +++ java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminMammon.java    (copia de trabajo)
  3125. @@ -39,7 +39,8 @@
  3126.                                                "admin_list_spawns", "admin_msg"};
  3127.      private static final int REQUIRED_LEVEL = Config.GM_MENU;
  3128.  
  3129. -    public boolean useAdminCommand(String command, L2PcInstance activeChar)
  3130. +    @Override
  3131. +   public boolean useAdminCommand(String command, L2PcInstance activeChar)
  3132.      {
  3133.          if (!Config.ALT_PRIVILEGES_ADMIN)
  3134.          {
  3135. @@ -151,7 +152,8 @@
  3136.          return true;
  3137.      }
  3138.  
  3139. -    public String[] getAdminCommandList()
  3140. +    @Override
  3141. +   public String[] getAdminCommandList()
  3142.      {
  3143.          return _adminCommands;
  3144.      }
  3145. Index: java/net/sf/l2j/gameserver/network/serverpackets/EtcStatusUpdate.java
  3146. ===================================================================
  3147. --- java/net/sf/l2j/gameserver/network/serverpackets/EtcStatusUpdate.java   (revisión: 598)
  3148. +++ java/net/sf/l2j/gameserver/network/serverpackets/EtcStatusUpdate.java   (copia de trabajo)
  3149. @@ -18,6 +18,7 @@
  3150.   */
  3151.  package net.sf.l2j.gameserver.network.serverpackets;
  3152.  
  3153. +import net.sf.l2j.gameserver.model.L2Character;
  3154.  import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance;
  3155.  
  3156.  /* Packet format: F3 XX000000 YY000000 ZZ000000 */
  3157. @@ -48,7 +49,7 @@
  3158.         writeD(_activeChar.getCharges()); // 1-7 increase force, lvl
  3159.         writeD(_activeChar.getWeightPenalty()); // 1-4 weight penalty, lvl (1=50%, 2=66.6%, 3=80%, 4=100%)
  3160.         writeD((_activeChar.getMessageRefusal() || _activeChar.isChatBanned()) ? 1 : 0); // 1 = block all chat
  3161. -       writeD(_activeChar.isInsideZone(L2PcInstance.ZONE_DANGERAREA) ? 1 : 0); // 1 = danger area
  3162. +       writeD(_activeChar.isInsideZone(L2Character.ZONE_DANGERAREA) ? 1 : 0); // 1 = danger area
  3163.         writeD(Math.min(_activeChar.getExpertisePenalty(), 1)); // 1 = grade penalty
  3164.     }
  3165.  
  3166. Index: java/net/sf/l2j/gameserver/model/actor/instance/L2FestivalMonsterInstance.java
  3167. ===================================================================
  3168. --- java/net/sf/l2j/gameserver/model/actor/instance/L2FestivalMonsterInstance.java  (revisión: 598)
  3169. +++ java/net/sf/l2j/gameserver/model/actor/instance/L2FestivalMonsterInstance.java  (copia de trabajo)
  3170. @@ -59,7 +59,8 @@
  3171.      /**
  3172.       * Return True if the attacker is not another L2FestivalMonsterInstance.<BR><BR>
  3173.       */
  3174. -    public boolean isAutoAttackable(L2Character attacker)
  3175. +    @Override
  3176. +   public boolean isAutoAttackable(L2Character attacker)
  3177.      {
  3178.          if (attacker instanceof L2FestivalMonsterInstance)
  3179.              return false;
  3180. @@ -70,7 +71,8 @@
  3181.      /**
  3182.       * All mobs in the festival are aggressive, and have high aggro range.
  3183.       */
  3184. -    public boolean isAggressive()
  3185. +    @Override
  3186. +   public boolean isAggressive()
  3187.      {
  3188.          return true;
  3189.      }
  3190. @@ -78,7 +80,8 @@
  3191.      /**
  3192.       * All mobs in the festival really don't need random animation.
  3193.       */
  3194. -    public boolean hasRandomAnimation()
  3195. +    @Override
  3196. +   public boolean hasRandomAnimation()
  3197.      {
  3198.          return false;
  3199.      }
  3200. @@ -89,7 +92,8 @@
  3201.       * <li>Add a blood offering item to the leader of the party.</li>
  3202.       * <li>Update the party leader's inventory to show the new item addition.</li>
  3203.       */
  3204. -    public void doItemDrop(L2Character lastAttacker)
  3205. +    @Override
  3206. +   public void doItemDrop(L2Character lastAttacker)
  3207.      {
  3208.          L2PcInstance killingChar = null;
  3209.          
  3210. Index: java/net/sf/l2j/gameserver/model/actor/instance/L2SiegeGuardInstance.java
  3211. ===================================================================
  3212. --- java/net/sf/l2j/gameserver/model/actor/instance/L2SiegeGuardInstance.java   (revisión: 598)
  3213. +++ java/net/sf/l2j/gameserver/model/actor/instance/L2SiegeGuardInstance.java   (copia de trabajo)
  3214. @@ -56,7 +56,8 @@
  3215.          getKnownList();
  3216.      }
  3217.  
  3218. -    public final SiegeGuardKnownList getKnownList()
  3219. +    @Override
  3220. +   public final SiegeGuardKnownList getKnownList()
  3221.      {
  3222.          if (super.getKnownList() == null || !(super.getKnownList() instanceof SiegeGuardKnownList))
  3223.              this.setKnownList(new SiegeGuardKnownList(this));
  3224. @@ -63,6 +64,7 @@
  3225.          return (SiegeGuardKnownList)super.getKnownList();
  3226.      }
  3227.  
  3228. +   @Override
  3229.     public L2CharacterAI getAI()
  3230.     {
  3231.         synchronized(this)
  3232. @@ -79,7 +81,8 @@
  3233.      * @param attacker The L2Character that the L2SiegeGuardInstance try to attack
  3234.      *
  3235.      */
  3236. -    public boolean isAutoAttackable(L2Character attacker)
  3237. +    @Override
  3238. +   public boolean isAutoAttackable(L2Character attacker)
  3239.      {
  3240.          L2PcInstance attackingPlayer = null;
  3241.          if (attacker instanceof L2PcInstance)
  3242. @@ -117,7 +120,8 @@
  3243.       * extra check to see if a player should interact or ATTACK them when clicked.
  3244.       *
  3245.       */
  3246. -    public void onAction(L2PcInstance player)
  3247. +    @Override
  3248. +   public void onAction(L2PcInstance player)
  3249.      {
  3250.  
  3251.  
  3252. @@ -176,7 +180,8 @@
  3253.          }
  3254.      }
  3255.  
  3256. -    public void addDamageHate(L2Character attacker, int damage, int aggro)
  3257. +    @Override
  3258. +   public void addDamageHate(L2Character attacker, int damage, int aggro)
  3259.      {
  3260.          if (attacker == null)
  3261.              return;
  3262. @@ -187,7 +192,8 @@
  3263.          }
  3264.      }
  3265.  
  3266. -    public boolean hasRandomAnimation()
  3267. +    @Override
  3268. +   public boolean hasRandomAnimation()
  3269.      {
  3270.          return false;
  3271.      }
  3272. Index: java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminTeleport.java
  3273. ===================================================================
  3274. --- java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminTeleport.java  (revisión: 598)
  3275. +++ java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminTeleport.java  (copia de trabajo)
  3276. @@ -88,7 +88,8 @@
  3277.      private static final int REQUIRED_LEVEL = Config.GM_TELEPORT;
  3278.      private static final int REQUIRED_LEVEL2 = Config.GM_TELEPORT_OTHER;
  3279.  
  3280. -    public boolean useAdminCommand(String command, L2PcInstance activeChar)
  3281. +    @Override
  3282. +   public boolean useAdminCommand(String command, L2PcInstance activeChar)
  3283.      {
  3284.          if (!Config.ALT_PRIVILEGES_ADMIN)
  3285.          {
  3286. @@ -375,7 +376,8 @@
  3287.          return true;
  3288.      }
  3289.      
  3290. -    public String[] getAdminCommandList()
  3291. +    @Override
  3292. +   public String[] getAdminCommandList()
  3293.      {
  3294.          return _adminCommands;
  3295.      }
  3296. Index: java/net/sf/l2j/gameserver/pathfinding/geonodes/GeoNodeLoc.java
  3297. ===================================================================
  3298. --- java/net/sf/l2j/gameserver/pathfinding/geonodes/GeoNodeLoc.java (revisión: 598)
  3299. +++ java/net/sf/l2j/gameserver/pathfinding/geonodes/GeoNodeLoc.java (copia de trabajo)
  3300. @@ -71,11 +71,13 @@
  3301.              // Overriden
  3302.          }
  3303.  
  3304. +   @Override
  3305.     public int getNodeX()
  3306.     {
  3307.         return _x;
  3308.     }
  3309.    
  3310. +   @Override
  3311.     public int getNodeY()
  3312.     {
  3313.         return _y;
  3314. Index: java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminGeoEditor.java
  3315. ===================================================================
  3316. --- java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminGeoEditor.java (revisión: 598)
  3317. +++ java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminGeoEditor.java (copia de trabajo)
  3318. @@ -41,7 +41,8 @@
  3319.  
  3320.      private static final int REQUIRED_LEVEL = Config.GM_MIN;
  3321.  
  3322. -    public boolean useAdminCommand(String command, L2PcInstance activeChar)
  3323. +    @Override
  3324. +   public boolean useAdminCommand(String command, L2PcInstance activeChar)
  3325.      {
  3326.          if (!Config.ALT_PRIVILEGES_ADMIN)
  3327.          {
  3328. @@ -118,7 +119,8 @@
  3329.          return true;
  3330.      }
  3331.  
  3332. -    public String[] getAdminCommandList()
  3333. +    @Override
  3334. +   public String[] getAdminCommandList()
  3335.      {
  3336.          return _adminCommands;
  3337.      }
  3338. Index: java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminHeal.java
  3339. ===================================================================
  3340. --- java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminHeal.java  (revisión: 598)
  3341. +++ java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminHeal.java  (copia de trabajo)
  3342. @@ -40,7 +40,8 @@
  3343.      private static String[] _adminCommands = {"admin_heal"};
  3344.      private static final int REQUIRED_LEVEL = Config.GM_HEAL;
  3345.      
  3346. -    public boolean useAdminCommand(String command, L2PcInstance activeChar)
  3347. +    @Override
  3348. +   public boolean useAdminCommand(String command, L2PcInstance activeChar)
  3349.      {
  3350.          if (!Config.ALT_PRIVILEGES_ADMIN)
  3351.          {
  3352. @@ -68,7 +69,8 @@
  3353.          return true;
  3354.      }
  3355.      
  3356. -    public String[] getAdminCommandList()
  3357. +    @Override
  3358. +   public String[] getAdminCommandList()
  3359.      {
  3360.          return _adminCommands;
  3361.      }
  3362. Index: java/net/sf/l2j/gameserver/model/actor/instance/L2ControllableMobInstance.java
  3363. ===================================================================
  3364. --- java/net/sf/l2j/gameserver/model/actor/instance/L2ControllableMobInstance.java  (revisión: 598)
  3365. +++ java/net/sf/l2j/gameserver/model/actor/instance/L2ControllableMobInstance.java  (copia de trabajo)
  3366. @@ -36,6 +36,7 @@
  3367.    
  3368.     protected class ControllableAIAcessor extends AIAccessor
  3369.          {
  3370. +       @Override
  3371.         public void detachAI()
  3372.                  {
  3373.             // do nothing, AI of controllable mobs can't be detached automatically
  3374. @@ -42,11 +43,13 @@
  3375.         }
  3376.     }
  3377.  
  3378. +   @Override
  3379.     public boolean isAggressive()
  3380.          {
  3381.         return true;
  3382.     }
  3383.  
  3384. +   @Override
  3385.     public int getAggroRange()
  3386.          {
  3387.         // force mobs to be aggro
  3388. @@ -58,6 +61,7 @@
  3389.         super(objectId, template);
  3390.     }
  3391.  
  3392. +   @Override
  3393.     public L2CharacterAI getAI()
  3394.          {
  3395.         if (_ai == null)
  3396. @@ -78,6 +82,7 @@
  3397.         return _ai;
  3398.     }
  3399.  
  3400. +   @Override
  3401.     public boolean isInvul()
  3402.          {
  3403.         return _isInvul;
  3404. @@ -119,6 +124,7 @@
  3405.         }
  3406.     }
  3407.  
  3408. +   @Override
  3409.     public boolean doDie(L2Character killer)
  3410.          {
  3411.                  if (!super.doDie(killer))
  3412. @@ -128,6 +134,7 @@
  3413.                  return true;
  3414.     }
  3415.  
  3416. +   @Override
  3417.     public void deleteMe()
  3418.          {
  3419.         removeAI();
  3420. Index: java/net/sf/l2j/gameserver/skills/effects/EffectFear.java
  3421. ===================================================================
  3422. --- java/net/sf/l2j/gameserver/skills/effects/EffectFear.java   (revisión: 598)
  3423. +++ java/net/sf/l2j/gameserver/skills/effects/EffectFear.java   (copia de trabajo)
  3424. @@ -48,13 +48,15 @@
  3425.          super(env, template);
  3426.      }
  3427.  
  3428. -    public EffectType getEffectType()
  3429. +    @Override
  3430. +   public EffectType getEffectType()
  3431.      {
  3432.          return EffectType.FEAR;
  3433.      }
  3434.  
  3435.      /** Notify started */
  3436. -    public void onStart()
  3437. +    @Override
  3438. +   public void onStart()
  3439.      {
  3440.          if (getEffected() instanceof L2FolkInstance)
  3441.              return;
  3442. @@ -84,13 +86,15 @@
  3443.      }
  3444.  
  3445.      /** Notify exited */
  3446. -    public void onExit()
  3447. +    @Override
  3448. +   public void onExit()
  3449.  
  3450.      {
  3451.          getEffected().stopFear(this);
  3452.      }
  3453.  
  3454. -    public boolean onActionTime()
  3455. +    @Override
  3456. +   public boolean onActionTime()
  3457.      {
  3458.          int posX = getEffected().getX();
  3459.          int posY = getEffected().getY();
  3460. Index: java/net/sf/l2j/gameserver/idfactory/StackIDFactory.java
  3461. ===================================================================
  3462. --- java/net/sf/l2j/gameserver/idfactory/StackIDFactory.java    (revisión: 598)
  3463. +++ java/net/sf/l2j/gameserver/idfactory/StackIDFactory.java    (copia de trabajo)
  3464. @@ -123,7 +123,8 @@
  3465.          return _instance;
  3466.      }
  3467.  
  3468. -    public synchronized int getNextId()
  3469. +    @Override
  3470. +   public synchronized int getNextId()
  3471.      {
  3472.          int id;
  3473.          if (!_freeOIDStack.empty())
  3474. @@ -140,12 +141,14 @@
  3475.       * return a used Object ID back to the pool
  3476.       * @param object ID
  3477.       */
  3478. -    public synchronized void releaseId(int id)
  3479. +    @Override
  3480. +   public synchronized void releaseId(int id)
  3481.      {
  3482.         _freeOIDStack.push(id);
  3483.      }
  3484.      
  3485. -    public int size()
  3486. +    @Override
  3487. +   public int size()
  3488.      {
  3489.          return FREE_OBJECT_ID_SIZE - _curOID + FIRST_OID + _freeOIDStack.size();
  3490.      }
  3491. Index: java/net/sf/l2j/gameserver/skills/effects/EffectSleep.java
  3492. ===================================================================
  3493. --- java/net/sf/l2j/gameserver/skills/effects/EffectSleep.java  (revisión: 598)
  3494. +++ java/net/sf/l2j/gameserver/skills/effects/EffectSleep.java  (copia de trabajo)
  3495. @@ -34,6 +34,7 @@
  3496.         super(env, template);
  3497.     }
  3498.  
  3499. +   @Override
  3500.     public EffectType getEffectType()
  3501.     {
  3502.         return EffectType.SLEEP;
  3503. @@ -40,6 +41,7 @@
  3504.     }
  3505.    
  3506.     /** Notify started */
  3507. +   @Override
  3508.     public void onStart()
  3509.          {
  3510.         getEffected().startSleeping();
  3511. @@ -46,11 +48,13 @@
  3512.     }
  3513.    
  3514.     /** Notify exited */
  3515. +   @Override
  3516.     public void onExit() {
  3517.         getEffected().stopSleeping(this);
  3518.     }
  3519.    
  3520. -    public boolean onActionTime()
  3521. +    @Override
  3522. +   public boolean onActionTime()
  3523.      {
  3524.          getEffected().stopSleeping(this);
  3525.         // just stop this effect
  3526. Index: java/net/sf/l2j/gameserver/model/Inventory.java
  3527. ===================================================================
  3528. --- java/net/sf/l2j/gameserver/model/Inventory.java (revisión: 598)
  3529. +++ java/net/sf/l2j/gameserver/model/Inventory.java (copia de trabajo)
  3530. @@ -104,7 +104,8 @@
  3531.         /**
  3532.          * Add alteration in inventory when item equipped
  3533.          */
  3534. -        @SuppressWarnings("unused")
  3535. +        @Override
  3536. +       @SuppressWarnings("unused")
  3537.         public void notifyEquiped(int slot, L2ItemInstance item) {
  3538.             if (!_changed.contains(item))
  3539.                 _changed.add(item);
  3540. @@ -113,7 +114,8 @@
  3541.         /**
  3542.          * Add alteration in inventory when item unequipped
  3543.          */
  3544. -        @SuppressWarnings("unused")
  3545. +        @Override
  3546. +       @SuppressWarnings("unused")
  3547.         public void notifyUnequiped(int slot, L2ItemInstance item) {
  3548.             if (!_changed.contains(item))
  3549.                 _changed.add(item);
  3550. @@ -130,7 +132,8 @@
  3551.  
  3552.      final class BowListener implements PaperdollListener
  3553.      {
  3554. -       public void notifyUnequiped(int slot, L2ItemInstance item)
  3555. +       @Override
  3556. +       public void notifyUnequiped(int slot, L2ItemInstance item)
  3557.         {
  3558.             if (slot != PAPERDOLL_LRHAND)
  3559.                 return;
  3560. @@ -142,7 +145,8 @@
  3561.                     setPaperdollItem(PAPERDOLL_LHAND, null);
  3562.             }
  3563.         }
  3564. -       public void notifyEquiped(int slot, L2ItemInstance item)
  3565. +       @Override
  3566. +       public void notifyEquiped(int slot, L2ItemInstance item)
  3567.         {
  3568.             if (slot != PAPERDOLL_LRHAND)
  3569.                 return;
  3570. @@ -158,13 +162,15 @@
  3571.    
  3572.      final class StatsListener implements PaperdollListener
  3573.      {
  3574. -       public void notifyUnequiped(int slot, L2ItemInstance item)
  3575. +       @Override
  3576. +       public void notifyUnequiped(int slot, L2ItemInstance item)
  3577.         {
  3578.             if (slot == PAPERDOLL_LRHAND)
  3579.                 return;
  3580.             getOwner().removeStatsOwner(item);
  3581.         }
  3582. -       public void notifyEquiped(int slot, L2ItemInstance item)
  3583. +       @Override
  3584. +       public void notifyEquiped(int slot, L2ItemInstance item)
  3585.         {
  3586.             if (slot == PAPERDOLL_LRHAND)
  3587.                 return;
  3588. @@ -174,7 +180,8 @@
  3589.  
  3590.      final class ItemPassiveSkillsListener implements PaperdollListener
  3591.      {
  3592. -        public void notifyUnequiped(int slot, L2ItemInstance item)
  3593. +        @Override
  3594. +       public void notifyUnequiped(int slot, L2ItemInstance item)
  3595.          {
  3596.              if (!(getOwner() instanceof L2PcInstance))
  3597.                  return;
  3598. @@ -202,7 +209,8 @@
  3599.  
  3600.         }
  3601.  
  3602. -       public void notifyEquiped(int slot, L2ItemInstance item)
  3603. +       @Override
  3604. +       public void notifyEquiped(int slot, L2ItemInstance item)
  3605.         {
  3606.              if (!(getOwner() instanceof L2PcInstance))
  3607.                  return;
  3608. @@ -230,7 +238,8 @@
  3609.  
  3610.      final class ArmorSetListener implements PaperdollListener
  3611.      {
  3612. -        public void notifyEquiped(int slot, L2ItemInstance item)
  3613. +        @Override
  3614. +       public void notifyEquiped(int slot, L2ItemInstance item)
  3615.          {
  3616.              if (!(getOwner() instanceof L2PcInstance))
  3617.                  return;
  3618. @@ -294,7 +303,8 @@
  3619.              }
  3620.          }
  3621.  
  3622. -       public void notifyUnequiped(int slot, L2ItemInstance item)
  3623. +       @Override
  3624. +       public void notifyUnequiped(int slot, L2ItemInstance item)
  3625.         {
  3626.              boolean remove = false;
  3627.              int removeSkillId1 = 0; // set skill
  3628. @@ -359,7 +369,8 @@
  3629.  
  3630.      final class FormalWearListener implements PaperdollListener
  3631.      {
  3632. -       public void notifyUnequiped(int slot, L2ItemInstance item)
  3633. +       @Override
  3634. +       public void notifyUnequiped(int slot, L2ItemInstance item)
  3635.         {
  3636.             if (!(getOwner() != null
  3637.                     && getOwner() instanceof L2PcInstance))
  3638. @@ -370,7 +381,8 @@
  3639.             if (item.getItemId() == 6408)
  3640.                 owner.setIsWearingFormalWear(false);
  3641.         }
  3642. -       public void notifyEquiped(int slot, L2ItemInstance item)
  3643. +       @Override
  3644. +       public void notifyEquiped(int slot, L2ItemInstance item)
  3645.         {
  3646.             if (!(getOwner() != null
  3647.                     && getOwner() instanceof L2PcInstance))
  3648. @@ -493,7 +505,8 @@
  3649.       *
  3650.       * @param item : L2ItemInstance to be added from inventory
  3651.       */
  3652. -    protected void addItem(L2ItemInstance item)
  3653. +    @Override
  3654. +   protected void addItem(L2ItemInstance item)
  3655.      {
  3656.         super.addItem(item);
  3657.         if (item.isEquipped())
  3658. @@ -504,7 +517,8 @@
  3659.       * Removes item from inventory for further adjustments.
  3660.       * @param item : L2ItemInstance to be removed from inventory
  3661.       */
  3662. -    protected boolean removeItem(L2ItemInstance item)
  3663. +    @Override
  3664. +   protected boolean removeItem(L2ItemInstance item)
  3665.      {
  3666.         // Unequip item if equipped
  3667.          for (int i = 0; i < _paperdoll.length; i++)
  3668. @@ -948,6 +962,7 @@
  3669.     /**
  3670.      * Refresh the weight of equipment loaded
  3671.      */
  3672. +   @Override
  3673.     protected void refreshWeight()
  3674.     {
  3675.         int weight = 0;
  3676. @@ -997,6 +1012,7 @@
  3677.     /**
  3678.      * Get back items in inventory from database
  3679.      */
  3680. +   @Override
  3681.     public void restore()
  3682.     {
  3683.         try (Connection con = L2DatabaseFactory.getInstance().getConnection();
  3684. Index: java/net/sf/l2j/gameserver/skills/funcs/FuncSet.java
  3685. ===================================================================
  3686. --- java/net/sf/l2j/gameserver/skills/funcs/FuncSet.java    (revisión: 598)
  3687. +++ java/net/sf/l2j/gameserver/skills/funcs/FuncSet.java    (copia de trabajo)
  3688. @@ -29,6 +29,7 @@
  3689.         super(stat, order, owner);
  3690.         _lambda = lambda;
  3691.     }
  3692. +   @Override
  3693.     public void calc(Env env)
  3694.     {
  3695.         if (_cond == null || _cond.test(env))
  3696. Index: java/net/sf/l2j/gameserver/communitybbs/Manager/ForumsBBSManager.java
  3697. ===================================================================
  3698. --- java/net/sf/l2j/gameserver/communitybbs/Manager/ForumsBBSManager.java   (revisión: 598)
  3699. +++ java/net/sf/l2j/gameserver/communitybbs/Manager/ForumsBBSManager.java   (copia de trabajo)
  3700. @@ -22,12 +22,9 @@
  3701.  import java.sql.PreparedStatement;
  3702.  import java.sql.ResultSet;
  3703.  import java.util.List;
  3704. -import java.util.Map;
  3705.  import java.util.logging.Logger;
  3706.  
  3707.  import javolution.util.FastList;
  3708. -import javolution.util.FastMap;
  3709. -
  3710.  import net.sf.l2j.L2DatabaseFactory;
  3711.  import net.sf.l2j.gameserver.communitybbs.BB.Forum;
  3712.  import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance;
  3713. Index: java/net/sf/l2j/gameserver/model/L2Effect.java
  3714. ===================================================================
  3715. --- java/net/sf/l2j/gameserver/model/L2Effect.java  (revisión: 598)
  3716. +++ java/net/sf/l2j/gameserver/model/L2Effect.java  (copia de trabajo)
  3717. @@ -150,7 +150,8 @@
  3718.              rate = pRate;
  3719.          }
  3720.  
  3721. -        public void run()
  3722. +        @Override
  3723. +       public void run()
  3724.          {
  3725.              try
  3726.              {
  3727. Index: java/net/sf/l2j/gameserver/model/entity/Siege.java
  3728. ===================================================================
  3729. --- java/net/sf/l2j/gameserver/model/entity/Siege.java  (revisión: 598)
  3730. +++ java/net/sf/l2j/gameserver/model/entity/Siege.java  (copia de trabajo)
  3731. @@ -36,6 +36,7 @@
  3732.  import net.sf.l2j.gameserver.instancemanager.SiegeGuardManager;
  3733.  import net.sf.l2j.gameserver.instancemanager.SiegeManager;
  3734.  import net.sf.l2j.gameserver.instancemanager.SiegeManager.SiegeSpawn;
  3735. +import net.sf.l2j.gameserver.model.L2Character;
  3736.  import net.sf.l2j.gameserver.model.L2Clan;
  3737.  import net.sf.l2j.gameserver.model.L2Object;
  3738.  import net.sf.l2j.gameserver.model.L2SiegeClan;
  3739. @@ -740,7 +741,7 @@
  3740.        
  3741.         for (L2PcInstance player : L2World.getInstance().getAllPlayers())
  3742.         {
  3743. -           if (!player.isInsideZone(L2PcInstance.ZONE_SIEGE) || (player.getSiegeState() != 0))
  3744. +           if (!player.isInsideZone(L2Character.ZONE_SIEGE) || (player.getSiegeState() != 0))
  3745.             {
  3746.                 continue;
  3747.             }
  3748. Index: java/net/sf/l2j/gameserver/model/zone/type/L2DamageZone.java
  3749. ===================================================================
  3750. --- java/net/sf/l2j/gameserver/model/zone/type/L2DamageZone.java    (revisión: 598)
  3751. +++ java/net/sf/l2j/gameserver/model/zone/type/L2DamageZone.java    (copia de trabajo)
  3752. @@ -88,7 +88,8 @@
  3753.              _dmgZone = zone;
  3754.          }
  3755.  
  3756. -        public void run()
  3757. +        @Override
  3758. +       public void run()
  3759.          {
  3760.              for (L2Character temp : _dmgZone.getCharacterList())
  3761.              {
  3762. Index: java/net/sf/l2j/gameserver/skills/conditions/ConditionPlayerLevel.java
  3763. ===================================================================
  3764. --- java/net/sf/l2j/gameserver/skills/conditions/ConditionPlayerLevel.java  (revisión: 598)
  3765. +++ java/net/sf/l2j/gameserver/skills/conditions/ConditionPlayerLevel.java  (copia de trabajo)
  3766. @@ -35,6 +35,7 @@
  3767.         _level = level;
  3768.     }
  3769.  
  3770. +   @Override
  3771.     public boolean testImpl(Env env)
  3772.          {
  3773.         return env.player.getLevel() >= _level;
  3774. Index: java/net/sf/l2j/gameserver/scripting/L2ScriptEngineManager.java
  3775. ===================================================================
  3776. --- java/net/sf/l2j/gameserver/scripting/L2ScriptEngineManager.java (revisión: 598)
  3777. +++ java/net/sf/l2j/gameserver/scripting/L2ScriptEngineManager.java (copia de trabajo)
  3778. @@ -27,9 +27,7 @@
  3779.  import java.io.FileOutputStream;
  3780.  import java.io.IOException;
  3781.  import java.io.InputStreamReader;
  3782. -import java.io.InvalidClassException;
  3783.  import java.io.LineNumberReader;
  3784. -import java.io.ObjectInputStream;
  3785.  import java.util.LinkedList;
  3786.  import java.util.List;
  3787.  import java.util.Map;
  3788. Index: java/net/sf/l2j/gameserver/handler/itemhandlers/SoulCrystals.java
  3789. ===================================================================
  3790. --- java/net/sf/l2j/gameserver/handler/itemhandlers/SoulCrystals.java   (revisión: 598)
  3791. +++ java/net/sf/l2j/gameserver/handler/itemhandlers/SoulCrystals.java   (copia de trabajo)
  3792. @@ -53,7 +53,8 @@
  3793.      };
  3794.  
  3795.      // Our main method, where everything goes on
  3796. -    public void useItem(L2PlayableInstance playable, L2ItemInstance item)
  3797. +    @Override
  3798. +   public void useItem(L2PlayableInstance playable, L2ItemInstance item)
  3799.      {
  3800.          if (!(playable instanceof L2PcInstance))
  3801.              return;
  3802. @@ -106,7 +107,8 @@
  3803.              _crystalId = crystalId;
  3804.          }
  3805.  
  3806. -        public void run()
  3807. +        @Override
  3808. +       public void run()
  3809.          {
  3810.  
  3811.              if (_activeChar.isDead() || _target.isDead())
  3812. @@ -126,7 +128,8 @@
  3813.          }
  3814.      }
  3815.  
  3816. -    public int[] getItemIds()
  3817. +    @Override
  3818. +   public int[] getItemIds()
  3819.      {
  3820.          return _itemIds;
  3821.      }
  3822. Index: java/net/sf/l2j/gameserver/model/actor/instance/L2SymbolMakerInstance.java
  3823. ===================================================================
  3824. --- java/net/sf/l2j/gameserver/model/actor/instance/L2SymbolMakerInstance.java  (revisión: 598)
  3825. +++ java/net/sf/l2j/gameserver/model/actor/instance/L2SymbolMakerInstance.java  (copia de trabajo)
  3826. @@ -35,6 +35,7 @@
  3827.  {
  3828.     //private static Logger _log = Logger.getLogger(L2SymbolMakerInstance.class.getName());
  3829.  
  3830. +   @Override
  3831.     public void onBypassFeedback(L2PcInstance player, String command)
  3832.     {
  3833.         if (command.equals("Draw"))
  3834. @@ -91,6 +92,7 @@
  3835.         super(objectID, template);
  3836.     }
  3837.  
  3838. +   @Override
  3839.     public String getHtmlPath(int npcId, int val)
  3840.     {
  3841.         String pom = "";
  3842. @@ -107,7 +109,8 @@
  3843.      /* (non-Javadoc)
  3844.       * @see net.sf.l2j.gameserver.model.L2Object#isAttackable()
  3845.       */
  3846. -    public boolean isAutoAttackable(@SuppressWarnings("unused") L2Character attacker)
  3847. +    @Override
  3848. +   public boolean isAutoAttackable(@SuppressWarnings("unused") L2Character attacker)
  3849.      {
  3850.          return false;
  3851.      }
  3852. Index: java/net/sf/l2j/gameserver/script/faenor/FaenorWorldDataParser.java
  3853. ===================================================================
  3854. --- java/net/sf/l2j/gameserver/script/faenor/FaenorWorldDataParser.java (revisión: 598)
  3855. +++ java/net/sf/l2j/gameserver/script/faenor/FaenorWorldDataParser.java (copia de trabajo)
  3856. @@ -43,7 +43,8 @@
  3857.      //Script Types
  3858.      private final static String PET_DATA        = "PetData";
  3859.      
  3860. -    public void parseScript(Node eventNode, ScriptContext context)
  3861. +    @Override
  3862. +   public void parseScript(Node eventNode, ScriptContext context)
  3863.      {
  3864.          if (Config.DEBUG) System.out.println("Parsing WorldData");
  3865.          
  3866. @@ -127,7 +128,8 @@
  3867.  
  3868.      static class FaenorWorldDataParserFactory extends ParserFactory
  3869.      {
  3870. -        public Parser create()
  3871. +        @Override
  3872. +       public Parser create()
  3873.          {
  3874.              return(new FaenorWorldDataParser());
  3875.          }
  3876. Index: java/net/sf/l2j/gameserver/model/actor/instance/L2WyvernManagerInstance.java
  3877. ===================================================================
  3878. --- java/net/sf/l2j/gameserver/model/actor/instance/L2WyvernManagerInstance.java    (revisión: 598)
  3879. +++ java/net/sf/l2j/gameserver/model/actor/instance/L2WyvernManagerInstance.java    (copia de trabajo)
  3880. @@ -34,7 +34,8 @@
  3881.          super(objectId, template);
  3882.      }
  3883.  
  3884. -    public void onBypassFeedback(L2PcInstance player, String command)
  3885. +    @Override
  3886. +   public void onBypassFeedback(L2PcInstance player, String command)
  3887.      {
  3888.          if (command.startsWith("RideWyvern"))
  3889.          {
  3890. @@ -106,7 +107,8 @@
  3891.                  super.onBypassFeedback(player, command);
  3892.      }
  3893.  
  3894. -    public void onAction(L2PcInstance player)
  3895. +    @Override
  3896. +   public void onAction(L2PcInstance player)
  3897.      {
  3898.          if (!canTarget(player))
  3899.              return;
  3900. Index: java/net/sf/l2j/gameserver/model/quest/QuestTimer.java
  3901. ===================================================================
  3902. --- java/net/sf/l2j/gameserver/model/quest/QuestTimer.java  (revisión: 598)
  3903. +++ java/net/sf/l2j/gameserver/model/quest/QuestTimer.java  (copia de trabajo)
  3904. @@ -30,7 +30,8 @@
  3905.      // Schedule Task
  3906.      public class ScheduleTimerTask implements Runnable
  3907.      {
  3908. -        public void run()
  3909. +        @Override
  3910. +       public void run()
  3911.          {
  3912.              if (this == null || !getIsActive())
  3913.                  return;
  3914. @@ -138,7 +139,8 @@
  3915.          return _player;
  3916.      }
  3917.  
  3918. -    public final String toString()
  3919. +    @Override
  3920. +   public final String toString()
  3921.      {
  3922.          return _name;
  3923.      }
  3924. Index: java/net/sf/l2j/gameserver/skills/conditions/ConditionElementSeed.java
  3925. ===================================================================
  3926. --- java/net/sf/l2j/gameserver/skills/conditions/ConditionElementSeed.java  (revisión: 598)
  3927. +++ java/net/sf/l2j/gameserver/skills/conditions/ConditionElementSeed.java  (copia de trabajo)
  3928. @@ -46,7 +46,8 @@
  3929.          _requiredSeeds[4] = any;
  3930.      }
  3931.      
  3932. -    public boolean testImpl(Env env)
  3933. +    @Override
  3934. +   public boolean testImpl(Env env)
  3935.      {
  3936.          int[] Seeds = new int[3];
  3937.          for (int i = 0; i < Seeds.length; i++)
  3938. Index: java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminAdmin.java
  3939. ===================================================================
  3940. --- java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminAdmin.java (revisión: 598)
  3941. +++ java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminAdmin.java (copia de trabajo)
  3942. @@ -66,7 +66,8 @@
  3943.  
  3944.      private static final int REQUIRED_LEVEL = Config.GM_MENU;
  3945.  
  3946. -    public boolean useAdminCommand(String command, L2PcInstance activeChar)
  3947. +    @Override
  3948. +   public boolean useAdminCommand(String command, L2PcInstance activeChar)
  3949.      {
  3950.  
  3951.          if (!Config.ALT_PRIVILEGES_ADMIN)
  3952. @@ -324,7 +325,8 @@
  3953.          return true;
  3954.      }
  3955.  
  3956. -    public String[] getAdminCommandList()
  3957. +    @Override
  3958. +   public String[] getAdminCommandList()
  3959.      {
  3960.          return _adminCommands;
  3961.      }
  3962. Index: java/net/sf/l2j/gameserver/handler/itemhandlers/BeastSpice.java
  3963. ===================================================================
  3964. --- java/net/sf/l2j/gameserver/handler/itemhandlers/BeastSpice.java (revisión: 598)
  3965. +++ java/net/sf/l2j/gameserver/handler/itemhandlers/BeastSpice.java (copia de trabajo)
  3966. @@ -32,7 +32,8 @@
  3967.      // Golden Spice, Crystal Spice
  3968.      private static int[] _itemIds = { 6643, 6644 };
  3969.  
  3970. -    public void useItem(L2PlayableInstance playable, L2ItemInstance item)
  3971. +    @Override
  3972. +   public void useItem(L2PlayableInstance playable, L2ItemInstance item)
  3973.      {
  3974.          if (!(playable instanceof L2PcInstance))
  3975.              return;
  3976. @@ -58,7 +59,8 @@
  3977.              activeChar.useMagic(SkillTable.getInstance().getInfo(2189,1),false,false);
  3978.      }
  3979.  
  3980. -    public int[] getItemIds()
  3981. +    @Override
  3982. +   public int[] getItemIds()
  3983.      {
  3984.          return _itemIds;
  3985.      }
  3986. Index: java/net/sf/l2j/gameserver/model/actor/stat/DoorStat.java
  3987. ===================================================================
  3988. --- java/net/sf/l2j/gameserver/model/actor/stat/DoorStat.java   (revisión: 598)
  3989. +++ java/net/sf/l2j/gameserver/model/actor/stat/DoorStat.java   (copia de trabajo)
  3990. @@ -42,7 +42,9 @@
  3991.  
  3992.      // =========================================================
  3993.      // Property - Public
  3994. -    public L2DoorInstance getActiveChar() { return (L2DoorInstance)super.getActiveChar(); }
  3995. +    @Override
  3996. +   public L2DoorInstance getActiveChar() { return (L2DoorInstance)super.getActiveChar(); }
  3997.  
  3998. -    public final byte getLevel() { return 1; }
  3999. +    @Override
  4000. +   public final byte getLevel() { return 1; }
  4001.  }
  4002. \ No newline at end of file
  4003. Index: java/net/sf/l2j/gameserver/instancemanager/MercTicketManager.java
  4004. ===================================================================
  4005. --- java/net/sf/l2j/gameserver/instancemanager/MercTicketManager.java   (revisión: 598)
  4006. +++ java/net/sf/l2j/gameserver/instancemanager/MercTicketManager.java   (copia de trabajo)
  4007. @@ -368,7 +368,8 @@
  4008.              {
  4009.                  ThreadPoolManager.getInstance().scheduleGeneral(new Runnable()
  4010.                  {
  4011. -                    public void run()
  4012. +                    @Override
  4013. +                   public void run()
  4014.                      {
  4015.                          npc.deleteMe();
  4016.                      }
  4017. Index: java/net/sf/l2j/gameserver/skills/funcs/LambdaStats.java
  4018. ===================================================================
  4019. --- java/net/sf/l2j/gameserver/skills/funcs/LambdaStats.java    (revisión: 598)
  4020. +++ java/net/sf/l2j/gameserver/skills/funcs/LambdaStats.java    (copia de trabajo)
  4021. @@ -43,6 +43,7 @@
  4022.         _stat = stat;
  4023.     }
  4024.  
  4025. +   @Override
  4026.     public double calc(Env env)
  4027.          {
  4028.         switch (_stat)
  4029. Index: java/net/sf/l2j/gameserver/skills/conditions/ConditionSkillStats.java
  4030. ===================================================================
  4031. --- java/net/sf/l2j/gameserver/skills/conditions/ConditionSkillStats.java   (revisión: 598)
  4032. +++ java/net/sf/l2j/gameserver/skills/conditions/ConditionSkillStats.java   (copia de trabajo)
  4033. @@ -37,6 +37,7 @@
  4034.         _stat = stat;
  4035.     }
  4036.  
  4037. +   @Override
  4038.     public boolean testImpl(Env env)
  4039.          {
  4040.         if (env.skill == null)
  4041. Index: java/net/sf/l2j/gameserver/skills/conditions/ConditionPlayerBaseStats.java
  4042. ===================================================================
  4043. --- java/net/sf/l2j/gameserver/skills/conditions/ConditionPlayerBaseStats.java  (revisión: 598)
  4044. +++ java/net/sf/l2j/gameserver/skills/conditions/ConditionPlayerBaseStats.java  (copia de trabajo)
  4045. @@ -40,6 +40,7 @@
  4046.         _value = value;
  4047.     }
  4048.    
  4049. +   @Override
  4050.     public boolean testImpl(Env env)
  4051.          {
  4052.         if (!(env.player instanceof L2PcInstance))
  4053. Index: java/net/sf/l2j/gameserver/skills/conditions/ConditionWithSkill.java
  4054. ===================================================================
  4055. --- java/net/sf/l2j/gameserver/skills/conditions/ConditionWithSkill.java    (revisión: 598)
  4056. +++ java/net/sf/l2j/gameserver/skills/conditions/ConditionWithSkill.java    (copia de trabajo)
  4057. @@ -33,6 +33,7 @@
  4058.         _skill = skill;
  4059.     }
  4060.  
  4061. +   @Override
  4062.     public boolean testImpl(Env env)
  4063.     {      
  4064.         if (!_skill && env.skill != null)
  4065. Index: java/net/sf/l2j/gameserver/handler/itemhandlers/Seed.java
  4066. ===================================================================
  4067. --- java/net/sf/l2j/gameserver/handler/itemhandlers/Seed.java   (revisión: 598)
  4068. +++ java/net/sf/l2j/gameserver/handler/itemhandlers/Seed.java   (copia de trabajo)
  4069. @@ -65,7 +65,8 @@
  4070.      L2MonsterInstance _target;
  4071.      L2PcInstance _activeChar;
  4072.      
  4073. -    public void useItem(L2PlayableInstance playable, L2ItemInstance item)
  4074. +    @Override
  4075. +   public void useItem(L2PlayableInstance playable, L2ItemInstance item)
  4076.      {
  4077.          if (!(playable instanceof L2PcInstance))
  4078.              return;
  4079. @@ -125,7 +126,8 @@
  4080.          return (L2Manor.getInstance().getCastleIdForSeed(_seedId) == castleId);
  4081.      }
  4082.  
  4083. -    public int[] getItemIds()
  4084. +    @Override
  4085. +   public int[] getItemIds()
  4086.      {
  4087.          return _itemIds;
  4088.      }
  4089. Index: java/net/sf/l2j/gameserver/model/actor/knownlist/BoatKnownList.java
  4090. ===================================================================
  4091. --- java/net/sf/l2j/gameserver/model/actor/knownlist/BoatKnownList.java (revisión: 598)
  4092. +++ java/net/sf/l2j/gameserver/model/actor/knownlist/BoatKnownList.java (copia de trabajo)
  4093. @@ -37,12 +37,14 @@
  4094.  
  4095.      // =========================================================
  4096.      // Property - Public
  4097. -    public final L2BoatInstance getActiveChar()
  4098. +    @Override
  4099. +   public final L2BoatInstance getActiveChar()
  4100.      {
  4101.          return (L2BoatInstance)super.getActiveChar();
  4102.      }
  4103.  
  4104. -    public int getDistanceToForgetObject(L2Object object)
  4105. +    @Override
  4106. +   public int getDistanceToForgetObject(L2Object object)
  4107.      {
  4108.          if (!(object instanceof L2PcInstance))
  4109.              return 0;      
  4110. @@ -49,7 +51,8 @@
  4111.          return 5000;
  4112.      }
  4113.  
  4114. -    public int getDistanceToWatchObject(L2Object object)
  4115. +    @Override
  4116. +   public int getDistanceToWatchObject(L2Object object)
  4117.      {
  4118.          if (!(object instanceof L2PcInstance))
  4119.              return 0;
  4120. Index: java/net/sf/l2j/gameserver/model/actor/knownlist/CharKnownList.java
  4121. ===================================================================
  4122. --- java/net/sf/l2j/gameserver/model/actor/knownlist/CharKnownList.java (revisión: 598)
  4123. +++ java/net/sf/l2j/gameserver/model/actor/knownlist/CharKnownList.java (copia de trabajo)
  4124. @@ -47,8 +47,10 @@
  4125.  
  4126.      // =========================================================
  4127.      // Method - Public
  4128. -    public boolean addKnownObject(L2Object object) { return addKnownObject(object, null); }
  4129. -    public boolean addKnownObject(L2Object object, L2Character dropper)
  4130. +    @Override
  4131. +   public boolean addKnownObject(L2Object object) { return addKnownObject(object, null); }
  4132. +    @Override
  4133. +   public boolean addKnownObject(L2Object object, L2Character dropper)
  4134.      {
  4135.          if (!super.addKnownObject(object, dropper))
  4136.              return false;
  4137. @@ -74,7 +76,8 @@
  4138.      }
  4139.  
  4140.      /** Remove all L2Object from _knownObjects and _knownPlayer of the L2Character then cancel Attak or Cast and notify AI. */
  4141. -    public final void removeAllKnownObjects()
  4142. +    @Override
  4143. +   public final void removeAllKnownObjects()
  4144.      {
  4145.          super.removeAllKnownObjects();
  4146.          getKnownPlayers().clear();
  4147. @@ -89,7 +92,8 @@
  4148.          if (getActiveChar().hasAI()) getActiveChar().setAI(null);
  4149.      }
  4150.      
  4151. -    public boolean removeKnownObject(L2Object object)
  4152. +    @Override
  4153. +   public boolean removeKnownObject(L2Object object)
  4154.      {
  4155.          if (!super.removeKnownObject(object)) return false;
  4156.          if (object instanceof L2PcInstance)
  4157. @@ -142,9 +146,11 @@
  4158.      // Property - Public
  4159.      public L2Character getActiveChar() { return (L2Character)super.getActiveObject(); }
  4160.      
  4161. -    public int getDistanceToForgetObject(L2Object object) { return 0; }
  4162. +    @Override
  4163. +   public int getDistanceToForgetObject(L2Object object) { return 0; }
  4164.  
  4165. -    public int getDistanceToWatchObject(L2Object object) { return 0; }
  4166. +    @Override
  4167. +   public int getDistanceToWatchObject(L2Object object) { return 0; }
  4168.  
  4169.      public Collection<L2Character> getKnownCharacters()
  4170.      {
  4171. Index: java/net/sf/l2j/gameserver/handler/itemhandlers/EnchantScrolls.java
  4172. ===================================================================
  4173. --- java/net/sf/l2j/gameserver/handler/itemhandlers/EnchantScrolls.java (revisión: 598)
  4174. +++ java/net/sf/l2j/gameserver/handler/itemhandlers/EnchantScrolls.java (copia de trabajo)
  4175. @@ -35,6 +35,7 @@
  4176.          959, 960, 961, 962, 6577, 6578  // s grade
  4177.     };
  4178.  
  4179. +   @Override
  4180.     public void useItem(L2PlayableInstance playable, L2ItemInstance item)
  4181.     {
  4182.         if (!(playable instanceof L2PcInstance))
  4183. @@ -50,6 +51,7 @@
  4184.         activeChar.sendPacket(new ChooseInventoryItem(item.getItemId()));
  4185.     }
  4186.    
  4187. +   @Override
  4188.     public int[] getItemIds()
  4189.     {
  4190.         return _itemIds;
  4191. Index: java/net/sf/l2j/gameserver/model/DropProtection.java
  4192. ===================================================================
  4193. --- java/net/sf/l2j/gameserver/model/DropProtection.java    (revisión: 598)
  4194. +++ java/net/sf/l2j/gameserver/model/DropProtection.java    (copia de trabajo)
  4195. @@ -36,7 +36,8 @@
  4196.  
  4197.      private static final long PROTECTED_MILLIS_TIME = 15000;
  4198.  
  4199. -    public synchronized void run()
  4200. +    @Override
  4201. +   public synchronized void run()
  4202.      {
  4203.          _isProtected = false;
  4204.          _owner = null;
  4205. Index: java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminMobGroup.java
  4206. ===================================================================
  4207. --- java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminMobGroup.java  (revisión: 598)
  4208. +++ java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminMobGroup.java  (copia de trabajo)
  4209. @@ -49,7 +49,8 @@
  4210.  
  4211.     private static final int REQUIRED_LEVEL = Config.GM_MIN;
  4212.  
  4213. -    public boolean useAdminCommand(String command, L2PcInstance activeChar)
  4214. +    @Override
  4215. +   public boolean useAdminCommand(String command, L2PcInstance activeChar)
  4216.      {
  4217.          if (!Config.ALT_PRIVILEGES_ADMIN)
  4218.          {
  4219. @@ -220,6 +221,7 @@
  4220.         group.setFollowMode(target);
  4221.     }
  4222.  
  4223. +   @Override
  4224.     public String[] getAdminCommandList()
  4225.      {
  4226.         return _adminCommands;
  4227. Index: java/net/sf/l2j/ChatLogFormatter.java
  4228. ===================================================================
  4229. --- java/net/sf/l2j/ChatLogFormatter.java   (revisión: 598)
  4230. +++ java/net/sf/l2j/ChatLogFormatter.java   (copia de trabajo)
  4231. @@ -37,6 +37,7 @@
  4232.    
  4233.     private SimpleDateFormat dateFmt = new SimpleDateFormat("dd MMM H:mm:ss");
  4234.    
  4235. +   @Override
  4236.     public String format(LogRecord record)
  4237.     {
  4238.         Object[] params = record.getParameters();
  4239. Index: java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminCreateItem.java
  4240. ===================================================================
  4241. --- java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminCreateItem.java    (revisión: 598)
  4242. +++ java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminCreateItem.java    (copia de trabajo)
  4243. @@ -51,7 +51,8 @@
  4244.  
  4245.      private static final int REQUIRED_LEVEL = Config.GM_CREATE_ITEM;
  4246.  
  4247. -    public boolean useAdminCommand(String command, L2PcInstance activeChar)
  4248. +    @Override
  4249. +   public boolean useAdminCommand(String command, L2PcInstance activeChar)
  4250.      {
  4251.          if (!Config.ALT_PRIVILEGES_ADMIN)
  4252.          {
  4253. @@ -190,7 +191,8 @@
  4254.          return (level >= REQUIRED_LEVEL);
  4255.      }
  4256.  
  4257. -    public String[] getAdminCommandList()
  4258. +    @Override
  4259. +   public String[] getAdminCommandList()
  4260.      {
  4261.          return _adminCommands;
  4262.      }
  4263. Index: java/net/sf/l2j/gameserver/GeoData.java
  4264. ===================================================================
  4265. --- java/net/sf/l2j/gameserver/GeoData.java (revisión: 598)
  4266. +++ java/net/sf/l2j/gameserver/GeoData.java (copia de trabajo)
  4267. @@ -34,7 +34,6 @@
  4268.  import net.sf.l2j.gameserver.model.L2Object;
  4269.  import net.sf.l2j.gameserver.model.Location;
  4270.  import net.sf.l2j.gameserver.model.actor.instance.L2DoorInstance;
  4271. -import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance;
  4272.  import net.sf.l2j.gameserver.util.GeoUtils;
  4273.  import net.sf.l2j.gameserver.util.LinePointIterator;
  4274.  import net.sf.l2j.gameserver.util.LinePointIterator3D;
  4275. Index: java/net/sf/l2j/gameserver/model/PetInventory.java
  4276. ===================================================================
  4277. --- java/net/sf/l2j/gameserver/model/PetInventory.java  (revisión: 598)
  4278. +++ java/net/sf/l2j/gameserver/model/PetInventory.java  (copia de trabajo)
  4279. @@ -32,12 +32,14 @@
  4280.          _owner = owner;
  4281.      }
  4282.  
  4283. -    public L2PetInstance getOwner()
  4284. +    @Override
  4285. +   public L2PetInstance getOwner()
  4286.      {
  4287.          return _owner;
  4288.      }
  4289.  
  4290. -    public int getOwnerId()
  4291. +    @Override
  4292. +   public int getOwnerId()
  4293.      {
  4294.          // gets the L2PcInstance-owner's ID
  4295.          int id;
  4296. @@ -73,7 +75,8 @@
  4297.          return validateCapacity(slots);
  4298.      }
  4299.  
  4300. -    public boolean validateCapacity(int slots)
  4301. +    @Override
  4302. +   public boolean validateCapacity(int slots)
  4303.      {
  4304.          return (_items.size() + slots <= _owner.getInventoryLimit());
  4305.      }
  4306. @@ -94,12 +97,14 @@
  4307.          return (_totalWeight + weight <= _owner.getMaxLoad());
  4308.      }
  4309.  
  4310. -    protected ItemLocation getBaseLocation()
  4311. +    @Override
  4312. +   protected ItemLocation getBaseLocation()
  4313.      {
  4314.          return ItemLocation.PET;
  4315.      }
  4316.  
  4317. -    protected ItemLocation getEquipLocation()
  4318. +    @Override
  4319. +   protected ItemLocation getEquipLocation()
  4320.      {
  4321.          return ItemLocation.PET_EQUIP;
  4322.      }
  4323. Index: java/net/sf/l2j/gameserver/network/clientpackets/RequestExSetPledgeCrestLarge.java
  4324. ===================================================================
  4325. --- java/net/sf/l2j/gameserver/network/clientpackets/RequestExSetPledgeCrestLarge.java  (revisión: 598)
  4326. +++ java/net/sf/l2j/gameserver/network/clientpackets/RequestExSetPledgeCrestLarge.java  (copia de trabajo)
  4327. @@ -27,6 +27,7 @@
  4328.  import net.sf.l2j.L2DatabaseFactory;
  4329.  import net.sf.l2j.gameserver.cache.CrestCache;
  4330.  import net.sf.l2j.gameserver.idfactory.BitSetIDFactory;
  4331. +import net.sf.l2j.gameserver.idfactory.IdFactory;
  4332.  import net.sf.l2j.gameserver.model.L2Clan;
  4333.  import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance;
  4334.  import net.sf.l2j.gameserver.network.serverpackets.SystemMessage;
  4335. @@ -109,7 +110,7 @@
  4336.         }
  4337.  
  4338.         CrestCache crestCache = CrestCache.getInstance();
  4339. -       int newId = BitSetIDFactory.getInstance().getNextId();
  4340. +       int newId = IdFactory.getInstance().getNextId();
  4341.  
  4342.         if (!crestCache.savePledgeCrestLarge(newId, _data))
  4343.         {
  4344. Index: java/net/sf/l2j/gameserver/taskmanager/tasks/TaskCleanUp.java
  4345. ===================================================================
  4346. --- java/net/sf/l2j/gameserver/taskmanager/tasks/TaskCleanUp.java   (revisión: 598)
  4347. +++ java/net/sf/l2j/gameserver/taskmanager/tasks/TaskCleanUp.java   (copia de trabajo)
  4348. @@ -29,12 +29,14 @@
  4349.  {
  4350.      public static String NAME = "CleanUp";
  4351.      
  4352. -    public String getName()
  4353. +    @Override
  4354. +   public String getName()
  4355.      {
  4356.          return NAME;
  4357.      }
  4358.  
  4359. -    public void onTimeElapsed(ExecutedTask task)
  4360. +    @Override
  4361. +   public void onTimeElapsed(ExecutedTask task)
  4362.      {
  4363.          System.runFinalization();
  4364.          System.gc();
  4365. Index: java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminFightCalculator.java
  4366. ===================================================================
  4367. --- java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminFightCalculator.java   (revisión: 598)
  4368. +++ java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminFightCalculator.java   (copia de trabajo)
  4369. @@ -53,7 +53,8 @@
  4370.      private static final int REQUIRED_LEVEL = Config.GM_MIN;
  4371.  
  4372.      //TODO: remove from gm list etc etc
  4373. -    public boolean useAdminCommand(String command, L2PcInstance activeChar)
  4374. +    @Override
  4375. +   public boolean useAdminCommand(String command, L2PcInstance activeChar)
  4376.      {
  4377.          try
  4378.          {
  4379. @@ -75,6 +76,7 @@
  4380.          return true;
  4381.      }
  4382.    
  4383. +   @Override
  4384.     public String[] getAdminCommandList() {
  4385.         return _adminCommands;
  4386.     }
  4387. Index: java/net/sf/l2j/gameserver/skills/funcs/LambdaRnd.java
  4388. ===================================================================
  4389. --- java/net/sf/l2j/gameserver/skills/funcs/LambdaRnd.java  (revisión: 598)
  4390. +++ java/net/sf/l2j/gameserver/skills/funcs/LambdaRnd.java  (copia de trabajo)
  4391. @@ -38,7 +38,8 @@
  4392.          _linear = linear;
  4393.      }
  4394.  
  4395. -    public double calc(Env env)
  4396. +    @Override
  4397. +   public double calc(Env env)
  4398.      {
  4399.          if (_linear)
  4400.              return _max.calc(env) * Rnd.nextDouble();
  4401. Index: java/net/sf/l2j/gameserver/skills/effects/EffectManaDamOverTime.java
  4402. ===================================================================
  4403. --- java/net/sf/l2j/gameserver/skills/effects/EffectManaDamOverTime.java    (revisión: 598)
  4404. +++ java/net/sf/l2j/gameserver/skills/effects/EffectManaDamOverTime.java    (copia de trabajo)
  4405. @@ -29,12 +29,14 @@
  4406.          super(env, template);
  4407.      }
  4408.  
  4409. -    public EffectType getEffectType()
  4410. +    @Override
  4411. +   public EffectType getEffectType()
  4412.      {
  4413.          return EffectType.MANA_DMG_OVER_TIME;
  4414.      }
  4415.  
  4416. -    public boolean onActionTime()
  4417. +    @Override
  4418. +   public boolean onActionTime()
  4419.      { 
  4420.          if (getEffected().isDead())
  4421.              return false;
  4422. Index: java/net/sf/l2j/gameserver/templates/L2WeaponType.java
  4423. ===================================================================
  4424. --- java/net/sf/l2j/gameserver/templates/L2WeaponType.java  (revisión: 598)
  4425. +++ java/net/sf/l2j/gameserver/templates/L2WeaponType.java  (copia de trabajo)
  4426. @@ -64,6 +64,7 @@
  4427.       * Returns the name of the WeaponType
  4428.       * @return String
  4429.       */
  4430. +   @Override
  4431.     public String toString()
  4432.     {
  4433.         return _name;
  4434. Index: java/net/sf/l2j/gameserver/handler/usercommandhandlers/Time.java
  4435. ===================================================================
  4436. --- java/net/sf/l2j/gameserver/handler/usercommandhandlers/Time.java    (revisión: 598)
  4437. +++ java/net/sf/l2j/gameserver/handler/usercommandhandlers/Time.java    (copia de trabajo)
  4438. @@ -34,7 +34,8 @@
  4439.      /* (non-Javadoc)
  4440.       *
  4441.       */
  4442. -    public boolean useUserCommand(int id, L2PcInstance activeChar)
  4443. +    @Override
  4444. +   public boolean useUserCommand(int id, L2PcInstance activeChar)
  4445.      {
  4446.          if (COMMAND_IDS[0] != id) return false;
  4447.  
  4448. @@ -75,7 +76,8 @@
  4449.          return true;
  4450.      }
  4451.  
  4452. -    public int[] getUserCommandList()
  4453. +    @Override
  4454. +   public int[] getUserCommandList()
  4455.      {
  4456.          return COMMAND_IDS;
  4457.      }
  4458. Index: java/net/sf/l2j/util/L2ObjectMap.java
  4459. ===================================================================
  4460. --- java/net/sf/l2j/util/L2ObjectMap.java   (revisión: 598)
  4461. +++ java/net/sf/l2j/util/L2ObjectMap.java   (copia de trabajo)
  4462. @@ -45,7 +45,8 @@
  4463.  
  4464.      public abstract boolean contains(T obj);
  4465.  
  4466. -    public abstract Iterator<T> iterator();
  4467. +    @Override
  4468. +   public abstract Iterator<T> iterator();
  4469.      
  4470.      public static L2ObjectMap<L2Object> createL2ObjectMap()
  4471.      {
  4472. Index: java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminHelpPage.java
  4473. ===================================================================
  4474. --- java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminHelpPage.java  (revisión: 598)
  4475. +++ java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminHelpPage.java  (copia de trabajo)
  4476. @@ -35,6 +35,7 @@
  4477.     private static String[] _adminCommands = {"admin_help"};
  4478.     private static final int REQUIRED_LEVEL = Config.GM_MIN;
  4479.  
  4480. +   @Override
  4481.     public boolean useAdminCommand(String command, L2PcInstance activeChar)
  4482.          {
  4483.                  if (!Config.ALT_PRIVILEGES_ADMIN)
  4484. @@ -59,6 +60,7 @@
  4485.         return true;
  4486.     }
  4487.    
  4488. +   @Override
  4489.     public String[] getAdminCommandList()
  4490.          {
  4491.         return _adminCommands;
  4492. Index: java/net/sf/l2j/gameserver/model/actor/instance/L2FriendlyMobInstance.java
  4493. ===================================================================
  4494. --- java/net/sf/l2j/gameserver/model/actor/instance/L2FriendlyMobInstance.java  (revisión: 598)
  4495. +++ java/net/sf/l2j/gameserver/model/actor/instance/L2FriendlyMobInstance.java  (copia de trabajo)
  4496. @@ -38,7 +38,8 @@
  4497.                  getKnownList();
  4498.     }  
  4499.  
  4500. -        public final FriendlyMobKnownList getKnownList()
  4501. +        @Override
  4502. +       public final FriendlyMobKnownList getKnownList()
  4503.          {
  4504.                  if (super.getKnownList() == null || !(super.getKnownList() instanceof FriendlyMobKnownList))
  4505.                          setKnownList(new FriendlyMobKnownList(this));
  4506. @@ -45,6 +46,7 @@
  4507.                  return (FriendlyMobKnownList)super.getKnownList();
  4508.          }
  4509.  
  4510. +   @Override
  4511.     public boolean isAutoAttackable(L2Character attacker)
  4512.          {
  4513.         if (attacker instanceof L2PcInstance)
  4514. @@ -52,11 +54,13 @@
  4515.         return false;
  4516.     }
  4517.  
  4518. +   @Override
  4519.     public boolean isAggressive()
  4520.     {
  4521.         return true;
  4522.     }
  4523.  
  4524. +   @Override
  4525.     public boolean hasRandomAnimation()
  4526.     {
  4527.         return false;
  4528. Index: java/net/sf/l2j/AuditFilter.java
  4529. ===================================================================
  4530. --- java/net/sf/l2j/AuditFilter.java    (revisión: 598)
  4531. +++ java/net/sf/l2j/AuditFilter.java    (copia de trabajo)
  4532. @@ -27,7 +27,8 @@
  4533.   */
  4534.  public class AuditFilter implements Filter
  4535.  {
  4536. -    public boolean isLoggable(LogRecord record)
  4537. +    @Override
  4538. +   public boolean isLoggable(LogRecord record)
  4539.  
  4540.      {
  4541.          return record.getLoggerName().equalsIgnoreCase("audit");
  4542. Index: java/net/sf/l2j/gameserver/skills/conditions/ConditionUsingItemType.java
  4543. ===================================================================
  4544. --- java/net/sf/l2j/gameserver/skills/conditions/ConditionUsingItemType.java    (revisión: 598)
  4545. +++ java/net/sf/l2j/gameserver/skills/conditions/ConditionUsingItemType.java    (copia de trabajo)
  4546. @@ -37,6 +37,7 @@
  4547.         _mask = mask;
  4548.     }
  4549.  
  4550. +   @Override
  4551.     public boolean testImpl(Env env)
  4552.     {
  4553.         if (!(env.player instanceof L2PcInstance))
  4554. Index: java/net/sf/l2j/gameserver/skills/effects/EffectRelax.java
  4555. ===================================================================
  4556. --- java/net/sf/l2j/gameserver/skills/effects/EffectRelax.java  (revisión: 598)
  4557. +++ java/net/sf/l2j/gameserver/skills/effects/EffectRelax.java  (copia de trabajo)
  4558. @@ -30,13 +30,15 @@
  4559.          super(env, template);
  4560.      }
  4561.  
  4562. -    public EffectType getEffectType()
  4563. +    @Override
  4564. +   public EffectType getEffectType()
  4565.      {
  4566.          return EffectType.RELAXING;
  4567.      }
  4568.  
  4569.      /** Notify started */
  4570. -    public void onStart()
  4571. +    @Override
  4572. +   public void onStart()
  4573.      {
  4574.          if (getEffected().getCurrentHp() == getEffected().getMaxHp())
  4575.          {
  4576. @@ -62,7 +64,8 @@
  4577.          super.onStart();
  4578.      }
  4579.  
  4580. -    public void onExit()
  4581. +    @Override
  4582. +   public void onExit()
  4583.      {
  4584.          if (getEffected() instanceof L2PcInstance)
  4585.              ((L2PcInstance)getEffected()).setRelax(false);
  4586. @@ -70,7 +73,8 @@
  4587.          super.onExit();
  4588.      }
  4589.  
  4590. -    public boolean onActionTime()
  4591. +    @Override
  4592. +   public boolean onActionTime()
  4593.      {
  4594.  
  4595.          if (getEffected().isDead())
  4596. Index: java/net/sf/l2j/accountmanager/SQLAccountManager.java
  4597. ===================================================================
  4598. --- java/net/sf/l2j/accountmanager/SQLAccountManager.java   (revisión: 598)
  4599. +++ java/net/sf/l2j/accountmanager/SQLAccountManager.java   (copia de trabajo)
  4600. @@ -29,8 +29,6 @@
  4601.  import java.sql.SQLException;
  4602.  import java.util.Base64;
  4603.  
  4604. -import javolution.util.FastList;
  4605. -
  4606.  import net.sf.l2j.Config;
  4607.  import net.sf.l2j.L2DatabaseFactory;
  4608.  import net.sf.l2j.Server;
  4609. Index: java/net/sf/l2j/gameserver/instancemanager/RaidBossSpawnManager.java
  4610. ===================================================================
  4611. --- java/net/sf/l2j/gameserver/instancemanager/RaidBossSpawnManager.java    (revisión: 598)
  4612. +++ java/net/sf/l2j/gameserver/instancemanager/RaidBossSpawnManager.java    (copia de trabajo)
  4613. @@ -139,7 +139,8 @@
  4614.             bossId = npcId;
  4615.          }
  4616.  
  4617. -        public void run()
  4618. +        @Override
  4619. +       public void run()
  4620.          {
  4621.              L2RaidBossInstance raidboss = null;
  4622.  
  4623. Index: java/net/sf/l2j/gameserver/SevenSignsFestival.java
  4624. ===================================================================
  4625. --- java/net/sf/l2j/gameserver/SevenSignsFestival.java  (revisión: 598)
  4626. +++ java/net/sf/l2j/gameserver/SevenSignsFestival.java  (copia de trabajo)
  4627. @@ -1610,7 +1610,8 @@
  4628.       *
  4629.       * @param npc
  4630.       */
  4631. -    public void npcSpawned(L2NpcInstance npc)
  4632. +    @Override
  4633. +   public void npcSpawned(L2NpcInstance npc)
  4634.      {
  4635.          if (npc == null)
  4636.              return;
  4637. @@ -1659,7 +1660,8 @@
  4638.              setNextFestivalStart(Config.ALT_FESTIVAL_CYCLE_LENGTH - FESTIVAL_SIGNUP_TIME);
  4639.          }
  4640.          
  4641. -        public synchronized void run()
  4642. +        @Override
  4643. +       public synchronized void run()
  4644.          {
  4645.              // The manager shouldn't be running if Seal Validation is in effect.
  4646.              if (SevenSigns.getInstance().isSealValidationPeriod())
  4647. Index: java/net/sf/l2j/gameserver/skills/effects/EffectFakeDeath.java
  4648. ===================================================================
  4649. --- java/net/sf/l2j/gameserver/skills/effects/EffectFakeDeath.java  (revisión: 598)
  4650. +++ java/net/sf/l2j/gameserver/skills/effects/EffectFakeDeath.java  (copia de trabajo)
  4651. @@ -35,24 +35,28 @@
  4652.          super(env, template);
  4653.      }
  4654.  
  4655. -    public EffectType getEffectType()
  4656. +    @Override
  4657. +   public EffectType getEffectType()
  4658.      {
  4659.          return EffectType.FAKE_DEATH;
  4660.      }
  4661.  
  4662.      /** Notify started */
  4663. -    public void onStart()
  4664. +    @Override
  4665. +   public void onStart()
  4666.      {
  4667.          getEffected().startFakeDeath();
  4668.      }
  4669.  
  4670.      /** Notify exited */
  4671. -    public void onExit()
  4672. +    @Override
  4673. +   public void onExit()
  4674.      {
  4675.          getEffected().stopFakeDeath(this);
  4676.      }
  4677.  
  4678. -    public boolean onActionTime()
  4679. +    @Override
  4680. +   public boolean onActionTime()
  4681.      {
  4682.          if (getEffected().isDead())
  4683.              return false;
  4684. Index: java/net/sf/l2j/gameserver/skills/conditions/ConditionTargetUsesWeaponKind.java
  4685. ===================================================================
  4686. --- java/net/sf/l2j/gameserver/skills/conditions/ConditionTargetUsesWeaponKind.java (revisión: 598)
  4687. +++ java/net/sf/l2j/gameserver/skills/conditions/ConditionTargetUsesWeaponKind.java (copia de trabajo)
  4688. @@ -36,6 +36,7 @@
  4689.         _weaponMask = weaponMask;
  4690.     }
  4691.  
  4692. +   @Override
  4693.     public boolean testImpl(Env env)
  4694.     {
  4695.         if (env.target == null)
  4696. Index: java/net/sf/l2j/gameserver/model/actor/instance/L2SiegeNpcInstance.java
  4697. ===================================================================
  4698. --- java/net/sf/l2j/gameserver/model/actor/instance/L2SiegeNpcInstance.java (revisión: 598)
  4699. +++ java/net/sf/l2j/gameserver/model/actor/instance/L2SiegeNpcInstance.java (copia de trabajo)
  4700. @@ -43,7 +43,8 @@
  4701.       * this is called when a player interacts with this NPC
  4702.       * @param player
  4703.       */
  4704. -    public void onAction(L2PcInstance player)
  4705. +    @Override
  4706. +   public void onAction(L2PcInstance player)
  4707.      {
  4708.  
  4709.  
  4710. Index: java/net/sf/l2j/gameserver/ai/L2ControllableMobAI.java
  4711. ===================================================================
  4712. --- java/net/sf/l2j/gameserver/ai/L2ControllableMobAI.java  (revisión: 598)
  4713. +++ java/net/sf/l2j/gameserver/ai/L2ControllableMobAI.java  (copia de trabajo)
  4714. @@ -77,7 +77,8 @@
  4715.     }
  4716.      }
  4717.  
  4718. -    protected void onEvtThink()
  4719. +    @Override
  4720. +   protected void onEvtThink()
  4721.      {
  4722.          if (isThinking() || _actor.isAllSkillsDisabled())
  4723.              return;
  4724. Index: java/net/sf/l2j/gameserver/model/actor/instance/L2TrainerInstance.java
  4725. ===================================================================
  4726. --- java/net/sf/l2j/gameserver/model/actor/instance/L2TrainerInstance.java  (revisión: 598)
  4727. +++ java/net/sf/l2j/gameserver/model/actor/instance/L2TrainerInstance.java  (copia de trabajo)
  4728. @@ -35,7 +35,8 @@
  4729.          super(objectId, template);
  4730.      }
  4731.  
  4732. -    public String getHtmlPath(int npcId, int val)
  4733. +    @Override
  4734. +   public String getHtmlPath(int npcId, int val)
  4735.      {
  4736.          String pom = "";
  4737.          if (val == 0)
  4738. Index: java/net/sf/l2j/gameserver/handler/usercommandhandlers/Loc.java
  4739. ===================================================================
  4740. --- java/net/sf/l2j/gameserver/handler/usercommandhandlers/Loc.java (revisión: 598)
  4741. +++ java/net/sf/l2j/gameserver/handler/usercommandhandlers/Loc.java (copia de trabajo)
  4742. @@ -34,7 +34,8 @@
  4743.      /* (non-Javadoc)
  4744.       * @see net.sf.l2j.gameserver.handler.IUserCommandHandler#useUserCommand(int, net.sf.l2j.gameserver.model.L2PcInstance)
  4745.       */
  4746. -    public boolean useUserCommand(@SuppressWarnings("unused") int id, L2PcInstance activeChar)
  4747. +    @Override
  4748. +   public boolean useUserCommand(@SuppressWarnings("unused") int id, L2PcInstance activeChar)
  4749.      {
  4750.         int _nearestTown = MapRegionTable.getInstance().getClosestTownNumber(activeChar);
  4751.         int msg = 0;
  4752. @@ -107,7 +108,8 @@
  4753.      /* (non-Javadoc)
  4754.       * @see net.sf.l2j.gameserver.handler.IUserCommandHandler#getUserCommandList()
  4755.       */
  4756. -    public int[] getUserCommandList()
  4757. +    @Override
  4758. +   public int[] getUserCommandList()
  4759.      {
  4760.          return COMMAND_IDS;
  4761.      }
  4762. Index: java/net/sf/l2j/gameserver/skills/effects/EffectHitMainTarget.java
  4763. ===================================================================
  4764. --- java/net/sf/l2j/gameserver/skills/effects/EffectHitMainTarget.java  (revisión: 598)
  4765. +++ java/net/sf/l2j/gameserver/skills/effects/EffectHitMainTarget.java  (copia de trabajo)
  4766. @@ -29,22 +29,26 @@
  4767.          super(env, template);
  4768.      }
  4769.  
  4770. -    public EffectType getEffectType()
  4771. +    @Override
  4772. +   public EffectType getEffectType()
  4773.      {
  4774.          return EffectType.MANA_DMG_OVER_TIME;
  4775.      }
  4776.  
  4777. -    public void onStart()
  4778. +    @Override
  4779. +   public void onStart()
  4780.      {
  4781.          getEffected().setIsSingleSpear(true);
  4782.      }
  4783.  
  4784. -    public void onExit()
  4785. +    @Override
  4786. +   public void onExit()
  4787.      {
  4788.          getEffected().setIsSingleSpear(false);
  4789.      }
  4790.  
  4791. -    public boolean onActionTime()
  4792. +    @Override
  4793. +   public boolean onActionTime()
  4794.      { 
  4795.          if (getEffected().isDead())
  4796.              return false;
  4797. Index: java/net/sf/l2j/gameserver/skills/effects/EffectNoblesseBless.java
  4798. ===================================================================
  4799. --- java/net/sf/l2j/gameserver/skills/effects/EffectNoblesseBless.java  (revisión: 598)
  4800. +++ java/net/sf/l2j/gameserver/skills/effects/EffectNoblesseBless.java  (copia de trabajo)
  4801. @@ -35,13 +35,15 @@
  4802.          super(env, template);
  4803.      }
  4804.  
  4805. -    public EffectType getEffectType()
  4806. +    @Override
  4807. +   public EffectType getEffectType()
  4808.      {
  4809.          return EffectType.NOBLESSE_BLESSING;
  4810.      }
  4811.  
  4812.      /** Notify started */
  4813. -    public void onStart()
  4814. +    @Override
  4815. +   public void onStart()
  4816.      {
  4817.          if (getEffected() instanceof L2PlayableInstance)
  4818.              ((L2PlayableInstance)getEffected()).startNoblesseBlessing();
  4819. @@ -48,13 +50,15 @@
  4820.      }
  4821.  
  4822.      /** Notify exited */
  4823. -    public void onExit()
  4824. +    @Override
  4825. +   public void onExit()
  4826.      {
  4827.          if (getEffected() instanceof L2PlayableInstance)
  4828.              ((L2PlayableInstance)getEffected()).stopNoblesseBlessing(this);
  4829.      }
  4830.  
  4831. -    public boolean onActionTime()
  4832. +    @Override
  4833. +   public boolean onActionTime()
  4834.      {
  4835.         // just stop this effect
  4836.         return false;
  4837. Index: java/net/sf/l2j/gameserver/RecipeController.java
  4838. ===================================================================
  4839. --- java/net/sf/l2j/gameserver/RecipeController.java    (revisión: 598)
  4840. +++ java/net/sf/l2j/gameserver/RecipeController.java    (copia de trabajo)
  4841. @@ -28,7 +28,6 @@
  4842.  import java.util.Map;
  4843.  import java.util.StringTokenizer;
  4844.  import java.util.WeakHashMap;
  4845. -import java.util.logging.Level;
  4846.  import java.util.logging.Logger;
  4847.  
  4848.  import javolution.util.FastList;
  4849. @@ -427,6 +426,7 @@
  4850.             isValid = true;
  4851.         }
  4852.        
  4853. +       @Override
  4854.         public void run()
  4855.         {  
  4856.             if (!Config.IS_CRAFTING_ENABLED)
  4857. Index: java/net/sf/l2j/gameserver/templates/L2EtcItemType.java
  4858. ===================================================================
  4859. --- java/net/sf/l2j/gameserver/templates/L2EtcItemType.java (revisión: 598)
  4860. +++ java/net/sf/l2j/gameserver/templates/L2EtcItemType.java (copia de trabajo)
  4861. @@ -62,6 +62,7 @@
  4862.       * Returns the name of the EtcItemType
  4863.       * @return String
  4864.       */
  4865. +   @Override
  4866.     public String toString()
  4867.     {
  4868.         return _name;
  4869. Index: java/net/sf/l2j/gameserver/model/actor/stat/PetStat.java
  4870. ===================================================================
  4871. --- java/net/sf/l2j/gameserver/model/actor/stat/PetStat.java    (revisión: 598)
  4872. +++ java/net/sf/l2j/gameserver/model/actor/stat/PetStat.java    (copia de trabajo)
  4873. @@ -42,7 +42,8 @@
  4874.  
  4875.      // =========================================================
  4876.      // Method - Public
  4877. -    public boolean addExp(long value)
  4878. +    @Override
  4879. +   public boolean addExp(long value)
  4880.      {
  4881.          if (!super.addExp(value)) return false;
  4882.  
  4883. @@ -51,7 +52,8 @@
  4884.          return true;
  4885.      }
  4886.  
  4887. -    public boolean addExpAndSp(long addToExp, int addToSp)
  4888. +    @Override
  4889. +   public boolean addExpAndSp(long addToExp, int addToSp)
  4890.      {
  4891.         if (!super.addExpAndSp(addToExp, addToSp)) return false;
  4892.  
  4893. @@ -65,7 +67,8 @@
  4894.          return true;
  4895.      }
  4896.  
  4897. -    public final boolean addLevel(byte value)
  4898. +    @Override
  4899. +   public final boolean addLevel(byte value)
  4900.      {
  4901.          if (getLevel() + value > Experience.MAX_LEVEL - 1)
  4902.              return false;
  4903. @@ -97,7 +100,8 @@
  4904.          return levelIncreased;
  4905.      }
  4906.  
  4907. -    public final long getExpForLevel(int level) { return L2PetDataTable.getInstance().getPetData(getActiveChar().getNpcId(), level).getPetMaxExp(); }
  4908. +    @Override
  4909. +   public final long getExpForLevel(int level) { return L2PetDataTable.getInstance().getPetData(getActiveChar().getNpcId(), level).getPetMaxExp(); }
  4910.      
  4911.      // =========================================================
  4912.      // Method - Private
  4913. @@ -104,13 +108,15 @@
  4914.  
  4915.      // =========================================================
  4916.      // Property - Public
  4917. -    public L2PetInstance getActiveChar() { return (L2PetInstance)super.getActiveChar(); }
  4918. +    @Override
  4919. +   public L2PetInstance getActiveChar() { return (L2PetInstance)super.getActiveChar(); }
  4920.  
  4921.      public final int getFeedBattle() { return getActiveChar().getPetData().getPetFeedBattle(); }
  4922.  
  4923.      public final int getFeedNormal() { return getActiveChar().getPetData().getPetFeedNormal(); }
  4924.  
  4925. -    public void setLevel(byte value)
  4926. +    @Override
  4927. +   public void setLevel(byte value)
  4928.      {
  4929.          getActiveChar().stopFeed();
  4930.          super.setLevel(value);
  4931. @@ -124,49 +130,59 @@
  4932.  
  4933.      public final int getMaxFeed() { return getActiveChar().getPetData().getPetMaxFeed(); }
  4934.  
  4935. -    public int getMaxHp() { return (int)calcStat(Stats.MAX_HP, getActiveChar().getPetData().getPetMaxHP(), null, null); }
  4936. +    @Override
  4937. +   public int getMaxHp() { return (int)calcStat(Stats.MAX_HP, getActiveChar().getPetData().getPetMaxHP(), null, null); }
  4938.      
  4939. -    public int getMaxMp() { return (int)calcStat(Stats.MAX_MP, getActiveChar().getPetData().getPetMaxMP(), null, null); }
  4940. +    @Override
  4941. +   public int getMaxMp() { return (int)calcStat(Stats.MAX_MP, getActiveChar().getPetData().getPetMaxMP(), null, null); }
  4942.      
  4943. -    public int getMAtk(L2Character target, L2Skill skill)
  4944. +    @Override
  4945. +   public int getMAtk(L2Character target, L2Skill skill)
  4946.      {
  4947.          double attack = getActiveChar().getPetData().getPetMAtk();
  4948.          return (int)calcStat(Stats.MAGIC_ATTACK, attack, target, skill);
  4949.      }
  4950.      
  4951. -    public int getMDef(L2Character target, L2Skill skill)
  4952. +    @Override
  4953. +   public int getMDef(L2Character target, L2Skill skill)
  4954.      {
  4955.          double defence = getActiveChar().getPetData().getPetMDef();
  4956.          return (int)calcStat(Stats.MAGIC_DEFENCE, defence, target, skill);
  4957.      }
  4958.      
  4959. -    public int getPAtk(L2Character target)
  4960. +    @Override
  4961. +   public int getPAtk(L2Character target)
  4962.      {
  4963.          return (int)calcStat(Stats.POWER_ATTACK, getActiveChar().getPetData().getPetPAtk(), target, null);
  4964.      }
  4965.  
  4966. -    public int getPDef(L2Character target)
  4967. +    @Override
  4968. +   public int getPDef(L2Character target)
  4969.      {
  4970.          return (int)calcStat(Stats.POWER_DEFENCE, getActiveChar().getPetData().getPetPDef(), target, null);
  4971.      }
  4972.  
  4973. -    public int getAccuracy()
  4974. +    @Override
  4975. +   public int getAccuracy()
  4976.      {
  4977.          return (int)calcStat(Stats.ACCURACY_COMBAT, getActiveChar().getPetData().getPetAccuracy(), null, null);
  4978.      }
  4979.  
  4980. -    public int getCriticalHit(L2Character target, L2Skill skill)
  4981. +    @Override
  4982. +   public int getCriticalHit(L2Character target, L2Skill skill)
  4983.      {
  4984.          return (int)calcStat(Stats.CRITICAL_RATE, getActiveChar().getPetData().getPetCritical(), target, null);
  4985.      }
  4986.  
  4987. -    public int getEvasionRate(L2Character target)
  4988. +    @Override
  4989. +   public int getEvasionRate(L2Character target)
  4990.      {
  4991.          return (int)calcStat(Stats.EVASION_RATE, getActiveChar().getPetData().getPetEvasion(), target, null);
  4992.      }
  4993.  
  4994.  
  4995. -    public int getRunSpeed()
  4996. +    @Override
  4997. +   public int getRunSpeed()
  4998.      {
  4999.          return (int)calcStat(Stats.RUN_SPEED, getActiveChar().getPetData().getPetSpeed(), null, null);
  5000.      }
  5001. Index: java/net/sf/l2j/gameserver/model/actor/instance/L2ClassMasterInstance.java
  5002. ===================================================================
  5003. --- java/net/sf/l2j/gameserver/model/actor/instance/L2ClassMasterInstance.java  (revisión: 598)
  5004. +++ java/net/sf/l2j/gameserver/model/actor/instance/L2ClassMasterInstance.java  (copia de trabajo)
  5005. @@ -18,14 +18,11 @@
  5006.   */
  5007.  package net.sf.l2j.gameserver.model.actor.instance;
  5008.  
  5009. -import javolution.text.TextBuilder;
  5010. -
  5011.  import net.sf.l2j.Config;
  5012.  import net.sf.l2j.gameserver.cache.HtmCache;
  5013.  import net.sf.l2j.gameserver.datatables.CharTemplateTable;
  5014.  import net.sf.l2j.gameserver.datatables.ItemTable;
  5015.  import net.sf.l2j.gameserver.model.base.ClassId;
  5016. -import net.sf.l2j.gameserver.model.quest.Quest;
  5017.  import net.sf.l2j.gameserver.network.serverpackets.NpcHtmlMessage;
  5018.  import net.sf.l2j.gameserver.network.serverpackets.SystemMessage;
  5019.  import net.sf.l2j.gameserver.network.serverpackets.TutorialCloseHtml;
  5020. Index: java/net/sf/l2j/gameserver/network/clientpackets/RequestSetPledgeCrest.java
  5021. ===================================================================
  5022. --- java/net/sf/l2j/gameserver/network/clientpackets/RequestSetPledgeCrest.java (revisión: 598)
  5023. +++ java/net/sf/l2j/gameserver/network/clientpackets/RequestSetPledgeCrest.java (copia de trabajo)
  5024. @@ -27,6 +27,7 @@
  5025.  import net.sf.l2j.L2DatabaseFactory;
  5026.  import net.sf.l2j.gameserver.cache.CrestCache;
  5027.  import net.sf.l2j.gameserver.idfactory.BitSetIDFactory;
  5028. +import net.sf.l2j.gameserver.idfactory.IdFactory;
  5029.  import net.sf.l2j.gameserver.model.L2Clan;
  5030.  import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance;
  5031.  import net.sf.l2j.gameserver.network.serverpackets.SystemMessage;
  5032. @@ -119,7 +120,7 @@
  5033.             return;
  5034.         }
  5035.  
  5036. -       int newId = BitSetIDFactory.getInstance().getNextId();
  5037. +       int newId = IdFactory.getInstance().getNextId();
  5038.  
  5039.         if (clan.hasCrest())
  5040.         {
  5041. Index: java/net/sf/l2j/gameserver/handler/usercommandhandlers/ChannelDelete.java
  5042. ===================================================================
  5043. --- java/net/sf/l2j/gameserver/handler/usercommandhandlers/ChannelDelete.java   (revisión: 598)
  5044. +++ java/net/sf/l2j/gameserver/handler/usercommandhandlers/ChannelDelete.java   (copia de trabajo)
  5045. @@ -34,7 +34,8 @@
  5046.      /* (non-Javadoc)
  5047.       * @see net.sf.l2j.gameserver.handler.IUserCommandHandler#useUserCommand(int, net.sf.l2j.gameserver.model.L2PcInstance)
  5048.       */
  5049. -    public boolean useUserCommand(int id, L2PcInstance activeChar)
  5050. +    @Override
  5051. +   public boolean useUserCommand(int id, L2PcInstance activeChar)
  5052.      {
  5053.          if (id != COMMAND_IDS[0])
  5054.              return false;
  5055. @@ -59,7 +60,8 @@
  5056.      /* (non-Javadoc)
  5057.       * @see net.sf.l2j.gameserver.handler.IUserCommandHandler#getUserCommandList()
  5058.       */
  5059. -    public int[] getUserCommandList()
  5060. +    @Override
  5061. +   public int[] getUserCommandList()
  5062.      {
  5063.          return COMMAND_IDS;
  5064.      }
  5065. Index: java/net/sf/l2j/gameserver/taskmanager/tasks/TaskOlympiadSave.java
  5066. ===================================================================
  5067. --- java/net/sf/l2j/gameserver/taskmanager/tasks/TaskOlympiadSave.java  (revisión: 598)
  5068. +++ java/net/sf/l2j/gameserver/taskmanager/tasks/TaskOlympiadSave.java  (copia de trabajo)
  5069. @@ -36,12 +36,14 @@
  5070.      private static final Logger _log = Logger.getLogger(TaskOlympiadSave.class.getName());
  5071.      public static final String NAME = "OlympiadSave";
  5072.      
  5073. -    public String getName()
  5074. +    @Override
  5075. +   public String getName()
  5076.      {
  5077.          return NAME;
  5078.      }
  5079.  
  5080. -    public void onTimeElapsed(ExecutedTask task)
  5081. +    @Override
  5082. +   public void onTimeElapsed(ExecutedTask task)
  5083.      {
  5084.          try {
  5085.              Olympiad.getInstance().save();
  5086. @@ -52,7 +54,8 @@
  5087.          }
  5088.      }
  5089.      
  5090. -    public void initializate()
  5091. +    @Override
  5092. +   public void initializate()
  5093.      {
  5094.          super.initializate();
  5095.          TaskManager.addUniqueTask(NAME, TaskTypes.TYPE_FIXED_SHEDULED, "900000", "1800000", "");
  5096. Index: java/net/sf/l2j/gameserver/GameTimeController.java
  5097. ===================================================================
  5098. --- java/net/sf/l2j/gameserver/GameTimeController.java  (revisión: 598)
  5099. +++ java/net/sf/l2j/gameserver/GameTimeController.java  (copia de trabajo)
  5100. @@ -170,6 +170,7 @@
  5101.             _error = null;
  5102.         }
  5103.  
  5104. +       @Override
  5105.         public void run()
  5106.         {
  5107.             try
  5108. @@ -203,6 +204,7 @@
  5109.  
  5110.     class TimerWatcher implements Runnable
  5111.     {
  5112. +       @Override
  5113.         public void run()
  5114.         {
  5115.             if (!_timer.isAlive())
  5116. @@ -230,7 +232,8 @@
  5117.                          _ended = ended;
  5118.                  }
  5119.  
  5120. -                public void run()
  5121. +                @Override
  5122. +               public void run()
  5123.                  {
  5124.                          try
  5125.                          {
  5126. @@ -250,6 +253,7 @@
  5127.      */
  5128.     class BroadcastSunState implements Runnable
  5129.     {
  5130. +       @Override
  5131.         public void run()
  5132.         {
  5133.             int h = (getGameTime() / 60) % 24; // Time in hour
  5134. Index: java/net/sf/l2j/gameserver/handler/itemhandlers/SpecialXMas.java
  5135. ===================================================================
  5136. --- java/net/sf/l2j/gameserver/handler/itemhandlers/SpecialXMas.java    (revisión: 598)
  5137. +++ java/net/sf/l2j/gameserver/handler/itemhandlers/SpecialXMas.java    (copia de trabajo)
  5138. @@ -31,6 +31,7 @@
  5139.  {
  5140.     private static int[] _itemIds = { 5555 };
  5141.  
  5142. +   @Override
  5143.     public void useItem(L2PlayableInstance playable, L2ItemInstance item)
  5144.     {
  5145.         if (!(playable instanceof L2PcInstance))
  5146. @@ -48,6 +49,7 @@
  5147.     /**
  5148.      * @see net.sf.l2j.gameserver.handler.IItemHandler#getItemIds()
  5149.      */
  5150. +   @Override
  5151.     public int[] getItemIds()
  5152.     {
  5153.         return _itemIds;
  5154. Index: java/net/sf/l2j/gameserver/model/L2WorldRegion.java
  5155. ===================================================================
  5156. --- java/net/sf/l2j/gameserver/model/L2WorldRegion.java (revisión: 598)
  5157. +++ java/net/sf/l2j/gameserver/model/L2WorldRegion.java (copia de trabajo)
  5158. @@ -118,7 +118,8 @@
  5159.              _isActivating = isActivating;
  5160.          }
  5161.          
  5162. -        public void run()
  5163. +        @Override
  5164. +       public void run()
  5165.          {
  5166.              if (_isActivating)
  5167.              {
  5168. Index: java/net/sf/l2j/gameserver/Universe.java
  5169. ===================================================================
  5170. --- java/net/sf/l2j/gameserver/Universe.java    (revisión: 598)
  5171. +++ java/net/sf/l2j/gameserver/Universe.java    (copia de trabajo)
  5172. @@ -105,7 +105,8 @@
  5173.              return new L2CharPosition(_x, _y, _z, 0);
  5174.          }
  5175.  
  5176. -        public int compareTo(Object obj)
  5177. +        @Override
  5178. +       public int compareTo(Object obj)
  5179.          {
  5180.              Position o = (Position) obj;
  5181.              int res = Integer.valueOf(_x).compareTo(o._x);
  5182. @@ -116,7 +117,8 @@
  5183.              return res;
  5184.          }
  5185.  
  5186. -        public String toString()
  5187. +        @Override
  5188. +       public String toString()
  5189.          {
  5190.              return String.valueOf(_x) + " " + _y + " " + _z + " " + _flag;
  5191.          }
  5192. @@ -146,7 +148,8 @@
  5193.              _z = pos.z;
  5194.          }
  5195.  
  5196. -        public int compareTo(Object obj)
  5197. +        @Override
  5198. +       public int compareTo(Object obj)
  5199.          {
  5200.              Position o = (Position) obj;
  5201.              int res = Integer.valueOf(_x).compareTo(o._x);
  5202. @@ -157,7 +160,8 @@
  5203.              return res;
  5204.          }
  5205.  
  5206. -        public String toString()
  5207. +        @Override
  5208. +       public String toString()
  5209.          {
  5210.              return String.valueOf(_x) + " " + _y + " " + _z;
  5211.          }
  5212. @@ -299,7 +303,8 @@
  5213.          /* (non-Javadoc)
  5214.           * @see java.io.FilenameFilter#accept(java.io.File, java.lang.String)
  5215.           */
  5216. -        public boolean accept(File arg0, String name)
  5217. +        @Override
  5218. +       public boolean accept(File arg0, String name)
  5219.          {
  5220.              return name.startsWith("universe") && name.endsWith("." + ext);
  5221.          }
  5222. @@ -429,7 +434,8 @@
  5223.          /* (non-Javadoc)
  5224.           * @see java.lang.Runnable#run()
  5225.           */
  5226. -        public void run()
  5227. +        @Override
  5228. +       public void run()
  5229.          {
  5230.              int size = coordList.size();
  5231.              if (size > 100000)
  5232. Index: java/net/sf/l2j/gameserver/cache/FastMRUCache.java
  5233. ===================================================================
  5234. --- java/net/sf/l2j/gameserver/cache/FastMRUCache.java  (revisión: 598)
  5235. +++ java/net/sf/l2j/gameserver/cache/FastMRUCache.java  (copia de trabajo)
  5236. @@ -52,7 +52,8 @@
  5237.              node = object;
  5238.          }
  5239.  
  5240. -        public boolean equals(Object object)
  5241. +        @Override
  5242. +       public boolean equals(Object object)
  5243.          {
  5244.              return node == object;
  5245.          }
  5246. @@ -65,12 +66,14 @@
  5247.      private static final ObjectFactory FACTORY = new ObjectFactory()
  5248.      {
  5249.  
  5250. -        public Object create()
  5251. +        @Override
  5252. +       public Object create()
  5253.          {
  5254.              return new FastMRUCache();
  5255.          }
  5256.  
  5257. -        public void cleanup(Object obj)
  5258. +        @Override
  5259. +       public void cleanup(Object obj)
  5260.          {
  5261.              ((FastMRUCache) obj).reset();
  5262.          }
  5263. @@ -167,7 +170,8 @@
  5264.          return result;
  5265.      }
  5266.      
  5267. -    public synchronized boolean remove(Object key)
  5268. +    @Override
  5269. +   public synchronized boolean remove(Object key)
  5270.      {
  5271.          _cache.remove(key);
  5272.          _mruList.remove(key);
  5273. Index: java/net/sf/l2j/gameserver/geoeditorcon/GeoEditorListener.java
  5274. ===================================================================
  5275. --- java/net/sf/l2j/gameserver/geoeditorcon/GeoEditorListener.java  (revisión: 598)
  5276. +++ java/net/sf/l2j/gameserver/geoeditorcon/GeoEditorListener.java  (copia de trabajo)
  5277. @@ -72,7 +72,8 @@
  5278.          return "Geoeditor not connected.";
  5279.      }
  5280.  
  5281. -    public void run()
  5282. +    @Override
  5283. +   public void run()
  5284.      {
  5285.          try (Socket connection = _serverSocket.accept())
  5286.          {
  5287. Index: java/net/sf/l2j/gameserver/model/actor/instance/L2OlympiadManagerInstance.java
  5288. ===================================================================
  5289. --- java/net/sf/l2j/gameserver/model/actor/instance/L2OlympiadManagerInstance.java  (revisión: 598)
  5290. +++ java/net/sf/l2j/gameserver/model/actor/instance/L2OlympiadManagerInstance.java  (copia de trabajo)
  5291. @@ -50,7 +50,8 @@
  5292.          super(objectId, template);
  5293.      }
  5294.      
  5295. -    public void onBypassFeedback (L2PcInstance player, String command)
  5296. +    @Override
  5297. +   public void onBypassFeedback (L2PcInstance player, String command)
  5298.      {  
  5299.          if (command.startsWith("OlympiadDesc"))
  5300.          {
  5301. Index: java/net/sf/l2j/gameserver/skills/conditions/ConditionPlayerState.java
  5302. ===================================================================
  5303. --- java/net/sf/l2j/gameserver/skills/conditions/ConditionPlayerState.java  (revisión: 598)
  5304. +++ java/net/sf/l2j/gameserver/skills/conditions/ConditionPlayerState.java  (copia de trabajo)
  5305. @@ -40,6 +40,7 @@
  5306.         _required = required;
  5307.     }
  5308.    
  5309. +   @Override
  5310.     public boolean testImpl(Env env)
  5311.          {
  5312.         switch (_check)
  5313. Index: java/net/sf/l2j/gameserver/model/actor/instance/L2StaticObjectInstance.java
  5314. ===================================================================
  5315. --- java/net/sf/l2j/gameserver/model/actor/instance/L2StaticObjectInstance.java (revisión: 598)
  5316. +++ java/net/sf/l2j/gameserver/model/actor/instance/L2StaticObjectInstance.java (copia de trabajo)
  5317. @@ -100,7 +100,8 @@
  5318.       * this is called when a player interacts with this NPC
  5319.       * @param player
  5320.       */
  5321. -    public void onAction(L2PcInstance player)
  5322. +    @Override
  5323. +   public void onAction(L2PcInstance player)
  5324.      {
  5325.     if(_type < 0) _log.info("L2StaticObjectInstance: StaticObject with invalid type! StaticObjectId: "+getStaticObjectId());
  5326.  
  5327. Index: java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminMenu.java
  5328. ===================================================================
  5329. --- java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminMenu.java  (revisión: 598)
  5330. +++ java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminMenu.java  (copia de trabajo)
  5331. @@ -22,7 +22,6 @@
  5332.  import java.util.logging.Logger;
  5333.  
  5334.  import net.sf.l2j.Config;
  5335. -import net.sf.l2j.L2DatabaseFactory;
  5336.  import net.sf.l2j.gameserver.LoginServerThread;
  5337.  import net.sf.l2j.gameserver.handler.IAdminCommandHandler;
  5338.  import net.sf.l2j.gameserver.model.GMAudit;
  5339. @@ -56,7 +55,8 @@
  5340.  
  5341.      private static final int REQUIRED_LEVEL = Config.GM_ACCESSLEVEL;
  5342.  
  5343. -    public boolean useAdminCommand(String command, L2PcInstance activeChar)
  5344. +    @Override
  5345. +   public boolean useAdminCommand(String command, L2PcInstance activeChar)
  5346.      {
  5347.          if (!Config.ALT_PRIVILEGES_ADMIN)
  5348.          {
  5349. @@ -177,7 +177,8 @@
  5350.          return true;
  5351.      }
  5352.  
  5353. -    public String[] getAdminCommandList()
  5354. +    @Override
  5355. +   public String[] getAdminCommandList()
  5356.      {
  5357.          return _adminCommands;
  5358.      }
  5359. Index: java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminPledge.java
  5360. ===================================================================
  5361. --- java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminPledge.java    (revisión: 598)
  5362. +++ java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminPledge.java    (copia de trabajo)
  5363. @@ -46,7 +46,8 @@
  5364.          "admin_pledge"
  5365.      };
  5366.  
  5367. -    public boolean useAdminCommand(String command, L2PcInstance activeChar)
  5368. +    @Override
  5369. +   public boolean useAdminCommand(String command, L2PcInstance activeChar)
  5370.      {
  5371.          if (!Config.ALT_PRIVILEGES_ADMIN)
  5372.          {
  5373. @@ -168,7 +169,8 @@
  5374.          activeChar.sendPacket(adminReply);
  5375.      }
  5376.  
  5377. -    public String[] getAdminCommandList()
  5378. +    @Override
  5379. +   public String[] getAdminCommandList()
  5380.      {
  5381.          return _adminCommands;
  5382.      }
  5383. Index: java/net/sf/l2j/gameserver/network/clientpackets/RequestRecipeShopListSet.java
  5384. ===================================================================
  5385. --- java/net/sf/l2j/gameserver/network/clientpackets/RequestRecipeShopListSet.java  (revisión: 598)
  5386. +++ java/net/sf/l2j/gameserver/network/clientpackets/RequestRecipeShopListSet.java  (copia de trabajo)
  5387. @@ -19,6 +19,7 @@
  5388.  package net.sf.l2j.gameserver.network.clientpackets;
  5389.  
  5390.  import net.sf.l2j.Config;
  5391. +import net.sf.l2j.gameserver.model.L2Character;
  5392.  import net.sf.l2j.gameserver.model.L2ManufactureItem;
  5393.  import net.sf.l2j.gameserver.model.L2ManufactureList;
  5394.  import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance;
  5395. @@ -65,7 +66,7 @@
  5396.             return;
  5397.         }
  5398.        
  5399. -       if (player.isInsideZone(L2PcInstance.ZONE_NOSTORE))
  5400. +       if (player.isInsideZone(L2Character.ZONE_NOSTORE))
  5401.         {
  5402.             player.sendPacket(new SystemMessage(SystemMessage.NO_PRIVATE_WORKSHOP_HERE));
  5403.             player.sendPacket(new ActionFailed());
  5404. Index: java/net/sf/l2j/gameserver/model/L2Potion.java
  5405. ===================================================================
  5406. --- java/net/sf/l2j/gameserver/model/L2Potion.java  (revisión: 598)
  5407. +++ java/net/sf/l2j/gameserver/model/L2Potion.java  (copia de trabajo)
  5408. @@ -55,6 +55,7 @@
  5409.             _instance = instance;
  5410.         }
  5411.        
  5412. +       @Override
  5413.         public void run()
  5414.         {
  5415.             try
  5416. @@ -148,6 +149,7 @@
  5417.             _instance = instance;
  5418.         }
  5419.        
  5420. +       @Override
  5421.         public void run()
  5422.         {
  5423.             try
  5424. @@ -216,7 +218,8 @@
  5425.      /* (non-Javadoc)
  5426.       * @see net.sf.l2j.gameserver.model.L2Object#isAttackable()
  5427.       */
  5428. -    public boolean isAutoAttackable(@SuppressWarnings("unused") L2Character attacker)
  5429. +    @Override
  5430. +   public boolean isAutoAttackable(@SuppressWarnings("unused") L2Character attacker)
  5431.      {
  5432.          return false;
  5433.      }
  5434. Index: java/net/sf/l2j/gameserver/skills/effects/EffectCharmOfLuck.java
  5435. ===================================================================
  5436. --- java/net/sf/l2j/gameserver/skills/effects/EffectCharmOfLuck.java    (revisión: 598)
  5437. +++ java/net/sf/l2j/gameserver/skills/effects/EffectCharmOfLuck.java    (copia de trabajo)
  5438. @@ -34,13 +34,15 @@
  5439.          super(env, template);
  5440.      }
  5441.  
  5442. -    public EffectType getEffectType()
  5443. +    @Override
  5444. +   public EffectType getEffectType()
  5445.      {
  5446.          return EffectType.CHARM_OF_LUCK;
  5447.      }
  5448.  
  5449.      /** Notify started */
  5450. -    public void onStart()
  5451. +    @Override
  5452. +   public void onStart()
  5453.      {
  5454.          if (getEffected() instanceof L2PlayableInstance)
  5455.              ((L2PlayableInstance)getEffected()).startCharmOfLuck();
  5456. @@ -47,13 +49,15 @@
  5457.      }
  5458.  
  5459.      /** Notify exited */
  5460. -    public void onExit()
  5461. +    @Override
  5462. +   public void onExit()
  5463.      {
  5464.          if (getEffected() instanceof L2PlayableInstance)
  5465.              ((L2PlayableInstance)getEffected()).stopCharmOfLuck(this);
  5466.      }
  5467.  
  5468. -    public boolean onActionTime()
  5469. +    @Override
  5470. +   public boolean onActionTime()
  5471.      {
  5472.         // just stop this effect
  5473.         return false;
  5474. Index: java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminRepairChar.java
  5475. ===================================================================
  5476. --- java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminRepairChar.java    (revisión: 598)
  5477. +++ java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminRepairChar.java    (copia de trabajo)
  5478. @@ -43,7 +43,8 @@
  5479.  
  5480.      private static final int REQUIRED_LEVEL = Config.GM_CHAR_EDIT;
  5481.  
  5482. -    public boolean useAdminCommand(String command, L2PcInstance activeChar)
  5483. +    @Override
  5484. +   public boolean useAdminCommand(String command, L2PcInstance activeChar)
  5485.      {
  5486.          if (!Config.ALT_PRIVILEGES_ADMIN)
  5487.          {
  5488. @@ -58,7 +59,8 @@
  5489.          return true;
  5490.      }
  5491.  
  5492. -    public String[] getAdminCommandList()
  5493. +    @Override
  5494. +   public String[] getAdminCommandList()
  5495.      {
  5496.          return _adminCommands;
  5497.      }
  5498. Index: java/net/sf/l2j/gameserver/model/actor/instance/L2DoormenInstance.java
  5499. ===================================================================
  5500. --- java/net/sf/l2j/gameserver/model/actor/instance/L2DoormenInstance.java  (revisión: 598)
  5501. +++ java/net/sf/l2j/gameserver/model/actor/instance/L2DoormenInstance.java  (copia de trabajo)
  5502. @@ -63,7 +63,8 @@
  5503.          return _ClanHall;
  5504.      }
  5505.  
  5506. -    public void onBypassFeedback(L2PcInstance player, String command)
  5507. +    @Override
  5508. +   public void onBypassFeedback(L2PcInstance player, String command)
  5509.      {
  5510.          int condition = validateCondition(player);
  5511.          if (condition <= Cond_All_False) return;
  5512. @@ -139,7 +140,8 @@
  5513.       * this is called when a player interacts with this NPC
  5514.       * @param player
  5515.       */
  5516. -    public void onAction(L2PcInstance player)
  5517. +    @Override
  5518. +   public void onAction(L2PcInstance player)
  5519.      {
  5520.          if (!canTarget(player))
  5521.              return;
  5522. Index: java/net/sf/l2j/gameserver/model/entity/DimensionalRift.java
  5523. ===================================================================
  5524. --- java/net/sf/l2j/gameserver/model/entity/DimensionalRift.java    (revisión: 598)
  5525. +++ java/net/sf/l2j/gameserver/model/entity/DimensionalRift.java    (copia de trabajo)
  5526. @@ -158,7 +158,8 @@
  5527.  
  5528.          earthQuakeTask = ThreadPoolManager.getInstance().scheduleGeneral(new Runnable()
  5529.          {
  5530. -            public void run()
  5531. +            @Override
  5532. +           public void run()
  5533.              {
  5534.                  for (L2PcInstance p : _party.getPartyMembers())
  5535.                      p.sendPacket(new Earthquake(p.getX(), p.getY(), p.getZ(), 65, 9));
  5536. Index: java/net/sf/l2j/gameserver/handler/itemhandlers/RollingDice.java
  5537. ===================================================================
  5538. --- java/net/sf/l2j/gameserver/handler/itemhandlers/RollingDice.java    (revisión: 598)
  5539. +++ java/net/sf/l2j/gameserver/handler/itemhandlers/RollingDice.java    (copia de trabajo)
  5540. @@ -19,6 +19,7 @@
  5541.  package net.sf.l2j.gameserver.handler.itemhandlers;
  5542.  
  5543.  import net.sf.l2j.gameserver.handler.IItemHandler;
  5544. +import net.sf.l2j.gameserver.model.L2Character;
  5545.  import net.sf.l2j.gameserver.model.L2ItemInstance;
  5546.  import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance;
  5547.  import net.sf.l2j.gameserver.model.actor.instance.L2PlayableInstance;
  5548. @@ -36,7 +37,8 @@
  5549.  {
  5550.      private static int[] _itemIds = { 4625, 4626, 4627, 4628 };
  5551.  
  5552. -    public void useItem(L2PlayableInstance playable, L2ItemInstance item)
  5553. +    @Override
  5554. +   public void useItem(L2PlayableInstance playable, L2ItemInstance item)
  5555.      {
  5556.          if (!(playable instanceof L2PcInstance))
  5557.              return;
  5558. @@ -74,7 +76,7 @@
  5559.              activeChar.sendPacket(sm);
  5560.  
  5561.  
  5562. -            if (activeChar.isInsideZone(L2PcInstance.ZONE_PEACE))
  5563. +            if (activeChar.isInsideZone(L2Character.ZONE_PEACE))
  5564.                  Broadcast.toKnownPlayers(activeChar, sm);
  5565.              else if (activeChar.isInParty())
  5566.                  activeChar.getParty().broadcastToPartyMembers(activeChar,sm);
  5567. @@ -81,7 +83,8 @@
  5568.          }
  5569.      }
  5570.  
  5571. -    public int[] getItemIds()
  5572. +    @Override
  5573. +   public int[] getItemIds()
  5574.      {
  5575.          return _itemIds;
  5576.      }
  5577. Index: java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminBan.java
  5578. ===================================================================
  5579. --- java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminBan.java   (revisión: 598)
  5580. +++ java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminBan.java   (copia de trabajo)
  5581. @@ -48,7 +48,8 @@
  5582.      };
  5583.  
  5584.  
  5585. -    public boolean useAdminCommand(String command, L2PcInstance activeChar)
  5586. +    @Override
  5587. +   public boolean useAdminCommand(String command, L2PcInstance activeChar)
  5588.      {
  5589.          if (!Config.ALT_PRIVILEGES_ADMIN)
  5590.          {
  5591. @@ -231,7 +232,8 @@
  5592.      }
  5593.  
  5594.  
  5595. -    public String[] getAdminCommandList()
  5596. +    @Override
  5597. +   public String[] getAdminCommandList()
  5598.      {
  5599.          return _adminCommands;
  5600.      }
  5601. Index: java/net/sf/l2j/gameserver/skills/funcs/FuncAdd.java
  5602. ===================================================================
  5603. --- java/net/sf/l2j/gameserver/skills/funcs/FuncAdd.java    (revisión: 598)
  5604. +++ java/net/sf/l2j/gameserver/skills/funcs/FuncAdd.java    (copia de trabajo)
  5605. @@ -29,6 +29,7 @@
  5606.         super(stat, order, owner);
  5607.         _lambda = lambda;
  5608.     }
  5609. +   @Override
  5610.     public void calc(Env env)
  5611.     {
  5612.         if (_cond == null || _cond.test(env))
  5613. Index: java/net/sf/l2j/gameserver/script/ScriptDocument.java
  5614. ===================================================================
  5615. --- java/net/sf/l2j/gameserver/script/ScriptDocument.java   (revisión: 598)
  5616. +++ java/net/sf/l2j/gameserver/script/ScriptDocument.java   (copia de trabajo)
  5617. @@ -78,7 +78,8 @@
  5618.          return _name;
  5619.      }
  5620.      
  5621. -    public String toString()
  5622. +    @Override
  5623. +   public String toString()
  5624.      {
  5625.          return _name;
  5626.      }
  5627. Index: java/net/sf/l2j/ConsoleLogFormatter.java
  5628. ===================================================================
  5629. --- java/net/sf/l2j/ConsoleLogFormatter.java    (revisión: 598)
  5630. +++ java/net/sf/l2j/ConsoleLogFormatter.java    (copia de trabajo)
  5631. @@ -37,7 +37,8 @@
  5632.       */
  5633.      private static final String CRLF = "\r\n";
  5634.  
  5635. -    public String format(LogRecord record)
  5636. +    @Override
  5637. +   public String format(LogRecord record)
  5638.      {
  5639.          TextBuilder output = new TextBuilder();
  5640.          output.append(record.getMessage());
  5641. Index: java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminPetition.java
  5642. ===================================================================
  5643. --- java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminPetition.java  (revisión: 598)
  5644. +++ java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminPetition.java  (copia de trabajo)
  5645. @@ -37,6 +37,7 @@
  5646.  
  5647.     private static final int REQUIRED_LEVEL = Config.GM_MIN;
  5648.    
  5649. +   @Override
  5650.     public boolean useAdminCommand(String command, L2PcInstance activeChar)
  5651.     {
  5652.         if (!Config.ALT_PRIVILEGES_ADMIN)
  5653. @@ -96,6 +97,7 @@
  5654.         return true;
  5655.     }
  5656.    
  5657. +   @Override
  5658.     public String[] getAdminCommandList()
  5659.          {
  5660.         return _adminCommands;
  5661. Index: java/net/sf/l2j/gameserver/handler/usercommandhandlers/DisMount.java
  5662. ===================================================================
  5663. --- java/net/sf/l2j/gameserver/handler/usercommandhandlers/DisMount.java    (revisión: 598)
  5664. +++ java/net/sf/l2j/gameserver/handler/usercommandhandlers/DisMount.java    (copia de trabajo)
  5665. @@ -33,7 +33,8 @@
  5666.      /* (non-Javadoc)
  5667.       * @see net.sf.l2j.gameserver.handler.IUserCommandHandler#useUserCommand(int, net.sf.l2j.gameserver.model.L2PcInstance)
  5668.       */
  5669. -    public synchronized boolean useUserCommand(int id, L2PcInstance activeChar)
  5670. +    @Override
  5671. +   public synchronized boolean useUserCommand(int id, L2PcInstance activeChar)
  5672.      {
  5673.          if (id != COMMAND_IDS[0]) return false;
  5674.  
  5675. @@ -56,7 +57,8 @@
  5676.      /* (non-Javadoc)
  5677.       * @see net.sf.l2j.gameserver.handler.IUserCommandHandler#getUserCommandList()
  5678.       */
  5679. -    public int[] getUserCommandList()
  5680. +    @Override
  5681. +   public int[] getUserCommandList()
  5682.      {
  5683.          return COMMAND_IDS;
  5684.      }
  5685. Index: java/net/sf/l2j/gameserver/events/EventHandler.java
  5686. ===================================================================
  5687. --- java/net/sf/l2j/gameserver/events/EventHandler.java (revisión: 598)
  5688. +++ java/net/sf/l2j/gameserver/events/EventHandler.java (copia de trabajo)
  5689. @@ -36,7 +36,8 @@
  5690.          return _owner;
  5691.      }
  5692.      
  5693. -    public final boolean equals(Object object)
  5694. +    @Override
  5695. +   public final boolean equals(Object object)
  5696.      {
  5697.          if (object instanceof EventHandler && _owner == ((EventHandler)object)._owner)
  5698.              return true;
  5699. Index: java/net/sf/l2j/gameserver/model/quest/Quest.java
  5700. ===================================================================
  5701. --- java/net/sf/l2j/gameserver/model/quest/Quest.java   (revisión: 598)
  5702. +++ java/net/sf/l2j/gameserver/model/quest/Quest.java   (copia de trabajo)
  5703. @@ -24,7 +24,6 @@
  5704.  import java.sql.PreparedStatement;
  5705.  import java.sql.ResultSet;
  5706.  import java.util.Collection;
  5707. -import java.util.List;
  5708.  import java.util.Map;
  5709.  import java.util.concurrent.locks.ReentrantReadWriteLock;
  5710.  import java.util.logging.Level;
  5711. @@ -38,7 +37,6 @@
  5712.  import net.sf.l2j.gameserver.ThreadPoolManager;
  5713.  import net.sf.l2j.gameserver.cache.HtmCache;
  5714.  import net.sf.l2j.gameserver.datatables.NpcTable;
  5715. -import net.sf.l2j.gameserver.idfactory.IdFactory;
  5716.  import net.sf.l2j.gameserver.instancemanager.QuestManager;
  5717.  import net.sf.l2j.gameserver.model.L2Character;
  5718.  import net.sf.l2j.gameserver.model.L2Object;
  5719. @@ -473,7 +471,8 @@
  5720.      {
  5721.          ThreadPoolManager.getInstance().executeAi(new Runnable()
  5722.          {
  5723. -            public void run()
  5724. +            @Override
  5725. +           public void run()
  5726.              {
  5727.                  String res = null;
  5728.                  try
  5729. @@ -494,7 +493,8 @@
  5730.      {
  5731.          ThreadPoolManager.getInstance().executeAi(new Runnable()
  5732.          {
  5733. -            public void run()
  5734. +            @Override
  5735. +           public void run()
  5736.              {
  5737.                  String res = null;
  5738.                  try
  5739. @@ -543,7 +543,8 @@
  5740.      {
  5741.          ThreadPoolManager.getInstance().executeAi(new Runnable()
  5742.          {
  5743. -            public void run()
  5744. +            @Override
  5745. +           public void run()
  5746.              {
  5747.                  String res = null;
  5748.                  try
  5749. @@ -1323,7 +1324,8 @@
  5750.              _npc = npc;
  5751.          }
  5752.  
  5753. -        public void run()
  5754. +        @Override
  5755. +       public void run()
  5756.          {
  5757.              _npc.onDecay();
  5758.          }
  5759. Index: java/net/sf/l2j/gameserver/model/actor/instance/L2FishermanInstance.java
  5760. ===================================================================
  5761. --- java/net/sf/l2j/gameserver/model/actor/instance/L2FishermanInstance.java    (revisión: 598)
  5762. +++ java/net/sf/l2j/gameserver/model/actor/instance/L2FishermanInstance.java    (copia de trabajo)
  5763. @@ -41,6 +41,7 @@
  5764.         super(objectId, template);
  5765.     }
  5766.  
  5767. +   @Override
  5768.     public String getHtmlPath(int npcId, int val)
  5769.     {
  5770.         String pom = "";
  5771. @@ -53,6 +54,7 @@
  5772.         return "data/html/fisherman/" + pom + ".htm";
  5773.     }
  5774.      
  5775. +   @Override
  5776.     public void onBypassFeedback(L2PcInstance player, String command)
  5777.     {
  5778.         if (command.startsWith("FishSkillList"))
  5779. Index: java/net/sf/l2j/gameserver/model/actor/instance/L2TeleporterInstance.java
  5780. ===================================================================
  5781. --- java/net/sf/l2j/gameserver/model/actor/instance/L2TeleporterInstance.java   (revisión: 598)
  5782. +++ java/net/sf/l2j/gameserver/model/actor/instance/L2TeleporterInstance.java   (copia de trabajo)
  5783. @@ -53,7 +53,8 @@
  5784.          super(objectId, template);
  5785.      }
  5786.  
  5787. -    public void onBypassFeedback(L2PcInstance player, String command)
  5788. +    @Override
  5789. +   public void onBypassFeedback(L2PcInstance player, String command)
  5790.      {
  5791.          player.sendPacket(new ActionFailed());
  5792.  
  5793. @@ -91,7 +92,8 @@
  5794.          super.onBypassFeedback(player, command);
  5795.      }
  5796.  
  5797. -    public String getHtmlPath(int npcId, int val)
  5798. +    @Override
  5799. +   public String getHtmlPath(int npcId, int val)
  5800.      {
  5801.          String pom = "";
  5802.          if (val == 0)
  5803. @@ -106,7 +108,8 @@
  5804.          return "data/html/teleporter/" + pom + ".htm";
  5805.      }
  5806.  
  5807. -    public void showChatWindow(L2PcInstance player)
  5808. +    @Override
  5809. +   public void showChatWindow(L2PcInstance player)
  5810.      {
  5811.          String filename = "data/html/teleporter/castleteleporter-no.htm";
  5812.  
  5813. Index: java/net/sf/l2j/gameserver/script/faenor/FaenorScriptEngine.java
  5814. ===================================================================
  5815. --- java/net/sf/l2j/gameserver/script/faenor/FaenorScriptEngine.java    (revisión: 598)
  5816. +++ java/net/sf/l2j/gameserver/script/faenor/FaenorScriptEngine.java    (copia de trabajo)
  5817. @@ -84,7 +84,8 @@
  5818.  
  5819.          FileFilter fileFilter = new FileFilter()
  5820.          {
  5821. -            public boolean accept(File file)
  5822. +            @Override
  5823. +           public boolean accept(File file)
  5824.              {
  5825.                  return file.getName().endsWith(".zip");
  5826.              }
  5827. @@ -200,7 +201,8 @@
  5828.          }
  5829.      }
  5830.  
  5831. -    public String toString()
  5832. +    @Override
  5833. +   public String toString()
  5834.      {
  5835.          if (scripts.isEmpty()) return "No Packages Loaded.";
  5836.  
  5837. Index: java/net/sf/l2j/gameserver/skills/effects/EffectPetrification.java
  5838. ===================================================================
  5839. --- java/net/sf/l2j/gameserver/skills/effects/EffectPetrification.java  (revisión: 598)
  5840. +++ java/net/sf/l2j/gameserver/skills/effects/EffectPetrification.java  (copia de trabajo)
  5841. @@ -28,12 +28,14 @@
  5842.          super(env, template);
  5843.      }
  5844.  
  5845. -    public EffectType getEffectType()
  5846. +    @Override
  5847. +   public EffectType getEffectType()
  5848.      {
  5849.          return L2Effect.EffectType.PETRIFICATION;
  5850.      }
  5851.  
  5852. -    public void onStart()
  5853. +    @Override
  5854. +   public void onStart()
  5855.      {
  5856.          getEffected().startAbnormalEffect((short)0x0800);
  5857.          getEffected().startParalyze();
  5858. @@ -40,7 +42,8 @@
  5859.          getEffected().setIsInvul(true);
  5860.      }
  5861.  
  5862. -    public void onExit()
  5863. +    @Override
  5864. +   public void onExit()
  5865.      {
  5866.          getEffected().stopAbnormalEffect((short)0x0800);
  5867.          getEffected().stopParalyze(this);
  5868. @@ -47,7 +50,8 @@
  5869.          getEffected().setIsInvul(false);
  5870.      }
  5871.  
  5872. -    public boolean onActionTime()
  5873. +    @Override
  5874. +   public boolean onActionTime()
  5875.      {
  5876.          return false;
  5877.      }
  5878. Index: java/net/sf/l2j/gameserver/model/actor/instance/L2GuardInstance.java
  5879. ===================================================================
  5880. --- java/net/sf/l2j/gameserver/model/actor/instance/L2GuardInstance.java    (revisión: 598)
  5881. +++ java/net/sf/l2j/gameserver/model/actor/instance/L2GuardInstance.java    (copia de trabajo)
  5882. @@ -53,7 +53,8 @@
  5883.  
  5884.      public class ReturnTask implements Runnable
  5885.      {
  5886. -        public void run()
  5887. +        @Override
  5888. +       public void run()
  5889.          {
  5890.              if (getAI().getIntention() == CtrlIntention.AI_INTENTION_IDLE)
  5891.                  returnHome();
  5892. @@ -80,7 +81,8 @@
  5893.                  ThreadPoolManager.getInstance().scheduleAiAtFixedRate(new ReturnTask(),RETURN_INTERVAL,RETURN_INTERVAL+Rnd.nextInt(60000));
  5894.     }
  5895.  
  5896. -        public final GuardKnownList getKnownList()
  5897. +        @Override
  5898. +       public final GuardKnownList getKnownList()
  5899.          {
  5900.                  if (super.getKnownList() == null || !(super.getKnownList() instanceof GuardKnownList))
  5901.                          setKnownList(new GuardKnownList(this));
  5902. @@ -90,6 +92,7 @@
  5903.     /**
  5904.      * Return True if hte attacker is a L2MonsterInstance.<BR><BR>
  5905.      */
  5906. +   @Override
  5907.     public boolean isAutoAttackable(L2Character attacker)
  5908.     {
  5909.         return attacker instanceof L2MonsterInstance;
  5910. @@ -110,6 +113,7 @@
  5911.     /**
  5912.      * Set the home location of its L2GuardInstance.<BR><BR>
  5913.      */
  5914. +   @Override
  5915.     public void onSpawn()
  5916.     {
  5917.              super.onSpawn();
  5918. @@ -131,6 +135,7 @@
  5919.      * @param val The number of the page to display
  5920.      *
  5921.      */
  5922. +   @Override
  5923.     public String getHtmlPath(int npcId, int val)
  5924.     {
  5925.         String pom = "";
  5926. @@ -165,6 +170,7 @@
  5927.      * @param player The L2PcInstance that start an action on the L2GuardInstance
  5928.      *
  5929.      */
  5930. +   @Override
  5931.     public void onAction(L2PcInstance player)
  5932.     {
  5933.         if (!canTarget(player))
  5934. Index: java/net/sf/l2j/gameserver/model/actor/instance/L2PlayableInstance.java
  5935. ===================================================================
  5936. --- java/net/sf/l2j/gameserver/model/actor/instance/L2PlayableInstance.java (revisión: 598)
  5937. +++ java/net/sf/l2j/gameserver/model/actor/instance/L2PlayableInstance.java (copia de trabajo)
  5938. @@ -59,7 +59,8 @@
  5939.          getStatus();
  5940.      }
  5941.  
  5942. -    public PlayableKnownList getKnownList()
  5943. +    @Override
  5944. +   public PlayableKnownList getKnownList()
  5945.      {
  5946.          if (super.getKnownList() == null || !(super.getKnownList() instanceof PlayableKnownList))
  5947.              setKnownList(new PlayableKnownList(this));
  5948. @@ -66,7 +67,8 @@
  5949.          return (PlayableKnownList)super.getKnownList();
  5950.      }
  5951.  
  5952. -    public PlayableStat getStat()
  5953. +    @Override
  5954. +   public PlayableStat getStat()
  5955.      {
  5956.          if (super.getStat() == null || !(super.getStat() instanceof PlayableStat))
  5957.              setStat(new PlayableStat(this));
  5958. @@ -73,7 +75,8 @@
  5959.          return (PlayableStat)super.getStat();
  5960.      }
  5961.  
  5962. -    public PlayableStatus getStatus()
  5963. +    @Override
  5964. +   public PlayableStatus getStatus()
  5965.      {
  5966.          if (super.getStatus() == null || !(super.getStatus() instanceof PlayableStatus))
  5967.              setStatus(new PlayableStatus(this));
  5968. @@ -80,7 +83,8 @@
  5969.          return (PlayableStatus)super.getStatus();
  5970.      }
  5971.  
  5972. -    public boolean doDie(L2Character killer)
  5973. +    @Override
  5974. +   public boolean doDie(L2Character killer)
  5975.      {
  5976.          if (!super.doDie(killer))
  5977.              return false;
  5978. @@ -125,7 +129,8 @@
  5979.      /**
  5980.       * Return True.<BR><BR>
  5981.       */
  5982. -    public boolean isAttackable()
  5983. +    @Override
  5984. +   public boolean isAttackable()
  5985.      {
  5986.          return true;
  5987.      }
  5988. Index: java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminRideWyvern.java
  5989. ===================================================================
  5990. --- java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminRideWyvern.java    (revisión: 598)
  5991. +++ java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminRideWyvern.java    (copia de trabajo)
  5992. @@ -41,7 +41,8 @@
  5993.      private static final int REQUIRED_LEVEL = Config.GM_RIDER;
  5994.      private int PetRideId;
  5995.      
  5996. -    public boolean useAdminCommand(String command, L2PcInstance activeChar)
  5997. +    @Override
  5998. +   public boolean useAdminCommand(String command, L2PcInstance activeChar)
  5999.      {
  6000.          
  6001.          if (!Config.ALT_PRIVILEGES_ADMIN)
  6002. @@ -88,7 +89,8 @@
  6003.          return true;
  6004.      }
  6005.      
  6006. -    public String[] getAdminCommandList()
  6007. +    @Override
  6008. +   public String[] getAdminCommandList()
  6009.      {
  6010.          return _adminCommands;
  6011.      }
  6012. Index: java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminZone.java
  6013. ===================================================================
  6014. --- java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminZone.java  (revisión: 598)
  6015. +++ java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminZone.java  (copia de trabajo)
  6016. @@ -23,6 +23,7 @@
  6017.  import net.sf.l2j.Config;
  6018.  import net.sf.l2j.gameserver.datatables.MapRegionTable;
  6019.  import net.sf.l2j.gameserver.handler.IAdminCommandHandler;
  6020. +import net.sf.l2j.gameserver.model.L2Character;
  6021.  import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance;
  6022.  
  6023.  public class AdminZone implements IAdminCommandHandler
  6024. @@ -60,55 +61,55 @@
  6025.         if (actualCommand.equalsIgnoreCase("admin_zone_check"))
  6026.         {
  6027.            
  6028. -           if (activeChar.isInsideZone(L2PcInstance.ZONE_PVP))
  6029. +           if (activeChar.isInsideZone(L2Character.ZONE_PVP))
  6030.             {
  6031.                 activeChar.sendMessage("This is a PvP zone.");
  6032.             }
  6033. -           if (activeChar.isInsideZone(L2PcInstance.ZONE_NOLANDING))
  6034. +           if (activeChar.isInsideZone(L2Character.ZONE_NOLANDING))
  6035.             {
  6036.                 activeChar.sendMessage("This is a non-landing zone.");
  6037.             }
  6038. -           if (activeChar.isInsideZone(L2PcInstance.ZONE_PEACE))
  6039. +           if (activeChar.isInsideZone(L2Character.ZONE_PEACE))
  6040.             {
  6041.                 activeChar.sendMessage("This is a Peace zone.");
  6042.             }
  6043. -           if (activeChar.isInsideZone(L2PcInstance.ZONE_SIEGE))
  6044. +           if (activeChar.isInsideZone(L2Character.ZONE_SIEGE))
  6045.             {
  6046.                 activeChar.sendMessage("This is a Siege zone.");
  6047.             }
  6048. -           if (activeChar.isInsideZone(L2PcInstance.ZONE_MOTHERTREE))
  6049. +           if (activeChar.isInsideZone(L2Character.ZONE_MOTHERTREE))
  6050.             {
  6051.                 activeChar.sendMessage("This is a Mother Tree zone.");
  6052.             }
  6053. -           if (activeChar.isInsideZone(L2PcInstance.ZONE_CLANHALL))
  6054. +           if (activeChar.isInsideZone(L2Character.ZONE_CLANHALL))
  6055.             {
  6056.                 activeChar.sendMessage("This is a Clan Hall zone.");
  6057.             }
  6058. -           if (activeChar.isInsideZone(L2PcInstance.ZONE_WATER))
  6059. +           if (activeChar.isInsideZone(L2Character.ZONE_WATER))
  6060.             {
  6061.                 activeChar.sendMessage("This is a Water zone.");
  6062.             }
  6063. -           if (activeChar.isInsideZone(L2PcInstance.ZONE_JAIL))
  6064. +           if (activeChar.isInsideZone(L2Character.ZONE_JAIL))
  6065.             {
  6066.                 activeChar.sendMessage("This is a Jail zone.");
  6067.             }
  6068. -           if (activeChar.isInsideZone(L2PcInstance.ZONE_MONSTERTRACK))
  6069. +           if (activeChar.isInsideZone(L2Character.ZONE_MONSTERTRACK))
  6070.             {
  6071.                 activeChar.sendMessage("This is a Monster Track zone.");
  6072.             }
  6073. -           if (activeChar.isInsideZone(L2PcInstance.ZONE_NOHQ))
  6074. +           if (activeChar.isInsideZone(L2Character.ZONE_NOHQ))
  6075.             {
  6076.                 activeChar.sendMessage("This is a Castle zone.");
  6077.             }
  6078. -           if (activeChar.isInsideZone(L2PcInstance.ZONE_UNUSED))
  6079. +           if (activeChar.isInsideZone(L2Character.ZONE_UNUSED))
  6080.             {
  6081.                 activeChar.sendMessage("This zone is not used.");
  6082.             }
  6083. -           if (activeChar.isInsideZone(L2PcInstance.ZONE_BOSS))
  6084. +           if (activeChar.isInsideZone(L2Character.ZONE_BOSS))
  6085.             {
  6086.                 activeChar.sendMessage("This is a Boss zone.");
  6087.             }
  6088. -           if (activeChar.isInsideZone(L2PcInstance.ZONE_DANGERAREA))
  6089. +           if (activeChar.isInsideZone(L2Character.ZONE_DANGERAREA))
  6090.             {
  6091.                 activeChar.sendMessage("This is a Danger Area zone.");
  6092.             }
  6093. Index: java/net/sf/l2j/gameserver/handler/usercommandhandlers/ChannelListUpdate.java
  6094. ===================================================================
  6095. --- java/net/sf/l2j/gameserver/handler/usercommandhandlers/ChannelListUpdate.java   (revisión: 598)
  6096. +++ java/net/sf/l2j/gameserver/handler/usercommandhandlers/ChannelListUpdate.java   (copia de trabajo)
  6097. @@ -34,7 +34,8 @@
  6098.      /* (non-Javadoc)
  6099.       * @see net.sf.l2j.gameserver.handler.IUserCommandHandler#useUserCommand(int, net.sf.l2j.gameserver.model.L2PcInstance)
  6100.       */
  6101. -    public boolean useUserCommand(int id, L2PcInstance activeChar)
  6102. +    @Override
  6103. +   public boolean useUserCommand(int id, L2PcInstance activeChar)
  6104.      {
  6105.          if (id != COMMAND_IDS[0])
  6106.              return false;
  6107. @@ -51,7 +52,8 @@
  6108.      /* (non-Javadoc)
  6109.       * @see net.sf.l2j.gameserver.handler.IUserCommandHandler#getUserCommandList()
  6110.       */
  6111. -    public int[] getUserCommandList()
  6112. +    @Override
  6113. +   public int[] getUserCommandList()
  6114.      {
  6115.          return COMMAND_IDS;
  6116.      }
  6117. Index: java/net/sf/l2j/gameserver/model/actor/stat/SummonStat.java
  6118. ===================================================================
  6119. --- java/net/sf/l2j/gameserver/model/actor/stat/SummonStat.java (revisión: 598)
  6120. +++ java/net/sf/l2j/gameserver/model/actor/stat/SummonStat.java (copia de trabajo)
  6121. @@ -40,7 +40,8 @@
  6122.  
  6123.      // =========================================================
  6124.      // Property - Public
  6125. -    public L2Summon getActiveChar()
  6126. +    @Override
  6127. +   public L2Summon getActiveChar()
  6128.      {
  6129.          return (L2Summon)super.getActiveChar();
  6130.      }
  6131. Index: java/net/sf/l2j/gameserver/SevenSigns.java
  6132. ===================================================================
  6133. --- java/net/sf/l2j/gameserver/SevenSigns.java  (revisión: 598)
  6134. +++ java/net/sf/l2j/gameserver/SevenSigns.java  (copia de trabajo)
  6135. @@ -30,7 +30,6 @@
  6136.  
  6137.  import net.sf.l2j.Config;
  6138.  import net.sf.l2j.L2DatabaseFactory;
  6139. -import net.sf.l2j.gameserver.datatables.MapRegionTable;
  6140.  import net.sf.l2j.gameserver.instancemanager.CastleManager;
  6141.  import net.sf.l2j.gameserver.model.AutoChatHandler;
  6142.  import net.sf.l2j.gameserver.model.AutoSpawnHandler;
  6143. @@ -1225,7 +1224,8 @@
  6144.      */
  6145.     protected class SevenSignsPeriodChange implements Runnable
  6146.     {
  6147. -        public void run()
  6148. +        @Override
  6149. +       public void run()
  6150.          {
  6151.              /*
  6152.               * Remember the period check here refers to the period just ENDED!
  6153. Index: java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminDoorControl.java
  6154. ===================================================================
  6155. --- java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminDoorControl.java   (revisión: 598)
  6156. +++ java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminDoorControl.java   (copia de trabajo)
  6157. @@ -57,7 +57,8 @@
  6158.          "admin_closeall"
  6159.      };
  6160.  
  6161. -    public boolean useAdminCommand(String command, L2PcInstance activeChar)
  6162. +    @Override
  6163. +   public boolean useAdminCommand(String command, L2PcInstance activeChar)
  6164.      {
  6165.          if (!Config.ALT_PRIVILEGES_ADMIN)
  6166.          {
  6167. @@ -148,7 +149,8 @@
  6168.          return true;
  6169.      }
  6170.  
  6171. -    public String[] getAdminCommandList()
  6172. +    @Override
  6173. +   public String[] getAdminCommandList()
  6174.      {
  6175.          return _adminCommands;
  6176.      }
  6177. Index: java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminGmChat.java
  6178. ===================================================================
  6179. --- java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminGmChat.java    (revisión: 598)
  6180. +++ java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminGmChat.java    (copia de trabajo)
  6181. @@ -36,6 +36,7 @@
  6182.     private static String[] _adminCommands = {"admin_gmchat", "admin_snoop"};
  6183.     private static final int REQUIRED_LEVEL = Config.GM_MIN;
  6184.  
  6185. +   @Override
  6186.     public boolean useAdminCommand(String command, L2PcInstance activeChar)
  6187.          {
  6188.                  if (!Config.ALT_PRIVILEGES_ADMIN)
  6189. @@ -74,6 +75,7 @@
  6190.        
  6191.     }
  6192.  
  6193. +   @Override
  6194.     public String[] getAdminCommandList()
  6195.          {
  6196.         return _adminCommands;
  6197. Index: java/net/sf/l2j/gameserver/model/actor/knownlist/SiegeGuardKnownList.java
  6198. ===================================================================
  6199. --- java/net/sf/l2j/gameserver/model/actor/knownlist/SiegeGuardKnownList.java   (revisión: 598)
  6200. +++ java/net/sf/l2j/gameserver/model/actor/knownlist/SiegeGuardKnownList.java   (copia de trabajo)
  6201. @@ -38,8 +38,10 @@
  6202.  
  6203.      // =========================================================
  6204.      // Method - Public
  6205. -    public boolean addKnownObject(L2Object object) { return addKnownObject(object, null); }
  6206. -    public boolean addKnownObject(L2Object object, L2Character dropper)
  6207. +    @Override
  6208. +   public boolean addKnownObject(L2Object object) { return addKnownObject(object, null); }
  6209. +    @Override
  6210. +   public boolean addKnownObject(L2Object object, L2Character dropper)
  6211.      {
  6212.          if (!super.addKnownObject(object, dropper)) return false;
  6213.  
  6214. @@ -65,5 +67,6 @@
  6215.  
  6216.      // =========================================================
  6217.      // Property - Public
  6218. -    public final L2SiegeGuardInstance getActiveChar() { return (L2SiegeGuardInstance)super.getActiveChar(); }
  6219. +    @Override
  6220. +   public final L2SiegeGuardInstance getActiveChar() { return (L2SiegeGuardInstance)super.getActiveChar(); }
  6221.  }
  6222. \ No newline at end of file
  6223. Index: java/net/sf/l2j/gameserver/datatables/ItemTable.java
  6224. ===================================================================
  6225. --- java/net/sf/l2j/gameserver/datatables/ItemTable.java    (revisión: 598)
  6226. +++ java/net/sf/l2j/gameserver/datatables/ItemTable.java    (copia de trabajo)
  6227. @@ -822,7 +822,8 @@
  6228.                          _item = item;
  6229.                  }
  6230.  
  6231. -                public void run()
  6232. +                @Override
  6233. +               public void run()
  6234.                  {
  6235.                          _item.setOwnerId(0);
  6236.                          _item.setItemLootSchedule(null);
  6237. Index: java/net/sf/l2j/gameserver/taskmanager/AttackStanceTaskManager.java
  6238. ===================================================================
  6239. --- java/net/sf/l2j/gameserver/taskmanager/AttackStanceTaskManager.java (revisión: 598)
  6240. +++ java/net/sf/l2j/gameserver/taskmanager/AttackStanceTaskManager.java (copia de trabajo)
  6241. @@ -93,7 +93,8 @@
  6242.              // Do nothing
  6243.          }
  6244.  
  6245. -        public void run()
  6246. +        @Override
  6247. +       public void run()
  6248.          {
  6249.              Long current = System.currentTimeMillis();
  6250.              try
  6251. Index: java/net/sf/l2j/gameserver/skills/conditions/ConditionItemId.java
  6252. ===================================================================
  6253. --- java/net/sf/l2j/gameserver/skills/conditions/ConditionItemId.java   (revisión: 598)
  6254. +++ java/net/sf/l2j/gameserver/skills/conditions/ConditionItemId.java   (copia de trabajo)
  6255. @@ -35,6 +35,7 @@
  6256.         _itemId = itemId;
  6257.     }
  6258.    
  6259. +   @Override
  6260.     public boolean testImpl(Env env)
  6261.     {
  6262.         if (env.item == null)
  6263. Index: java/net/sf/l2j/gameserver/skills/effects/EffectChameleonRest.java
  6264. ===================================================================
  6265. --- java/net/sf/l2j/gameserver/skills/effects/EffectChameleonRest.java  (revisión: 598)
  6266. +++ java/net/sf/l2j/gameserver/skills/effects/EffectChameleonRest.java  (copia de trabajo)
  6267. @@ -32,13 +32,15 @@
  6268.          super(env, template);
  6269.      }
  6270.  
  6271. -    public EffectType getEffectType()
  6272. +    @Override
  6273. +   public EffectType getEffectType()
  6274.      {
  6275.          return EffectType.RELAXING;
  6276.      }
  6277.  
  6278.      /** Notify started */
  6279. -    public void onStart()
  6280. +    @Override
  6281. +   public void onStart()
  6282.      {
  6283.  
  6284.          if (getEffected() instanceof L2PcInstance)
  6285. @@ -54,7 +56,8 @@
  6286.      }
  6287.  
  6288.      /** Notify exited */
  6289. -    public void onExit()
  6290. +    @Override
  6291. +   public void onExit()
  6292.      {
  6293.  
  6294.          if (getEffected() instanceof L2PcInstance)
  6295. @@ -66,7 +69,8 @@
  6296.          super.onExit();
  6297.      }
  6298.  
  6299. -    public boolean onActionTime()
  6300. +    @Override
  6301. +   public boolean onActionTime()
  6302.      {
  6303.          boolean retval = true;
  6304.          L2PcInstance effected = (L2PcInstance)getEffected();
  6305. Index: java/net/sf/l2j/gameserver/handler/itemhandlers/CompSpiritShotPacks.java
  6306. ===================================================================
  6307. --- java/net/sf/l2j/gameserver/handler/itemhandlers/CompSpiritShotPacks.java    (revisión: 598)
  6308. +++ java/net/sf/l2j/gameserver/handler/itemhandlers/CompSpiritShotPacks.java    (copia de trabajo)
  6309. @@ -35,6 +35,7 @@
  6310.  {
  6311.     private static int[] _itemIds = { 5140, 5141, 5142, 5143, 5144, 5145, 5256, 5257, 5258, 5259, 5260, 5261 };
  6312.    
  6313. +   @Override
  6314.     public void useItem(L2PlayableInstance playable, L2ItemInstance item)
  6315.     {
  6316.         if (!(playable instanceof L2PcInstance))
  6317. @@ -64,6 +65,7 @@
  6318.          ItemList playerUI = new ItemList(activeChar, false);
  6319.         activeChar.sendPacket(playerUI);
  6320.     }
  6321. +   @Override
  6322.     public int[] getItemIds()
  6323.     {
  6324.         return _itemIds;
  6325. Index: java/net/sf/l2j/gameserver/model/actor/instance/L2AdventurerInstance.java
  6326. ===================================================================
  6327. --- java/net/sf/l2j/gameserver/model/actor/instance/L2AdventurerInstance.java   (revisión: 598)
  6328. +++ java/net/sf/l2j/gameserver/model/actor/instance/L2AdventurerInstance.java   (copia de trabajo)
  6329. @@ -39,7 +39,8 @@
  6330.          super(objectId, template);
  6331.      }
  6332.  
  6333. -    public void onBypassFeedback(L2PcInstance player, String command)
  6334. +    @Override
  6335. +   public void onBypassFeedback(L2PcInstance player, String command)
  6336.      {
  6337.          if (command.startsWith("npcfind_byid"))
  6338.          {
  6339. @@ -81,7 +82,8 @@
  6340.          }
  6341.      }
  6342.  
  6343. -    public String getHtmlPath(int npcId, int val)
  6344. +    @Override
  6345. +   public String getHtmlPath(int npcId, int val)
  6346.      {
  6347.          String pom = "";
  6348.  
  6349. Index: java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminPForge.java
  6350. ===================================================================
  6351. --- java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminPForge.java    (revisión: 598)
  6352. +++ java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminPForge.java    (copia de trabajo)
  6353. @@ -40,7 +40,8 @@
  6354.      private static String[] _adminCommands = {"admin_forge","admin_forge2","admin_forge3" };
  6355.      private static final int REQUIRED_LEVEL = Config.GM_MIN;
  6356.  
  6357. -    public boolean useAdminCommand(String command, L2PcInstance activeChar)
  6358. +    @Override
  6359. +   public boolean useAdminCommand(String command, L2PcInstance activeChar)
  6360.      {
  6361.  
  6362.          if (!Config.ALT_PRIVILEGES_ADMIN)
  6363. @@ -226,7 +227,8 @@
  6364.          adminReply.setHtml(replyMSG.toString());
  6365.          activeChar.sendPacket(adminReply);
  6366.     }
  6367. -    public String[] getAdminCommandList()
  6368. +    @Override
  6369. +   public String[] getAdminCommandList()
  6370.      {
  6371.          return _adminCommands;
  6372.      }
  6373. Index: java/net/sf/l2j/FileLogFormatter.java
  6374. ===================================================================
  6375. --- java/net/sf/l2j/FileLogFormatter.java   (revisión: 598)
  6376. +++ java/net/sf/l2j/FileLogFormatter.java   (copia de trabajo)
  6377. @@ -39,6 +39,7 @@
  6378.     private static final String TAB = "\t";
  6379.     private SimpleDateFormat dateFmt = new SimpleDateFormat("yyyy.MM.dd HH:mm:ss,SSS");
  6380.    
  6381. +   @Override
  6382.     public String format(LogRecord record)
  6383.     {
  6384.          TextBuilder output = new TextBuilder();
  6385. Index: java/net/sf/l2j/gameserver/templates/L2Armor.java
  6386. ===================================================================
  6387. --- java/net/sf/l2j/gameserver/templates/L2Armor.java   (revisión: 598)
  6388. +++ java/net/sf/l2j/gameserver/templates/L2Armor.java   (copia de trabajo)
  6389. @@ -73,6 +73,7 @@
  6390.      * Returns the type of the armor.
  6391.      * @return L2ArmorType
  6392.      */
  6393. +   @Override
  6394.     public L2ArmorType getItemType()
  6395.     {
  6396.         return (L2ArmorType)super._type;
  6397. @@ -82,6 +83,7 @@
  6398.      * Returns the ID of the item after applying the mask.
  6399.      * @return int : ID of the item
  6400.      */
  6401. +   @Override
  6402.     public final int getItemMask()
  6403.     {
  6404.         return getItemType().mask();
  6405. @@ -147,7 +149,8 @@
  6406.       * @param player : L2Character pointing out the player
  6407.       * @return Func[] : array of functions
  6408.       */
  6409. -    public Func[] getStatFuncs(L2ItemInstance instance, L2Character player)
  6410. +    @Override
  6411. +   public Func[] getStatFuncs(L2ItemInstance instance, L2Character player)
  6412.      {
  6413.         List<Func> funcs = new FastList<>();
  6414.         if (_funcTemplates != null)
  6415. Index: java/net/sf/l2j/gameserver/model/actor/knownlist/SummonKnownList.java
  6416. ===================================================================
  6417. --- java/net/sf/l2j/gameserver/model/actor/knownlist/SummonKnownList.java   (revisión: 598)
  6418. +++ java/net/sf/l2j/gameserver/model/actor/knownlist/SummonKnownList.java   (copia de trabajo)
  6419. @@ -41,13 +41,16 @@
  6420.  
  6421.      // =========================================================
  6422.      // Property - Public
  6423. -    public final L2Summon getActiveChar() { return (L2Summon)super.getActiveChar(); }
  6424. +    @Override
  6425. +   public final L2Summon getActiveChar() { return (L2Summon)super.getActiveChar(); }
  6426.  
  6427. -    public int getDistanceToForgetObject(L2Object object)
  6428. +    @Override
  6429. +   public int getDistanceToForgetObject(L2Object object)
  6430.      {
  6431.          if (object == getActiveChar().getOwner() || object == getActiveChar().getTarget()) return 6000;
  6432.          return 3000;
  6433.      }
  6434.  
  6435. -    public int getDistanceToWatchObject(L2Object object) { return 1500; }
  6436. +    @Override
  6437. +   public int getDistanceToWatchObject(L2Object object) { return 1500; }
  6438.  }
  6439. \ No newline at end of file
  6440. Index: java/net/sf/l2j/gameserver/handler/itemhandlers/CompShotPacks.java
  6441. ===================================================================
  6442. --- java/net/sf/l2j/gameserver/handler/itemhandlers/CompShotPacks.java  (revisión: 598)
  6443. +++ java/net/sf/l2j/gameserver/handler/itemhandlers/CompShotPacks.java  (copia de trabajo)
  6444. @@ -39,6 +39,7 @@
  6445.                                      //5146, 5147, 5148, 5149, 5150, 5151, /**/ 5262, 5263, 5264, 5265, 5266, 5267  // BSpS
  6446.                                    };
  6447.    
  6448. +   @Override
  6449.     public void useItem(L2PlayableInstance playable, L2ItemInstance item)
  6450.     {
  6451.         if (!(playable instanceof L2PcInstance))
  6452. @@ -86,6 +87,7 @@
  6453.          activeChar.sendPacket(playerUI);
  6454.     }
  6455.    
  6456. +   @Override
  6457.     public int[] getItemIds()
  6458.     {
  6459.         return _itemIds;
  6460. Index: java/net/sf/l2j/gameserver/skills/effects/EffectBigHead.java
  6461. ===================================================================
  6462. --- java/net/sf/l2j/gameserver/skills/effects/EffectBigHead.java    (revisión: 598)
  6463. +++ java/net/sf/l2j/gameserver/skills/effects/EffectBigHead.java    (copia de trabajo)
  6464. @@ -31,21 +31,25 @@
  6465.         super(env, template);
  6466.     }
  6467.  
  6468. +   @Override
  6469.     public EffectType getEffectType()
  6470.     {
  6471.         return EffectType.BUFF;
  6472.     }
  6473.  
  6474. +   @Override
  6475.     public void onStart()
  6476.          {
  6477.          getEffected().startAbnormalEffect((short)0x02000);
  6478.     }
  6479.  
  6480. +   @Override
  6481.     public void onExit()
  6482.          {
  6483.          getEffected().stopAbnormalEffect((short)0x02000);
  6484.     }
  6485.  
  6486. +   @Override
  6487.     public boolean onActionTime()
  6488.          {
  6489.         return false;
  6490. Index: java/net/sf/l2j/gameserver/skills/conditions/ConditionPlayerHp.java
  6491. ===================================================================
  6492. --- java/net/sf/l2j/gameserver/skills/conditions/ConditionPlayerHp.java (revisión: 598)
  6493. +++ java/net/sf/l2j/gameserver/skills/conditions/ConditionPlayerHp.java (copia de trabajo)
  6494. @@ -35,6 +35,7 @@
  6495.         _hp = hp;
  6496.     }
  6497.  
  6498. +   @Override
  6499.     public boolean testImpl(Env env)
  6500.          {
  6501.  
  6502. Index: java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminPathNode.java
  6503. ===================================================================
  6504. --- java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminPathNode.java  (revisión: 598)
  6505. +++ java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminPathNode.java  (copia de trabajo)
  6506. @@ -39,7 +39,8 @@
  6507.  
  6508.      private static final int REQUIRED_LEVEL = Config.GM_CREATE_NODES;
  6509.  
  6510. -    public boolean useAdminCommand(String command, L2PcInstance activeChar)
  6511. +    @Override
  6512. +   public boolean useAdminCommand(String command, L2PcInstance activeChar)
  6513.      {
  6514.          if (!Config.ALT_PRIVILEGES_ADMIN)
  6515.          {
  6516. @@ -102,7 +103,8 @@
  6517.  
  6518.      }
  6519.      
  6520. -    public String[] getAdminCommandList()
  6521. +    @Override
  6522. +   public String[] getAdminCommandList()
  6523.      {
  6524.          return _adminCommands;
  6525.      }
  6526. Index: java/net/sf/l2j/gameserver/model/L2PetData.java
  6527. ===================================================================
  6528. --- java/net/sf/l2j/gameserver/model/L2PetData.java (revisión: 598)
  6529. +++ java/net/sf/l2j/gameserver/model/L2PetData.java (copia de trabajo)
  6530. @@ -400,7 +400,8 @@
  6531.          petRegenMP = pPetRegenMP;
  6532.      }
  6533.  
  6534. -    public String toString()
  6535. +    @Override
  6536. +   public String toString()
  6537.      {
  6538.          return "PetID: " + getPetID() + " \t" + "PetLevel: " + getPetLevel() + " \t" +
  6539.          //        PET_EXP + ": " + getPetExp() + " \t" +
  6540. Index: java/net/sf/l2j/gameserver/script/faenor/FaenorParser.java
  6541. ===================================================================
  6542. --- java/net/sf/l2j/gameserver/script/faenor/FaenorParser.java  (revisión: 598)
  6543. +++ java/net/sf/l2j/gameserver/script/faenor/FaenorParser.java  (copia de trabajo)
  6544. @@ -129,5 +129,6 @@
  6545.      /**
  6546.       * @param script
  6547.       */
  6548. -    public abstract void parseScript(Node node, ScriptContext context);
  6549. +    @Override
  6550. +   public abstract void parseScript(Node node, ScriptContext context);
  6551.  }
  6552. \ No newline at end of file
  6553. Index: java/net/sf/l2j/gameserver/skills/effects/EffectConfusion.java
  6554. ===================================================================
  6555. --- java/net/sf/l2j/gameserver/skills/effects/EffectConfusion.java  (revisión: 598)
  6556. +++ java/net/sf/l2j/gameserver/skills/effects/EffectConfusion.java  (copia de trabajo)
  6557. @@ -22,7 +22,6 @@
  6558.  
  6559.  import javolution.util.FastList;
  6560.  
  6561. -import net.sf.l2j.Config;
  6562.  import net.sf.l2j.gameserver.ai.CtrlIntention;
  6563.  import net.sf.l2j.gameserver.model.L2Character;
  6564.  import net.sf.l2j.gameserver.model.L2Effect;
  6565. @@ -43,13 +42,15 @@
  6566.          super(env, template);
  6567.      }
  6568.  
  6569. -    public EffectType getEffectType()
  6570. +    @Override
  6571. +   public EffectType getEffectType()
  6572.      {
  6573.          return EffectType.CONFUSION;
  6574.      }
  6575.  
  6576.      /** Notify started */
  6577. -    public void onStart()
  6578. +    @Override
  6579. +   public void onStart()
  6580.      {
  6581.          getEffected().startConfused();
  6582.          onActionTime();
  6583. @@ -56,12 +57,14 @@
  6584.      }
  6585.  
  6586.      /** Notify exited */
  6587. -    public void onExit()
  6588. +    @Override
  6589. +   public void onExit()
  6590.      {
  6591.          getEffected().stopConfused(this);
  6592.      }
  6593.  
  6594. -    public boolean onActionTime()
  6595. +    @Override
  6596. +   public boolean onActionTime()
  6597.      {
  6598.          List<L2Character> targetList = new FastList<>();
  6599.  
  6600. Index: java/net/sf/l2j/gameserver/skills/funcs/LambdaConst.java
  6601. ===================================================================
  6602. --- java/net/sf/l2j/gameserver/skills/funcs/LambdaConst.java    (revisión: 598)
  6603. +++ java/net/sf/l2j/gameserver/skills/funcs/LambdaConst.java    (copia de trabajo)
  6604. @@ -33,6 +33,7 @@
  6605.     {
  6606.         _value = value;
  6607.     }
  6608. +   @Override
  6609.     public double calc(@SuppressWarnings("unused") Env env)
  6610.          {
  6611.         return _value;
  6612. Index: java/net/sf/l2j/gameserver/datatables/ClanTable.java
  6613. ===================================================================
  6614. --- java/net/sf/l2j/gameserver/datatables/ClanTable.java    (revisión: 598)
  6615. +++ java/net/sf/l2j/gameserver/datatables/ClanTable.java    (copia de trabajo)
  6616. @@ -394,7 +394,8 @@
  6617.      {
  6618.          ThreadPoolManager.getInstance().scheduleGeneral(new Runnable()
  6619.          {
  6620. -            public void run()
  6621. +            @Override
  6622. +           public void run()
  6623.              {
  6624.                  if (getClan(clanId) == null)
  6625.  
  6626. Index: java/net/sf/l2j/util/L2LogManager.java
  6627. ===================================================================
  6628. --- java/net/sf/l2j/util/L2LogManager.java  (revisión: 598)
  6629. +++ java/net/sf/l2j/util/L2LogManager.java  (copia de trabajo)
  6630. @@ -31,7 +31,8 @@
  6631.          super();
  6632.      }
  6633.  
  6634. -    public void reset()
  6635. +    @Override
  6636. +   public void reset()
  6637.      {
  6638.          // do nothing
  6639.      }
  6640. Index: java/net/sf/l2j/gameserver/handler/itemhandlers/ScrollOfEscape.java
  6641. ===================================================================
  6642. --- java/net/sf/l2j/gameserver/handler/itemhandlers/ScrollOfEscape.java (revisión: 598)
  6643. +++ java/net/sf/l2j/gameserver/handler/itemhandlers/ScrollOfEscape.java (copia de trabajo)
  6644. @@ -55,7 +55,8 @@
  6645.      /* (non-Javadoc)
  6646.       * @see net.sf.l2j.gameserver.handler.IItemHandler#useItem(net.sf.l2j.gameserver.model.L2PcInstance, net.sf.l2j.gameserver.model.L2ItemInstance)
  6647.       */
  6648. -    public void useItem(L2PlayableInstance playable, L2ItemInstance item)
  6649. +    @Override
  6650. +   public void useItem(L2PlayableInstance playable, L2ItemInstance item)
  6651.      {
  6652.          if (!(playable instanceof L2PcInstance)) return;
  6653.          L2PcInstance activeChar = (L2PcInstance)playable;
  6654. @@ -154,7 +155,8 @@
  6655.          }
  6656.  
  6657.  
  6658. -        public void run()
  6659. +        @Override
  6660. +       public void run()
  6661.          {
  6662.              if (_activeChar.isDead())
  6663.                  return;
  6664. @@ -281,7 +283,8 @@
  6665.          }
  6666.      }
  6667.  
  6668. -    public int[] getItemIds()
  6669. +    @Override
  6670. +   public int[] getItemIds()
  6671.      {
  6672.          return _itemIds;
  6673.      }
  6674. Index: java/net/sf/l2j/gameserver/handler/itemhandlers/CompBlessedSpiritShotPacks.java
  6675. ===================================================================
  6676. --- java/net/sf/l2j/gameserver/handler/itemhandlers/CompBlessedSpiritShotPacks.java (revisión: 598)
  6677. +++ java/net/sf/l2j/gameserver/handler/itemhandlers/CompBlessedSpiritShotPacks.java (copia de trabajo)
  6678. @@ -35,6 +35,7 @@
  6679.  {
  6680.     private static int[] _itemIds = { 5146, 5147, 5148, 5149, 5150, 5151, 5262, 5263, 5264, 5265, 5266, 5267 };
  6681.    
  6682. +   @Override
  6683.     public void useItem(L2PlayableInstance playable, L2ItemInstance item)
  6684.     {
  6685.         if (!(playable instanceof L2PcInstance))
  6686. @@ -65,6 +66,7 @@
  6687.         activeChar.sendPacket(playerUI);
  6688.     }
  6689.    
  6690. +   @Override
  6691.     public int[] getItemIds()
  6692.     {
  6693.         return _itemIds;
  6694. Index: java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminRes.java
  6695. ===================================================================
  6696. --- java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminRes.java   (revisión: 598)
  6697. +++ java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminRes.java   (copia de trabajo)
  6698. @@ -43,6 +43,7 @@
  6699.     private static String[] _adminCommands = {"admin_res", "admin_res_monster"};
  6700.     private static final int REQUIRED_LEVEL = Config.GM_RES;
  6701.    
  6702. +   @Override
  6703.     public boolean useAdminCommand(String command, L2PcInstance activeChar)
  6704.     {
  6705.         if (!Config.ALT_PRIVILEGES_ADMIN)
  6706. @@ -66,6 +67,7 @@
  6707.         return true;
  6708.     }
  6709.    
  6710. +   @Override
  6711.     public String[] getAdminCommandList()
  6712.     {
  6713.         return _adminCommands;
  6714. Index: java/net/sf/l2j/gameserver/model/actor/instance/L2XmassTreeInstance.java
  6715. ===================================================================
  6716. --- java/net/sf/l2j/gameserver/model/actor/instance/L2XmassTreeInstance.java    (revisión: 598)
  6717. +++ java/net/sf/l2j/gameserver/model/actor/instance/L2XmassTreeInstance.java    (copia de trabajo)
  6718. @@ -46,7 +46,8 @@
  6719.              _caster = caster;
  6720.          }
  6721.  
  6722. -        public void run()
  6723. +        @Override
  6724. +       public void run()
  6725.          {
  6726.  
  6727.              for (L2PcInstance player : getKnownList().getKnownPlayers().values())
  6728. @@ -83,7 +84,8 @@
  6729.   3000);
  6730.      }
  6731.  
  6732. -    public void deleteMe()
  6733. +    @Override
  6734. +   public void deleteMe()
  6735.      {
  6736.          if (aiTask != null)
  6737.          {
  6738. @@ -95,7 +97,8 @@
  6739.          super.deleteMe();
  6740.      }
  6741.  
  6742. -    public int getDistanceToWatchObject(L2Object object)
  6743. +    @Override
  6744. +   public int getDistanceToWatchObject(L2Object object)
  6745.      {
  6746.          return 900;
  6747.      }
  6748. @@ -103,7 +106,8 @@
  6749.      /* (non-Javadoc)
  6750.       * @see net.sf.l2j.gameserver.model.L2Object#isAttackable()
  6751.       */
  6752. -    public boolean isAutoAttackable(@SuppressWarnings("unused")
  6753. +    @Override
  6754. +   public boolean isAutoAttackable(@SuppressWarnings("unused")
  6755.   L2Character attacker)
  6756.      {
  6757.          return false;
  6758. Index: java/net/sf/l2j/gameserver/model/actor/knownlist/RaceManagerKnownList.java
  6759. ===================================================================
  6760. --- java/net/sf/l2j/gameserver/model/actor/knownlist/RaceManagerKnownList.java  (revisión: 598)
  6761. +++ java/net/sf/l2j/gameserver/model/actor/knownlist/RaceManagerKnownList.java  (copia de trabajo)
  6762. @@ -39,8 +39,10 @@
  6763.  
  6764.      // =========================================================
  6765.      // Method - Public
  6766. -    public boolean addKnownObject(L2Object object) { return addKnownObject(object, null); }
  6767. -    public boolean addKnownObject(L2Object object, L2Character dropper)
  6768. +    @Override
  6769. +   public boolean addKnownObject(L2Object object) { return addKnownObject(object, null); }
  6770. +    @Override
  6771. +   public boolean addKnownObject(L2Object object, L2Character dropper)
  6772.      {
  6773.          if (!super.addKnownObject(object, dropper))
  6774.              return false;
  6775. @@ -48,7 +50,8 @@
  6776.          return true;
  6777.      }
  6778.  
  6779. -    public boolean removeKnownObject(L2Object object)
  6780. +    @Override
  6781. +   public boolean removeKnownObject(L2Object object)
  6782.      {
  6783.          if (!super.removeKnownObject(object)) return false;
  6784.  
  6785. @@ -70,5 +73,6 @@
  6786.  
  6787.      // =========================================================
  6788.      // Property - Public
  6789. -    public L2RaceManagerInstance getActiveChar() { return (L2RaceManagerInstance)super.getActiveChar(); }
  6790. +    @Override
  6791. +   public L2RaceManagerInstance getActiveChar() { return (L2RaceManagerInstance)super.getActiveChar(); }
  6792.  }
  6793. \ No newline at end of file
  6794. Index: java/net/sf/l2j/gameserver/model/actor/instance/L2PetInstance.java
  6795. ===================================================================
  6796. --- java/net/sf/l2j/gameserver/model/actor/instance/L2PetInstance.java  (revisión: 598)
  6797. +++ java/net/sf/l2j/gameserver/model/actor/instance/L2PetInstance.java  (copia de trabajo)
  6798. @@ -118,7 +118,8 @@
  6799.       */
  6800.      class FeedTask implements Runnable
  6801.      {
  6802. -        public void run()
  6803. +        @Override
  6804. +       public void run()
  6805.          {
  6806.              try
  6807.              {
  6808. @@ -242,7 +243,8 @@
  6809.          _maxload = getPetData().getPetMaxLoad();
  6810.      }
  6811.  
  6812. -    public PetStat getStat()
  6813. +    @Override
  6814. +   public PetStat getStat()
  6815.      {
  6816.          if (super.getStat() == null || !(super.getStat() instanceof PetStat))
  6817.              setStat(new PetStat(this));
  6818. @@ -249,7 +251,8 @@
  6819.          return (PetStat)super.getStat();
  6820.      }
  6821.  
  6822. -    public double getLevelMod()
  6823. +    @Override
  6824. +   public double getLevelMod()
  6825.      {
  6826.          return (100.0 - 11 + getLevel()) / 100.0;
  6827.      }
  6828. @@ -259,12 +262,14 @@
  6829.          return _respawned;
  6830.      }
  6831.  
  6832. -    public int getSummonType()
  6833. +    @Override
  6834. +   public int getSummonType()
  6835.      {
  6836.          return 2;
  6837.      }
  6838.  
  6839. -    public void onAction(L2PcInstance player)
  6840. +    @Override
  6841. +   public void onAction(L2PcInstance player)
  6842.      {
  6843.          boolean isOwner = player.getObjectId() == getOwner().getObjectId();
  6844.  
  6845. @@ -327,7 +332,8 @@
  6846.          player.sendPacket(new ActionFailed());
  6847.      }
  6848.  
  6849. -    public int getControlItemId()
  6850. +    @Override
  6851. +   public int getControlItemId()
  6852.      {
  6853.          return _controlItemId;
  6854.      }
  6855. @@ -337,7 +343,8 @@
  6856.          return getOwner().getInventory().getItemByObjectId(_controlItemId);
  6857.      }
  6858.  
  6859. -    public int getCurrentFed()
  6860. +    @Override
  6861. +   public int getCurrentFed()
  6862.      {
  6863.          return _curFed;
  6864.      }
  6865. @@ -350,7 +357,8 @@
  6866.      /**
  6867.       * Returns the pet's currently equipped weapon instance (if any).
  6868.       */
  6869. -    public L2ItemInstance getActiveWeaponInstance()
  6870. +    @Override
  6871. +   public L2ItemInstance getActiveWeaponInstance()
  6872.      {
  6873.          for (L2ItemInstance item : getInventory().getItems())
  6874.          {
  6875. @@ -370,7 +378,8 @@
  6876.      /**
  6877.       * Returns the pet's currently equipped weapon (if any).
  6878.       */
  6879. -    public L2Weapon getActiveWeaponItem()
  6880. +    @Override
  6881. +   public L2Weapon getActiveWeaponItem()
  6882.      {
  6883.          L2ItemInstance weapon = getActiveWeaponInstance();
  6884.  
  6885. @@ -382,7 +391,8 @@
  6886.      }
  6887.  
  6888.  
  6889. -    public L2ItemInstance getSecondaryWeaponInstance()
  6890. +    @Override
  6891. +   public L2ItemInstance getSecondaryWeaponInstance()
  6892.      {
  6893.          // temporary? unavailable
  6894.          return null;
  6895. @@ -389,13 +399,15 @@
  6896.      }
  6897.  
  6898.  
  6899. -    public L2Weapon getSecondaryWeaponItem()
  6900. +    @Override
  6901. +   public L2Weapon getSecondaryWeaponItem()
  6902.      {
  6903.          // temporary? unavailable
  6904.          return null;
  6905.      }
  6906.  
  6907. -    public PetInventory getInventory()
  6908. +    @Override
  6909. +   public PetInventory getInventory()
  6910.      {
  6911.          return _inventory;
  6912.      }
  6913. @@ -409,7 +421,8 @@
  6914.       * @param sendMessage : boolean Specifies whether to send message to Client about this action
  6915.       * @return boolean informing if the action was successful
  6916.       */
  6917. -    public boolean destroyItem(String process, int objectId, int count, L2Object reference, boolean sendMessage)
  6918. +    @Override
  6919. +   public boolean destroyItem(String process, int objectId, int count, L2Object reference, boolean sendMessage)
  6920.      {
  6921.          L2ItemInstance item = _inventory.destroyItem(process, objectId, count, getOwner(), reference);
  6922.  
  6923. @@ -447,7 +460,8 @@
  6924.       * @param sendMessage : boolean Specifies whether to send message to Client about this action
  6925.       * @return boolean informing if the action was successfull
  6926.       */
  6927. -    public boolean destroyItemByItemId(String process, int itemId, int count, L2Object reference, boolean sendMessage)
  6928. +    @Override
  6929. +   public boolean destroyItemByItemId(String process, int itemId, int count, L2Object reference, boolean sendMessage)
  6930.      {
  6931.          L2ItemInstance item = _inventory.destroyItemByItemId(process, itemId, count, getOwner(), reference);
  6932.  
  6933. @@ -475,7 +489,8 @@
  6934.          return true;
  6935.      }
  6936.  
  6937. -    protected void doPickupItem(L2Object object)
  6938. +    @Override
  6939. +   protected void doPickupItem(L2Object object)
  6940.      {
  6941.          boolean follow = getFollowStatus();
  6942.  
  6943. @@ -586,13 +601,15 @@
  6944.  
  6945.      }
  6946.  
  6947. -    public void deleteMe(L2PcInstance owner)
  6948. +    @Override
  6949. +   public void deleteMe(L2PcInstance owner)
  6950.      {
  6951.          super.deleteMe(owner);
  6952.          destroyControlItem(owner); //this should also delete the pet from the db
  6953.      }
  6954.  
  6955. -    public boolean doDie(L2Character killer)
  6956. +    @Override
  6957. +   public boolean doDie(L2Character killer)
  6958.      {
  6959.          if (!super.doDie(killer, true))
  6960.              return false;
  6961. @@ -608,7 +625,8 @@
  6962.          return true;
  6963.      }
  6964.  
  6965. -    public void doRevive()
  6966. +    @Override
  6967. +   public void doRevive()
  6968.      {
  6969.  
  6970.          getOwner().removeReviving();
  6971. @@ -623,7 +641,8 @@
  6972.          getAI().setIntention(CtrlIntention.AI_INTENTION_ACTIVE, null);
  6973.      }
  6974.  
  6975. -    public void doRevive(double revivePower)
  6976. +    @Override
  6977. +   public void doRevive(double revivePower)
  6978.      {
  6979.          // Restore the pet's lost experience,
  6980.          // depending on the % return of the skill used (based on its power).
  6981. @@ -684,7 +703,8 @@
  6982.          return newItem;
  6983.      }
  6984.  
  6985. -    public void giveAllToOwner()
  6986. +    @Override
  6987. +   public void giveAllToOwner()
  6988.      {
  6989.          try
  6990.          {
  6991. @@ -809,7 +829,8 @@
  6992.      }
  6993.  
  6994.      /** @return Returns the mountable. */
  6995. -    public boolean isMountable()
  6996. +    @Override
  6997. +   public boolean isMountable()
  6998.      {
  6999.          return _mountable;
  7000.      }
  7001. @@ -864,7 +885,8 @@
  7002.          return pet;
  7003.      }
  7004.  
  7005. -    public void store()
  7006. +    @Override
  7007. +   public void store()
  7008.      {
  7009.          if (getControlItemId() == 0)
  7010.          {
  7011. @@ -928,7 +950,8 @@
  7012.         _feedTask = ThreadPoolManager.getInstance().scheduleGeneralAtFixedRate(new FeedTask(), 10000, 10000);
  7013.      }
  7014.  
  7015. -    public synchronized void unSummon(L2PcInstance owner)
  7016. +    @Override
  7017. +   public synchronized void unSummon(L2PcInstance owner)
  7018.      {
  7019.          stopFeed();
  7020.          super.unSummon(owner);
  7021. @@ -971,7 +994,8 @@
  7022.          getStat().addExp(-lostExp);
  7023.      }
  7024.  
  7025. -    public void addExpAndSp(long addToExp, int addToSp)
  7026. +    @Override
  7027. +   public void addExpAndSp(long addToExp, int addToSp)
  7028.      {
  7029.          if (getNpcId() == 12564) // Sin Eater
  7030.              getStat().addExpAndSp(Math.round(addToExp * Config.SINEATER_XP_RATE), addToSp);
  7031. @@ -979,78 +1003,93 @@
  7032.              getStat().addExpAndSp(Math.round(addToExp * Config.PET_XP_RATE), addToSp);
  7033.      }
  7034.  
  7035. -    public long getExpForThisLevel()
  7036. +    @Override
  7037. +   public long getExpForThisLevel()
  7038.      {
  7039.          return getStat().getExpForLevel(getLevel());
  7040.      }
  7041.  
  7042. -    public long getExpForNextLevel()
  7043. +    @Override
  7044. +   public long getExpForNextLevel()
  7045.      {
  7046.          return getStat().getExpForLevel(getLevel() + 1);
  7047.      }
  7048.  
  7049. -    public final int getLevel()
  7050. +    @Override
  7051. +   public final int getLevel()
  7052.      {
  7053.          return getStat().getLevel();
  7054.      }
  7055.  
  7056. -    public int getMaxFed()
  7057. +    @Override
  7058. +   public int getMaxFed()
  7059.      {
  7060.          return getStat().getMaxFeed();
  7061.      }
  7062.  
  7063. -    public int getAccuracy()
  7064. +    @Override
  7065. +   public int getAccuracy()
  7066.      {
  7067.          return getStat().getAccuracy();
  7068.      }
  7069.  
  7070. -    public int getCriticalHit(L2Character target, L2Skill skill)
  7071. +    @Override
  7072. +   public int getCriticalHit(L2Character target, L2Skill skill)
  7073.      {
  7074.          return getStat().getCriticalHit(target, skill);
  7075.      }
  7076.  
  7077. -    public int getEvasionRate(L2Character target)
  7078. +    @Override
  7079. +   public int getEvasionRate(L2Character target)
  7080.      {
  7081.          return getStat().getEvasionRate(target);
  7082.      }
  7083.  
  7084. -    public int getRunSpeed()
  7085. +    @Override
  7086. +   public int getRunSpeed()
  7087.      {
  7088.          return getStat().getRunSpeed();
  7089.      }
  7090.  
  7091. -    public int getPAtkSpd()
  7092. +    @Override
  7093. +   public int getPAtkSpd()
  7094.      {
  7095.          return getStat().getPAtkSpd();
  7096.      }
  7097.  
  7098. -    public int getMAtkSpd()
  7099. +    @Override
  7100. +   public int getMAtkSpd()
  7101.      {
  7102.          return getStat().getMAtkSpd();
  7103.      }
  7104.  
  7105. -    public int getMAtk(L2Character target, L2Skill skill)
  7106. +    @Override
  7107. +   public int getMAtk(L2Character target, L2Skill skill)
  7108.      {
  7109.          return getStat().getMAtk(target, skill);
  7110.      }
  7111.  
  7112. -    public int getMDef(L2Character target, L2Skill skill)
  7113. +    @Override
  7114. +   public int getMDef(L2Character target, L2Skill skill)
  7115.      {
  7116.          return getStat().getMDef(target, skill);
  7117.      }
  7118.  
  7119. -    public int getPAtk(L2Character target)
  7120. +    @Override
  7121. +   public int getPAtk(L2Character target)
  7122.      {
  7123.          return getStat().getPAtk(target);
  7124.      }
  7125.  
  7126. -    public int getPDef(L2Character target)
  7127. +    @Override
  7128. +   public int getPDef(L2Character target)
  7129.      {
  7130.          return getStat().getPDef(target);
  7131.      }
  7132.  
  7133.  
  7134. -    public final int getSkillLevel(int skillId)
  7135. +    @Override
  7136. +   public final int getSkillLevel(int skillId)
  7137.      {
  7138.          if (_Skills == null || _Skills.get(skillId) == null)
  7139.              return -1;
  7140. @@ -1158,12 +1197,14 @@
  7141.          _jewel = id;
  7142.      }
  7143.  
  7144. -    public final int getWeapon()
  7145. +    @Override
  7146. +   public final int getWeapon()
  7147.      {
  7148.          return _weapon;
  7149.      }
  7150.  
  7151. -    public final int getArmor()
  7152. +    @Override
  7153. +   public final int getArmor()
  7154.      {
  7155.          return _armor;
  7156.      }
  7157. @@ -1173,7 +1214,8 @@
  7158.          return _jewel;
  7159.      }
  7160.  
  7161. -    public final void sendDamageMessage(L2Character target, int damage, boolean mcrit, boolean pcrit, boolean miss)
  7162. +    @Override
  7163. +   public final void sendDamageMessage(L2Character target, int damage, boolean mcrit, boolean pcrit, boolean miss)
  7164.      {
  7165.          if (miss)
  7166.          {
  7167. Index: java/net/sf/l2j/gameserver/handler/itemhandlers/MercTicket.java
  7168. ===================================================================
  7169. --- java/net/sf/l2j/gameserver/handler/itemhandlers/MercTicket.java (revisión: 598)
  7170. +++ java/net/sf/l2j/gameserver/handler/itemhandlers/MercTicket.java (copia de trabajo)
  7171. @@ -46,7 +46,8 @@
  7172.       * 2) If allowed, call the MercTicketManager to add the item and spawn in the world
  7173.       * 3) Remove the item from the person's inventory  
  7174.       */
  7175. -    public void useItem(L2PlayableInstance playable, L2ItemInstance item)
  7176. +    @Override
  7177. +   public void useItem(L2PlayableInstance playable, L2ItemInstance item)
  7178.      {
  7179.         int itemId = item.getItemId();
  7180.         L2PcInstance activeChar = (L2PcInstance)playable;
  7181. @@ -133,7 +134,8 @@
  7182.      }
  7183.  
  7184.      // left in here for backward compatibility
  7185. -    public int[] getItemIds()
  7186. +    @Override
  7187. +   public int[] getItemIds()
  7188.      {
  7189.          return MercTicketManager.getInstance().getItemIds();
  7190.      }
  7191. Index: java/net/sf/l2j/gameserver/skills/effects/EffectParalyze.java
  7192. ===================================================================
  7193. --- java/net/sf/l2j/gameserver/skills/effects/EffectParalyze.java   (revisión: 598)
  7194. +++ java/net/sf/l2j/gameserver/skills/effects/EffectParalyze.java   (copia de trabajo)
  7195. @@ -28,12 +28,14 @@
  7196.          super(env, template);
  7197.      }
  7198.  
  7199. -    public EffectType getEffectType()
  7200. +    @Override
  7201. +   public EffectType getEffectType()
  7202.      {
  7203.          return EffectType.PARALYZE;
  7204.      }
  7205.  
  7206. -    public void onStart()
  7207. +    @Override
  7208. +   public void onStart()
  7209.      {
  7210.          getEffected().startAbnormalEffect((short)0x0400);
  7211.  
  7212. @@ -40,13 +42,15 @@
  7213.          getEffected().startParalyze();
  7214.      }
  7215.  
  7216. -    public void onExit()
  7217. +    @Override
  7218. +   public void onExit()
  7219.      {
  7220.          getEffected().stopAbnormalEffect((short)0x0400);
  7221.          getEffected().stopParalyze(this);
  7222.      }
  7223.  
  7224. -    public boolean onActionTime()
  7225. +    @Override
  7226. +   public boolean onActionTime()
  7227.      {
  7228.          return false;
  7229.      }
  7230. Index: java/net/sf/l2j/gameserver/cache/WarehouseCacheManager.java
  7231. ===================================================================
  7232. --- java/net/sf/l2j/gameserver/cache/WarehouseCacheManager.java (revisión: 598)
  7233. +++ java/net/sf/l2j/gameserver/cache/WarehouseCacheManager.java (copia de trabajo)
  7234. @@ -58,6 +58,7 @@
  7235.    
  7236.     public class CacheScheduler implements Runnable
  7237.     {
  7238. +       @Override
  7239.         public void run()
  7240.         {
  7241.             long cTime = System.currentTimeMillis();
  7242. Index: java/net/sf/l2j/gameserver/handler/usercommandhandlers/Escape.java
  7243. ===================================================================
  7244. --- java/net/sf/l2j/gameserver/handler/usercommandhandlers/Escape.java  (revisión: 598)
  7245. +++ java/net/sf/l2j/gameserver/handler/usercommandhandlers/Escape.java  (copia de trabajo)
  7246. @@ -43,7 +43,8 @@
  7247.      /* (non-Javadoc)
  7248.       * @see net.sf.l2j.gameserver.handler.IUserCommandHandler#useUserCommand(int, net.sf.l2j.gameserver.model.L2PcInstance)
  7249.       */
  7250. -    public boolean useUserCommand(@SuppressWarnings("unused") int id, L2PcInstance activeChar)
  7251. +    @Override
  7252. +   public boolean useUserCommand(@SuppressWarnings("unused") int id, L2PcInstance activeChar)
  7253.      {  
  7254.          if (activeChar.isCastingNow() || activeChar.isMovementDisabled() || activeChar.isAlikeDead() ||
  7255.                  activeChar.isInOlympiadMode())
  7256. @@ -107,7 +108,8 @@
  7257.              _activeChar = activeChar;
  7258.          }
  7259.          
  7260. -        public void run()
  7261. +        @Override
  7262. +       public void run()
  7263.          {
  7264.              if (_activeChar.isDead())
  7265.                  return;
  7266. @@ -125,7 +127,8 @@
  7267.      /* (non-Javadoc)
  7268.       * @see net.sf.l2j.gameserver.handler.IUserCommandHandler#getUserCommandList()
  7269.       */
  7270. -    public int[] getUserCommandList()
  7271. +    @Override
  7272. +   public int[] getUserCommandList()
  7273.      {
  7274.          return COMMAND_IDS;
  7275.      }
  7276. Index: java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminInvul.java
  7277. ===================================================================
  7278. --- java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminInvul.java (revisión: 598)
  7279. +++ java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminInvul.java (copia de trabajo)
  7280. @@ -39,7 +39,8 @@
  7281.      private static String[] _adminCommands = {"admin_invul", "admin_setinvul"};
  7282.      private static final int REQUIRED_LEVEL = Config.GM_GODMODE;
  7283.  
  7284. -    public boolean useAdminCommand(String command, L2PcInstance activeChar)
  7285. +    @Override
  7286. +   public boolean useAdminCommand(String command, L2PcInstance activeChar)
  7287.      {
  7288.          if (!Config.ALT_PRIVILEGES_ADMIN)
  7289.          {
  7290. @@ -60,6 +61,7 @@
  7291.          return true;
  7292.      }
  7293.  
  7294. +   @Override
  7295.     public String[] getAdminCommandList()
  7296.          {
  7297.         return _adminCommands;
  7298. Index: java/net/sf/l2j/gameserver/model/quest/QuestStateManager.java
  7299. ===================================================================
  7300. --- java/net/sf/l2j/gameserver/model/quest/QuestStateManager.java   (revisión: 598)
  7301. +++ java/net/sf/l2j/gameserver/model/quest/QuestStateManager.java   (copia de trabajo)
  7302. @@ -22,7 +22,6 @@
  7303.  
  7304.  import javolution.util.FastList;
  7305.  import net.sf.l2j.gameserver.ThreadPoolManager;
  7306. -import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance;
  7307.  
  7308.  public class QuestStateManager
  7309.  {
  7310. @@ -30,7 +29,8 @@
  7311.      // Schedule Task
  7312.      public class ScheduleTimerTask implements Runnable
  7313.      {
  7314. -        public void run()
  7315. +        @Override
  7316. +       public void run()
  7317.          {
  7318.              try
  7319.              {
  7320. Index: java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminSiege.java
  7321. ===================================================================
  7322. --- java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminSiege.java (revisión: 598)
  7323. +++ java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminSiege.java (copia de trabajo)
  7324. @@ -63,7 +63,8 @@
  7325.  
  7326.      private static final int REQUIRED_LEVEL = Config.GM_NPC_EDIT;
  7327.  
  7328. -    public boolean useAdminCommand(String command, L2PcInstance activeChar)
  7329. +    @Override
  7330. +   public boolean useAdminCommand(String command, L2PcInstance activeChar)
  7331.      {
  7332.          if (!Config.ALT_PRIVILEGES_ADMIN)
  7333.          {
  7334. @@ -364,7 +365,8 @@
  7335.          activeChar.sendPacket(adminReply);
  7336.      }
  7337.  
  7338. -    public String[] getAdminCommandList()
  7339. +    @Override
  7340. +   public String[] getAdminCommandList()
  7341.      {
  7342.          return _adminCommands;
  7343.      }
  7344. Index: java/net/sf/l2j/gameserver/skills/conditions/ConditionPlayerRace.java
  7345. ===================================================================
  7346. --- java/net/sf/l2j/gameserver/skills/conditions/ConditionPlayerRace.java   (revisión: 598)
  7347. +++ java/net/sf/l2j/gameserver/skills/conditions/ConditionPlayerRace.java   (copia de trabajo)
  7348. @@ -37,6 +37,7 @@
  7349.         _race = race;
  7350.     }
  7351.    
  7352. +   @Override
  7353.     public boolean testImpl(Env env)
  7354.          {
  7355.         if (!(env.player instanceof L2PcInstance))
  7356. Index: java/net/sf/l2j/gameserver/taskmanager/TaskManager.java
  7357. ===================================================================
  7358. --- java/net/sf/l2j/gameserver/taskmanager/TaskManager.java (revisión: 598)
  7359. +++ java/net/sf/l2j/gameserver/taskmanager/TaskManager.java (copia de trabajo)
  7360. @@ -86,7 +86,8 @@
  7361.                                      rset.getString("param3")};
  7362.          }
  7363.  
  7364. -        public void run()
  7365. +        @Override
  7366. +       public void run()
  7367.          {
  7368.              _task.onTimeElapsed(this);
  7369.  
  7370. @@ -110,7 +111,8 @@
  7371.              }
  7372.          }
  7373.  
  7374. -        public boolean equals(Object object)
  7375. +        @Override
  7376. +       public boolean equals(Object object)
  7377.          {
  7378.              return _id == ((ExecutedTask) object)._id;
  7379.          }
  7380. Index: java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminPolymorph.java
  7381. ===================================================================
  7382. --- java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminPolymorph.java (revisión: 598)
  7383. +++ java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminPolymorph.java (copia de trabajo)
  7384. @@ -42,7 +42,8 @@
  7385.  
  7386.      private static final int REQUIRED_LEVEL = Config.GM_NPC_EDIT;
  7387.  
  7388. -    public boolean useAdminCommand(String command, L2PcInstance activeChar)
  7389. +    @Override
  7390. +   public boolean useAdminCommand(String command, L2PcInstance activeChar)
  7391.      {
  7392.          if (!Config.ALT_PRIVILEGES_ADMIN)
  7393.          {
  7394. @@ -66,7 +67,8 @@
  7395.          return true;
  7396.      }
  7397.  
  7398. -    public String[] getAdminCommandList()
  7399. +    @Override
  7400. +   public String[] getAdminCommandList()
  7401.      {
  7402.          return _adminCommands;
  7403.      }
  7404. Index: java/net/sf/l2j/gameserver/skills/funcs/FuncMul.java
  7405. ===================================================================
  7406. --- java/net/sf/l2j/gameserver/skills/funcs/FuncMul.java    (revisión: 598)
  7407. +++ java/net/sf/l2j/gameserver/skills/funcs/FuncMul.java    (copia de trabajo)
  7408. @@ -29,6 +29,7 @@
  7409.         super(stat, order, owner);
  7410.         _lambda = lambda;
  7411.     }
  7412. +   @Override
  7413.     public void calc(Env env)
  7414.     {
  7415.         if (_cond == null || _cond.test(env))
  7416. Index: java/net/sf/l2j/gameserver/network/clientpackets/SetPrivateStoreListSell.java
  7417. ===================================================================
  7418. --- java/net/sf/l2j/gameserver/network/clientpackets/SetPrivateStoreListSell.java   (revisión: 598)
  7419. +++ java/net/sf/l2j/gameserver/network/clientpackets/SetPrivateStoreListSell.java   (copia de trabajo)
  7420. @@ -19,6 +19,7 @@
  7421.  package net.sf.l2j.gameserver.network.clientpackets;
  7422.  
  7423.  import net.sf.l2j.Config;
  7424. +import net.sf.l2j.gameserver.model.L2Character;
  7425.  import net.sf.l2j.gameserver.model.TradeList;
  7426.  import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance;
  7427.  import net.sf.l2j.gameserver.network.serverpackets.ActionFailed;
  7428. @@ -87,7 +88,7 @@
  7429.             return;
  7430.         }
  7431.  
  7432. -       if (player.isInsideZone(L2PcInstance.ZONE_NOSTORE))
  7433. +       if (player.isInsideZone(L2Character.ZONE_NOSTORE))
  7434.         {
  7435.             player.sendPacket(new PrivateStoreManageListSell(player));
  7436.             player.sendPacket(new SystemMessage(SystemMessage.NO_PRIVATE_STORE_HERE));
  7437. Index: java/net/sf/l2j/gameserver/handler/itemhandlers/ExtractableItems.java
  7438. ===================================================================
  7439. --- java/net/sf/l2j/gameserver/handler/itemhandlers/ExtractableItems.java   (revisión: 598)
  7440. +++ java/net/sf/l2j/gameserver/handler/itemhandlers/ExtractableItems.java   (copia de trabajo)
  7441. @@ -39,7 +39,8 @@
  7442.  public class ExtractableItems implements IItemHandler
  7443.  {
  7444.      private static Logger _log = Logger.getLogger(ItemTable.class.getName());
  7445. -    public void useItem(L2PlayableInstance playable, L2ItemInstance item)
  7446. +    @Override
  7447. +   public void useItem(L2PlayableInstance playable, L2ItemInstance item)
  7448.      {
  7449.          if (!(playable instanceof L2PcInstance))
  7450.             return;
  7451. @@ -112,7 +113,8 @@
  7452.          activeChar.sendPacket(sm);
  7453.      }
  7454.      
  7455. -    public int[] getItemIds()
  7456. +    @Override
  7457. +   public int[] getItemIds()
  7458.      {
  7459.         return ExtractableItemsData.getInstance().itemIDs();
  7460.      }
  7461. Index: java/net/sf/l2j/gameserver/idfactory/CompactionIDFactory.java
  7462. ===================================================================
  7463. --- java/net/sf/l2j/gameserver/idfactory/CompactionIDFactory.java   (revisión: 598)
  7464. +++ java/net/sf/l2j/gameserver/idfactory/CompactionIDFactory.java   (copia de trabajo)
  7465. @@ -115,12 +115,14 @@
  7466.          return N - hole;
  7467.      }
  7468.  
  7469. -    public synchronized int getNextId()
  7470. +    @Override
  7471. +   public synchronized int getNextId()
  7472.      {
  7473.          return _curOID++;
  7474.      }
  7475.      
  7476. -    public synchronized void releaseId(@SuppressWarnings("unused") int id)
  7477. +    @Override
  7478. +   public synchronized void releaseId(@SuppressWarnings("unused") int id)
  7479.      {
  7480.         //dont release ids until we are sure it isnt messing up
  7481.         /* if (_freeSize >= _freeOIDs.length)
  7482. @@ -132,7 +134,8 @@
  7483.          _freeOIDs[_freeSize++] = id;*/
  7484.      }
  7485.      
  7486. -    public int size()
  7487. +    @Override
  7488. +   public int size()
  7489.      {
  7490.          return _freeSize + LAST_OID - FIRST_OID;
  7491.      }
  7492. Index: java/net/sf/l2j/gameserver/model/actor/instance/L2DoorInstance.java
  7493. ===================================================================
  7494. --- java/net/sf/l2j/gameserver/model/actor/instance/L2DoorInstance.java (revisión: 598)
  7495. +++ java/net/sf/l2j/gameserver/model/actor/instance/L2DoorInstance.java (copia de trabajo)
  7496. @@ -91,20 +91,27 @@
  7497.      public class AIAccessor extends L2Character.AIAccessor
  7498.      {
  7499.          protected AIAccessor() {}
  7500. -        public L2DoorInstance getActor() { return L2DoorInstance.this; }
  7501. -        @SuppressWarnings("unused")
  7502. +        @Override
  7503. +       public L2DoorInstance getActor() { return L2DoorInstance.this; }
  7504. +        @Override
  7505. +       @SuppressWarnings("unused")
  7506.          public void moveTo(int x, int y, int z, int offset) {}
  7507. -        @SuppressWarnings("unused")
  7508. +        @Override
  7509. +       @SuppressWarnings("unused")
  7510.          public void moveTo(int x, int y, int z) {}
  7511. -        @SuppressWarnings("unused")
  7512. +        @Override
  7513. +       @SuppressWarnings("unused")
  7514.          public void stopMove(L2CharPosition pos) {}
  7515. -        @SuppressWarnings("unused")
  7516. +        @Override
  7517. +       @SuppressWarnings("unused")
  7518.          public void doAttack(L2Character target) {}
  7519. -        @SuppressWarnings("unused")
  7520. +        @Override
  7521. +       @SuppressWarnings("unused")
  7522.          public void doCast(L2Skill skill) {}
  7523.      }
  7524.      
  7525. -    public L2CharacterAI getAI()
  7526. +    @Override
  7527. +   public L2CharacterAI getAI()
  7528.      {
  7529.          if (_ai == null)
  7530.          {
  7531. @@ -121,7 +128,8 @@
  7532.  
  7533.      class CloseTask implements Runnable
  7534.      {
  7535. -        public void run()
  7536. +        @Override
  7537. +       public void run()
  7538.          {
  7539.              try
  7540.              {
  7541. @@ -139,7 +147,8 @@
  7542.       */
  7543.      class AutoOpenClose implements Runnable
  7544.      {
  7545. -        public void run()
  7546. +        @Override
  7547. +       public void run()
  7548.          {
  7549.              try
  7550.              {
  7551. @@ -168,7 +177,8 @@
  7552.          _unlockable = unlockable;
  7553.      }
  7554.  
  7555. -    public final DoorKnownList getKnownList()
  7556. +    @Override
  7557. +   public final DoorKnownList getKnownList()
  7558.      {
  7559.          if (super.getKnownList() == null || !(super.getKnownList() instanceof DoorKnownList))
  7560.              setKnownList(new DoorKnownList(this));
  7561. @@ -175,7 +185,8 @@
  7562.          return (DoorKnownList)super.getKnownList();
  7563.      }
  7564.  
  7565. -    public final DoorStat getStat()
  7566. +    @Override
  7567. +   public final DoorStat getStat()
  7568.      {
  7569.          if (super.getStat() == null || !(super.getStat() instanceof DoorStat))
  7570.              setStat(new DoorStat(this));
  7571. @@ -182,7 +193,8 @@
  7572.          return (DoorStat)super.getStat();
  7573.      }
  7574.  
  7575. -    public final DoorStatus getStatus()
  7576. +    @Override
  7577. +   public final DoorStatus getStatus()
  7578.      {
  7579.          if (super.getStatus() == null || !(super.getStatus() instanceof DoorStatus))
  7580.              setStatus(new DoorStatus(this));
  7581. @@ -194,7 +206,8 @@
  7582.          return _unlockable;
  7583.      }
  7584.      
  7585. -    public final int getLevel()
  7586. +    @Override
  7587. +   public final int getLevel()
  7588.      {
  7589.          return 1;
  7590.      }
  7591. @@ -269,7 +282,8 @@
  7592.          return true;
  7593.      }
  7594.      
  7595. -    public boolean isAutoAttackable(L2Character attacker)
  7596. +    @Override
  7597. +   public boolean isAutoAttackable(L2Character attacker)
  7598.      {
  7599.          if (attacker == null || !(attacker instanceof L2PlayableInstance))
  7600.              return false;
  7601. @@ -291,7 +305,8 @@
  7602.          return isAutoAttackable(attacker);
  7603.      }
  7604.      
  7605. -    public void updateAbnormalEffect() {}
  7606. +    @Override
  7607. +   public void updateAbnormalEffect() {}
  7608.      
  7609.      public int getDistanceToWatchObject(L2Object object)
  7610.      {
  7611. @@ -319,27 +334,32 @@
  7612.      /**
  7613.       * Return null.<BR><BR>
  7614.       */
  7615. -    public L2ItemInstance getActiveWeaponInstance()
  7616. +    @Override
  7617. +   public L2ItemInstance getActiveWeaponInstance()
  7618.      {
  7619.          return null;
  7620.      }
  7621.      
  7622. -    public L2Weapon getActiveWeaponItem()
  7623. +    @Override
  7624. +   public L2Weapon getActiveWeaponItem()
  7625.      {
  7626.          return null;
  7627.      }
  7628.  
  7629. -    public L2ItemInstance getSecondaryWeaponInstance()
  7630. +    @Override
  7631. +   public L2ItemInstance getSecondaryWeaponInstance()
  7632.      {
  7633.          return null;
  7634.      }
  7635.  
  7636. -    public L2Weapon getSecondaryWeaponItem()
  7637. +    @Override
  7638. +   public L2Weapon getSecondaryWeaponItem()
  7639.      {
  7640.          return null;
  7641.      }
  7642.  
  7643. -    public void onAction(L2PcInstance player)
  7644. +    @Override
  7645. +   public void onAction(L2PcInstance player)
  7646.      {
  7647.          if (player == null)
  7648.              return;
  7649. @@ -390,7 +410,8 @@
  7650.          player.sendPacket(new ActionFailed());
  7651.      }
  7652.  
  7653. -    public void onActionShift(L2GameClient client)
  7654. +    @Override
  7655. +   public void onActionShift(L2GameClient client)
  7656.      {
  7657.          L2PcInstance player = client.getActiveChar();
  7658.          if (player == null) return;
  7659. @@ -441,7 +462,8 @@
  7660.          player.sendPacket(new ActionFailed());
  7661.      }
  7662.  
  7663. -    public void broadcastStatusUpdate()
  7664. +    @Override
  7665. +   public void broadcastStatusUpdate()
  7666.      {
  7667.          Collection<L2PcInstance> knownPlayers = getKnownList().getKnownPlayers().values();
  7668.          if (knownPlayers == null || knownPlayers.isEmpty())
  7669. @@ -484,7 +506,8 @@
  7670.              startAutoCloseTask();
  7671.      }
  7672.  
  7673. -    public String toString()
  7674. +    @Override
  7675. +   public String toString()
  7676.      {
  7677.          return "door "+_doorId;
  7678.      }
  7679. Index: java/net/sf/l2j/gameserver/handler/usercommandhandlers/PartyInfo.java
  7680. ===================================================================
  7681. --- java/net/sf/l2j/gameserver/handler/usercommandhandlers/PartyInfo.java   (revisión: 598)
  7682. +++ java/net/sf/l2j/gameserver/handler/usercommandhandlers/PartyInfo.java   (copia de trabajo)
  7683. @@ -34,7 +34,8 @@
  7684.      /* (non-Javadoc)
  7685.       * @see net.sf.l2j.gameserver.handler.IUserCommandHandler#useUserCommand(int, net.sf.l2j.gameserver.model.L2PcInstance)
  7686.       */
  7687. -    public boolean useUserCommand(int id, L2PcInstance activeChar)
  7688. +    @Override
  7689. +   public boolean useUserCommand(int id, L2PcInstance activeChar)
  7690.      {
  7691.          if (id != COMMAND_IDS[0])
  7692.              return false;
  7693. @@ -91,7 +92,8 @@
  7694.      /* (non-Javadoc)
  7695.       * @see net.sf.l2j.gameserver.handler.IUserCommandHandler#getUserCommandList()
  7696.       */
  7697. -    public int[] getUserCommandList()
  7698. +    @Override
  7699. +   public int[] getUserCommandList()
  7700.      {
  7701.          return COMMAND_IDS;
  7702.      }
  7703. Index: java/net/sf/l2j/gameserver/handler/voicedcommandhandlers/stats.java
  7704. ===================================================================
  7705. --- java/net/sf/l2j/gameserver/handler/voicedcommandhandlers/stats.java (revisión: 598)
  7706. +++ java/net/sf/l2j/gameserver/handler/voicedcommandhandlers/stats.java (copia de trabajo)
  7707. @@ -35,7 +35,8 @@
  7708.  {
  7709.      private static String[] _voicedCommands = { "stats" };
  7710.  
  7711. -    public boolean useVoicedCommand(String command, L2PcInstance activeChar, String target)
  7712. +    @Override
  7713. +   public boolean useVoicedCommand(String command, L2PcInstance activeChar, String target)
  7714.      {
  7715.          if (command.equalsIgnoreCase("stats"))
  7716.          {
  7717. @@ -62,7 +63,8 @@
  7718.         return true;
  7719.      }
  7720.  
  7721. -    public String[] getVoicedCommandList()
  7722. +    @Override
  7723. +   public String[] getVoicedCommandList()
  7724.      {
  7725.          return _voicedCommands;
  7726.      }
  7727. Index: java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java
  7728. ===================================================================
  7729. --- java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java   (revisión: 598)
  7730. +++ java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java   (copia de trabajo)
  7731. @@ -10609,11 +10609,11 @@
  7732.         if ((boat == null) && (_boat != null))
  7733.         {
  7734.             _boat.removePassenger(this);
  7735. -           setInsideZone(L2PcInstance.ZONE_PEACE, false);
  7736. +           setInsideZone(L2Character.ZONE_PEACE, false);
  7737.         }
  7738.         else if ((_boat == null) && (boat != null))
  7739.         {
  7740. -           setInsideZone(L2PcInstance.ZONE_PEACE, true);
  7741. +           setInsideZone(L2Character.ZONE_PEACE, true);
  7742.         }
  7743.         _boat = boat;
  7744.     }
  7745. Index: java/net/sf/l2j/gameserver/model/actor/stat/BoatStat.java
  7746. ===================================================================
  7747. --- java/net/sf/l2j/gameserver/model/actor/stat/BoatStat.java   (revisión: 598)
  7748. +++ java/net/sf/l2j/gameserver/model/actor/stat/BoatStat.java   (copia de trabajo)
  7749. @@ -36,7 +36,8 @@
  7750.  
  7751.      // =========================================================
  7752.      // Property - Public
  7753. -    public L2BoatInstance getActiveChar()
  7754. +    @Override
  7755. +   public L2BoatInstance getActiveChar()
  7756.      {
  7757.          return (L2BoatInstance)super.getActiveChar();
  7758.      }
  7759. Index: java/net/sf/l2j/gameserver/model/actor/instance/L2ChestInstance.java
  7760. ===================================================================
  7761. --- java/net/sf/l2j/gameserver/model/actor/instance/L2ChestInstance.java    (revisión: 598)
  7762. +++ java/net/sf/l2j/gameserver/model/actor/instance/L2ChestInstance.java    (copia de trabajo)
  7763. @@ -44,7 +44,8 @@
  7764.          _specialDrop = false;
  7765.      }
  7766.  
  7767. -    public void onSpawn()
  7768. +    @Override
  7769. +   public void onSpawn()
  7770.      {
  7771.          super.onSpawn();
  7772.          _isInteracted = false;
  7773. @@ -53,7 +54,8 @@
  7774.          setMustRewardExpSp(true);
  7775.      }
  7776.  
  7777. -    public boolean hasRandomAnimation()
  7778. +    @Override
  7779. +   public boolean hasRandomAnimation()
  7780.      {
  7781.          return false;
  7782.      }
  7783. @@ -82,7 +84,8 @@
  7784.      }
  7785.  
  7786.  
  7787. -    public void doItemDrop(L2NpcTemplate npcTemplate, L2Character lastAttacker)
  7788. +    @Override
  7789. +   public void doItemDrop(L2NpcTemplate npcTemplate, L2Character lastAttacker)
  7790.  
  7791.      {
  7792.  
  7793. @@ -201,7 +204,8 @@
  7794.          return false;
  7795.      }
  7796.  
  7797. -    public boolean isMovementDisabled()
  7798. +    @Override
  7799. +   public boolean isMovementDisabled()
  7800.      {
  7801.          if (super.isMovementDisabled())
  7802.              return true;
  7803. Index: java/net/sf/l2j/gameserver/network/clientpackets/RequestSetAllyCrest.java
  7804. ===================================================================
  7805. --- java/net/sf/l2j/gameserver/network/clientpackets/RequestSetAllyCrest.java   (revisión: 598)
  7806. +++ java/net/sf/l2j/gameserver/network/clientpackets/RequestSetAllyCrest.java   (copia de trabajo)
  7807. @@ -28,6 +28,7 @@
  7808.  import net.sf.l2j.gameserver.cache.CrestCache;
  7809.  import net.sf.l2j.gameserver.datatables.ClanTable;
  7810.  import net.sf.l2j.gameserver.idfactory.BitSetIDFactory;
  7811. +import net.sf.l2j.gameserver.idfactory.IdFactory;
  7812.  import net.sf.l2j.gameserver.model.L2Clan;
  7813.  import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance;
  7814.  
  7815. @@ -88,7 +89,7 @@
  7816.  
  7817.             CrestCache crestCache = CrestCache.getInstance();
  7818.  
  7819. -           int newId = BitSetIDFactory.getInstance().getNextId();
  7820. +           int newId = IdFactory.getInstance().getNextId();
  7821.  
  7822.             if (!crestCache.saveAllyCrest(newId, _data))
  7823.             {
  7824. Index: java/net/sf/l2j/gameserver/skills/conditions/ConditionTargetNone.java
  7825. ===================================================================
  7826. --- java/net/sf/l2j/gameserver/skills/conditions/ConditionTargetNone.java   (revisión: 598)
  7827. +++ java/net/sf/l2j/gameserver/skills/conditions/ConditionTargetNone.java   (copia de trabajo)
  7828. @@ -32,6 +32,7 @@
  7829.     {
  7830.     }
  7831.  
  7832. +   @Override
  7833.     public boolean testImpl(Env env)
  7834.          {
  7835.         return (env.target == null);
  7836. Index: java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminManor.java
  7837. ===================================================================
  7838. --- java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminManor.java (revisión: 598)
  7839. +++ java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminManor.java (copia de trabajo)
  7840. @@ -58,7 +58,8 @@
  7841.  
  7842.      private static final int REQUIRED_LEVEL = Config.GM_MENU; 
  7843.  
  7844. -    public boolean useAdminCommand(String command, L2PcInstance activeChar)
  7845. +    @Override
  7846. +   public boolean useAdminCommand(String command, L2PcInstance activeChar)
  7847.      {
  7848.          if (!Config.ALT_PRIVILEGES_ADMIN)
  7849.          {
  7850. @@ -218,7 +219,8 @@
  7851.          return (level >= REQUIRED_LEVEL);
  7852.      }
  7853.  
  7854. -    public String[] getAdminCommandList()
  7855. +    @Override
  7856. +   public String[] getAdminCommandList()
  7857.      {
  7858.          return _adminCommands;
  7859.      }
  7860. Index: java/net/sf/l2j/gameserver/skills/effects/EffectSeed.java
  7861. ===================================================================
  7862. --- java/net/sf/l2j/gameserver/skills/effects/EffectSeed.java   (revisión: 598)
  7863. +++ java/net/sf/l2j/gameserver/skills/effects/EffectSeed.java   (copia de trabajo)
  7864. @@ -30,12 +30,14 @@
  7865.          super(env, template);
  7866.      }
  7867.  
  7868. -    public EffectType getEffectType()
  7869. +    @Override
  7870. +   public EffectType getEffectType()
  7871.      {
  7872.          return EffectType.SEED;
  7873.      }
  7874.  
  7875. -    public boolean onActionTime()
  7876. +    @Override
  7877. +   public boolean onActionTime()
  7878.      {
  7879.         // just stop this effect
  7880.         return false;
  7881. Index: java/net/sf/l2j/gameserver/model/actor/knownlist/DoorKnownList.java
  7882. ===================================================================
  7883. --- java/net/sf/l2j/gameserver/model/actor/knownlist/DoorKnownList.java (revisión: 598)
  7884. +++ java/net/sf/l2j/gameserver/model/actor/knownlist/DoorKnownList.java (copia de trabajo)
  7885. @@ -43,12 +43,14 @@
  7886.  
  7887.      // =========================================================
  7888.      // Property - Public
  7889. -    public final L2DoorInstance getActiveChar()
  7890. +    @Override
  7891. +   public final L2DoorInstance getActiveChar()
  7892.      {
  7893.          return (L2DoorInstance)super.getActiveChar();
  7894.      }
  7895.  
  7896. -    public int getDistanceToForgetObject(L2Object object)
  7897. +    @Override
  7898. +   public int getDistanceToForgetObject(L2Object object)
  7899.      {
  7900.          if (object instanceof L2SiegeGuardInstance) return 800;
  7901.          if (!(object instanceof L2PcInstance))
  7902. @@ -57,7 +59,8 @@
  7903.          return 4000;
  7904.      }
  7905.  
  7906. -    public int getDistanceToWatchObject(L2Object object)
  7907. +    @Override
  7908. +   public int getDistanceToWatchObject(L2Object object)
  7909.      {
  7910.          if (object instanceof L2SiegeGuardInstance) return 600;
  7911.          if (!(object instanceof L2PcInstance))
  7912. Index: java/net/sf/l2j/gameserver/skills/effects/EffectRoot.java
  7913. ===================================================================
  7914. --- java/net/sf/l2j/gameserver/skills/effects/EffectRoot.java   (revisión: 598)
  7915. +++ java/net/sf/l2j/gameserver/skills/effects/EffectRoot.java   (copia de trabajo)
  7916. @@ -34,6 +34,7 @@
  7917.         super(env, template);
  7918.     }
  7919.  
  7920. +   @Override
  7921.     public EffectType getEffectType()
  7922.     {
  7923.         return EffectType.ROOT;
  7924. @@ -40,16 +41,19 @@
  7925.     }
  7926.    
  7927.     /** Notify started */
  7928. +   @Override
  7929.     public void onStart() {
  7930.         getEffected().startRooted();
  7931.     }
  7932.    
  7933.     /** Notify exited */
  7934. +   @Override
  7935.     public void onExit() {
  7936.         getEffected().stopRooting(this);
  7937.     }
  7938.    
  7939. -    public boolean onActionTime()
  7940. +    @Override
  7941. +   public boolean onActionTime()
  7942.      {
  7943.         // just stop this effect
  7944.         return false;
  7945. Index: java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminAnnouncements.java
  7946. ===================================================================
  7947. --- java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminAnnouncements.java (revisión: 598)
  7948. +++ java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminAnnouncements.java (copia de trabajo)
  7949. @@ -52,7 +52,8 @@
  7950.  
  7951.      private static final int REQUIRED_LEVEL = Config.GM_ANNOUNCE;
  7952.  
  7953. -    public boolean useAdminCommand(String command, L2PcInstance activeChar)
  7954. +    @Override
  7955. +   public boolean useAdminCommand(String command, L2PcInstance activeChar)
  7956.      {
  7957.          if (!Config.ALT_PRIVILEGES_ADMIN)
  7958.          {
  7959. @@ -122,7 +123,8 @@
  7960.          return true;
  7961.      }
  7962.  
  7963. -    public String[] getAdminCommandList()
  7964. +    @Override
  7965. +   public String[] getAdminCommandList()
  7966.      {
  7967.          return _adminCommands;
  7968.      }
  7969. Index: java/net/sf/l2j/gameserver/model/actor/instance/L2CastleTeleporterInstance.java
  7970. ===================================================================
  7971. --- java/net/sf/l2j/gameserver/model/actor/instance/L2CastleTeleporterInstance.java (revisión: 598)
  7972. +++ java/net/sf/l2j/gameserver/model/actor/instance/L2CastleTeleporterInstance.java (copia de trabajo)
  7973. @@ -20,7 +20,6 @@
  7974.  
  7975.  import java.util.StringTokenizer;
  7976.  
  7977. -import net.sf.l2j.Config;
  7978.  import net.sf.l2j.gameserver.ThreadPoolManager;
  7979.  import net.sf.l2j.gameserver.ai.CtrlIntention;
  7980.  import net.sf.l2j.gameserver.datatables.MapRegionTable;
  7981. @@ -49,7 +48,8 @@
  7982.          super(objectId, template);
  7983.      }
  7984.  
  7985. -    public void onBypassFeedback(L2PcInstance player, String command)
  7986. +    @Override
  7987. +   public void onBypassFeedback(L2PcInstance player, String command)
  7988.      {
  7989.  
  7990.          StringTokenizer st = new StringTokenizer(command, " ");
  7991. @@ -90,7 +90,8 @@
  7992.  
  7993.      }
  7994.  
  7995. -    public void showChatWindow(L2PcInstance player)
  7996. +    @Override
  7997. +   public void showChatWindow(L2PcInstance player)
  7998.      {
  7999.          String filename;
  8000.          if (!getTask())
  8001. @@ -122,7 +123,8 @@
  8002.  
  8003.      class oustAllPlayers implements Runnable
  8004.      {
  8005. -        public void run()
  8006. +        @Override
  8007. +       public void run()
  8008.          {
  8009.              try
  8010.              {
  8011. @@ -150,7 +152,8 @@
  8012.       * This is called when a player interacts with this NPC
  8013.       * @param player
  8014.       */
  8015. -    public void onAction(L2PcInstance player)
  8016. +    @Override
  8017. +   public void onAction(L2PcInstance player)
  8018.      {
  8019.          if (!canTarget(player))
  8020.              return;
  8021. Index: java/net/sf/l2j/gameserver/skills/conditions/ConditionUsingSkill.java
  8022. ===================================================================
  8023. --- java/net/sf/l2j/gameserver/skills/conditions/ConditionUsingSkill.java   (revisión: 598)
  8024. +++ java/net/sf/l2j/gameserver/skills/conditions/ConditionUsingSkill.java   (copia de trabajo)
  8025. @@ -35,6 +35,7 @@
  8026.         _skillId = skillId;
  8027.     }
  8028.  
  8029. +   @Override
  8030.     public boolean testImpl(Env env)
  8031.     {
  8032.         if (env.skill == null)
  8033. Index: java/net/sf/l2j/GMAuditFilter.java
  8034. ===================================================================
  8035. --- java/net/sf/l2j/GMAuditFilter.java  (revisión: 598)
  8036. +++ java/net/sf/l2j/GMAuditFilter.java  (copia de trabajo)
  8037. @@ -23,6 +23,7 @@
  8038.  
  8039.  public class GMAuditFilter implements Filter
  8040.  {
  8041. +   @Override
  8042.     public boolean isLoggable(LogRecord record)
  8043.          {
  8044.         return record.getLoggerName().equalsIgnoreCase("gmaudit");
  8045. Index: java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminBBS.java
  8046. ===================================================================
  8047. --- java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminBBS.java   (revisión: 598)
  8048. +++ java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminBBS.java   (copia de trabajo)
  8049. @@ -31,7 +31,8 @@
  8050.      /* (non-Javadoc)
  8051.       * @see net.sf.l2j.gameserver.handler.IAdminCommandHandler#useAdminCommand(java.lang.String, net.sf.l2j.gameserver.model.actor.instance.L2PcInstance)
  8052.       */
  8053. -    public boolean useAdminCommand(String command, L2PcInstance activeChar)
  8054. +    @Override
  8055. +   public boolean useAdminCommand(String command, L2PcInstance activeChar)
  8056.      {
  8057.          if (!Config.ALT_PRIVILEGES_ADMIN)
  8058.          {
  8059. @@ -45,7 +46,8 @@
  8060.      /* (non-Javadoc)
  8061.       * @see net.sf.l2j.gameserver.handler.IAdminCommandHandler#getAdminCommandList()
  8062.       */
  8063. -    public String[] getAdminCommandList()
  8064. +    @Override
  8065. +   public String[] getAdminCommandList()
  8066.      {
  8067.          return _adminCommands;
  8068.      }
  8069. Index: java/net/sf/l2j/util/L2ObjectHashMap.java
  8070. ===================================================================
  8071. --- java/net/sf/l2j/util/L2ObjectHashMap.java   (revisión: 598)
  8072. +++ java/net/sf/l2j/util/L2ObjectHashMap.java   (copia de trabajo)
  8073. @@ -88,6 +88,7 @@
  8074.     /* (non-Javadoc)
  8075.           * @see net.sf.l2j.util.L2ObjectMap#size()
  8076.           */
  8077. +   @Override
  8078.     public int size()
  8079.     {
  8080.         return count;
  8081. @@ -96,6 +97,7 @@
  8082.     /* (non-Javadoc)
  8083.           * @see net.sf.l2j.util.L2ObjectMap#isEmpty()
  8084.           */
  8085. +   @Override
  8086.     public boolean isEmpty()
  8087.     {
  8088.         return count == 0;
  8089. @@ -104,7 +106,8 @@
  8090.     /* (non-Javadoc)
  8091.           * @see net.sf.l2j.util.L2ObjectMap#clear()
  8092.           */
  8093. -        @SuppressWarnings("unchecked")
  8094. +        @Override
  8095. +       @SuppressWarnings("unchecked")
  8096.     public synchronized void clear()
  8097.     {
  8098.         int size = primes[0];
  8099. @@ -136,6 +139,7 @@
  8100.     /* (non-Javadoc)
  8101.           * @see net.sf.l2j.util.L2ObjectMap#put(T)
  8102.           */
  8103. +   @Override
  8104.     public synchronized void put(T obj)
  8105.     {
  8106.         if (count >= table.length/2)
  8107. @@ -196,6 +200,7 @@
  8108.     /* (non-Javadoc)
  8109.           * @see net.sf.l2j.util.L2ObjectMap#remove(T)
  8110.           */
  8111. +   @Override
  8112.     public synchronized void remove(T obj)
  8113.     {
  8114.         int hashcode = obj.getObjectId();
  8115. @@ -231,6 +236,7 @@
  8116.     /* (non-Javadoc)
  8117.           * @see net.sf.l2j.util.L2ObjectMap#get(int)
  8118.           */
  8119. +   @Override
  8120.     public T get(int id)
  8121.     {
  8122.         final int size = table.length;
  8123. @@ -267,6 +273,7 @@
  8124.     /* (non-Javadoc)
  8125.           * @see net.sf.l2j.util.L2ObjectMap#contains(T)
  8126.           */
  8127. +   @Override
  8128.     public boolean contains(T obj)
  8129.     {
  8130.         return get(obj.getObjectId()) != null;
  8131. @@ -320,6 +327,7 @@
  8132.           * @see net.sf.l2j.util.L2ObjectMap#iterator()
  8133.          
  8134.  */
  8135. +   @Override
  8136.     public Iterator<T> iterator()
  8137.     {
  8138.         return new Itr(table);
  8139. @@ -341,10 +349,12 @@
  8140.                     return;
  8141.             }
  8142.         }
  8143. +       @Override
  8144.         public boolean hasNext()
  8145.         {
  8146.             return nextObj != null;
  8147.         }
  8148. +       @Override
  8149.         public T next()
  8150.         {
  8151.             if (nextObj == null)
  8152. @@ -360,6 +370,7 @@
  8153.                 nextObj = null;
  8154.             return lastRet;
  8155.         }
  8156. +       @Override
  8157.         public void remove()
  8158.         {
  8159.             if (lastRet == null)
  8160. Index: java/net/sf/l2j/gameserver/skills/funcs/FuncEnchant.java
  8161. ===================================================================
  8162. --- java/net/sf/l2j/gameserver/skills/funcs/FuncEnchant.java    (revisión: 598)
  8163. +++ java/net/sf/l2j/gameserver/skills/funcs/FuncEnchant.java    (copia de trabajo)
  8164. @@ -31,7 +31,8 @@
  8165.          super(stat, order, owner);
  8166.      }
  8167.  
  8168. -    public void calc(Env env)
  8169. +    @Override
  8170. +   public void calc(Env env)
  8171.      {
  8172.          if (_cond != null && !_cond.test(env))
  8173.              return;
  8174. Index: java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminShop.java
  8175. ===================================================================
  8176. --- java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminShop.java  (revisión: 598)
  8177. +++ java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminShop.java  (copia de trabajo)
  8178. @@ -29,7 +29,6 @@
  8179.  import net.sf.l2j.gameserver.network.serverpackets.ActionFailed;
  8180.  import net.sf.l2j.gameserver.network.serverpackets.BuyList;
  8181.  import net.sf.l2j.gameserver.network.serverpackets.SellList;
  8182. -import net.sf.l2j.gameserver.network.serverpackets.SystemMessage;
  8183.  
  8184.  /**
  8185.   * This class handles following admin commands:
  8186. @@ -51,7 +50,8 @@
  8187.  
  8188.      private static final int REQUIRED_LEVEL = Config.GM_CREATE_ITEM;
  8189.  
  8190. -    public boolean useAdminCommand(String command, L2PcInstance activeChar)
  8191. +    @Override
  8192. +   public boolean useAdminCommand(String command, L2PcInstance activeChar)
  8193.      {
  8194.          if (!Config.ALT_PRIVILEGES_ADMIN)
  8195.          {
  8196. @@ -88,7 +88,8 @@
  8197.          return true;
  8198.      }
  8199.  
  8200. -    public String[] getAdminCommandList()
  8201. +    @Override
  8202. +   public String[] getAdminCommandList()
  8203.      {
  8204.          return _adminCommands;
  8205.      }
  8206. Index: java/net/sf/l2j/gameserver/model/actor/instance/L2RaceManagerInstance.java
  8207. ===================================================================
  8208. --- java/net/sf/l2j/gameserver/model/actor/instance/L2RaceManagerInstance.java  (revisión: 598)
  8209. +++ java/net/sf/l2j/gameserver/model/actor/instance/L2RaceManagerInstance.java  (copia de trabajo)
  8210. @@ -139,7 +139,8 @@
  8211.          managers.add(this);
  8212.      }
  8213.  
  8214. -    public final RaceManagerKnownList getKnownList()
  8215. +    @Override
  8216. +   public final RaceManagerKnownList getKnownList()
  8217.      {
  8218.          if (super.getKnownList() == null || !(super.getKnownList() instanceof RaceManagerKnownList))
  8219.              this.setKnownList(new RaceManagerKnownList(this));
  8220. @@ -155,7 +156,8 @@
  8221.              this.type = pType;
  8222.          }
  8223.  
  8224. -        public void run()
  8225. +        @Override
  8226. +       public void run()
  8227.          {
  8228.              makeAnnouncement(type);
  8229.          }
  8230. @@ -255,7 +257,8 @@
  8231.  
  8232.      }
  8233.  
  8234. -    public void onBypassFeedback(L2PcInstance player, String command)
  8235. +    @Override
  8236. +   public void onBypassFeedback(L2PcInstance player, String command)
  8237.      {
  8238.          if (command.startsWith("BuyTicket") && state != ACCEPTING_BETS)
  8239.          {
  8240. @@ -482,7 +485,8 @@
  8241.  
  8242.      class RunRace implements Runnable
  8243.      {
  8244. -        public void run()
  8245. +        @Override
  8246. +       public void run()
  8247.          {
  8248.              packet = new MonRaceInfo(codes[2][0], codes[2][1], MonsterRace.getInstance().getMonsters(),
  8249.                                       MonsterRace.getInstance().getSpeeds());
  8250. @@ -493,7 +497,8 @@
  8251.  
  8252.      class RunEnd implements Runnable
  8253.      {
  8254. -        public void run()
  8255. +        @Override
  8256. +       public void run()
  8257.          {
  8258.              makeAnnouncement(SystemMessage.MONSRACE_FIRST_PLACE_S1_SECOND_S2);
  8259.              makeAnnouncement(SystemMessage.MONSRACE_RACE_END);
  8260. Index: java/net/sf/l2j/gameserver/Olympiad.java
  8261. ===================================================================
  8262. --- java/net/sf/l2j/gameserver/Olympiad.java    (revisión: 598)
  8263. +++ java/net/sf/l2j/gameserver/Olympiad.java    (copia de trabajo)
  8264. @@ -58,7 +58,6 @@
  8265.  import net.sf.l2j.gameserver.network.serverpackets.InventoryUpdate;
  8266.  import net.sf.l2j.gameserver.network.serverpackets.NpcHtmlMessage;
  8267.  import net.sf.l2j.gameserver.network.serverpackets.SystemMessage;
  8268. -import net.sf.l2j.gameserver.templates.L2NpcTemplate;
  8269.  import net.sf.l2j.gameserver.templates.StatsSet;
  8270.  import net.sf.l2j.util.L2FastList;
  8271.  import net.sf.l2j.util.Rnd;
  8272. @@ -231,7 +230,8 @@
  8273.              _game = null;
  8274.          }
  8275.  
  8276. -        public void run()
  8277. +        @Override
  8278. +       public void run()
  8279.          {
  8280.              _started = true;
  8281.              if (_game != null)
  8282. @@ -575,7 +575,8 @@
  8283.  
  8284.      protected class OlympiadEndTask implements Runnable
  8285.      {
  8286. -        public void run()
  8287. +        @Override
  8288. +       public void run()
  8289.          {
  8290.              SystemMessage sm = new SystemMessage(SystemMessage.OLYMPIAD_PERIOD_S1_HAS_ENDED);
  8291.              sm.addNumber(_currentCycle);
  8292. @@ -615,7 +616,8 @@
  8293.  
  8294.      protected class ValidationEndTask implements Runnable
  8295.      {
  8296. -        public void run()
  8297. +        @Override
  8298. +       public void run()
  8299.          {
  8300.              Announcements.getInstance().announceToAll("Olympiad Validation Period has ended.");
  8301.              _period = 0;
  8302. @@ -830,7 +832,8 @@
  8303.  
  8304.          _scheduledCompStart = ThreadPoolManager.getInstance().scheduleGeneral(new Runnable()
  8305.          {
  8306. -            public void run()
  8307. +            @Override
  8308. +           public void run()
  8309.              {
  8310.                  if (isOlympiadEnd())
  8311.                      return;
  8312. @@ -853,7 +856,8 @@
  8313.                  {
  8314.                      ThreadPoolManager.getInstance().scheduleGeneral(new Runnable()
  8315.                      {
  8316. -                        public void run()
  8317. +                        @Override
  8318. +                       public void run()
  8319.                          {
  8320.                              if (isOlympiadEnd())
  8321.                                  return;
  8322. @@ -866,7 +870,8 @@
  8323.  
  8324.                  _scheduledCompEnd = ThreadPoolManager.getInstance().scheduleGeneral(new Runnable()
  8325.                  {
  8326. -                    public void run()
  8327. +                    @Override
  8328. +                   public void run()
  8329.                      {
  8330.                          if (isOlympiadEnd())
  8331.                              return;
  8332. @@ -998,7 +1003,8 @@
  8333.      {
  8334.         _scheduledWeeklyTask = ThreadPoolManager.getInstance().scheduleGeneralAtFixedRate(new Runnable()
  8335.          {
  8336. -            public void run()
  8337. +            @Override
  8338. +           public void run()
  8339.              {
  8340.                  addWeeklyPoints();
  8341.                  _log.info("Olympiad System: Added weekly points to nobles");
  8342. @@ -1398,7 +1404,8 @@
  8343.              _manager = this;
  8344.         }
  8345.  
  8346. -        public synchronized void run()
  8347. +        @Override
  8348. +       public synchronized void run()
  8349.          {
  8350.  
  8351.              if (isOlympiadEnd())
  8352. Index: java/net/sf/l2j/gameserver/model/actor/instance/L2SummonInstance.java
  8353. ===================================================================
  8354. --- java/net/sf/l2j/gameserver/model/actor/instance/L2SummonInstance.java   (revisión: 598)
  8355. +++ java/net/sf/l2j/gameserver/model/actor/instance/L2SummonInstance.java   (copia de trabajo)
  8356. @@ -97,12 +97,14 @@
  8357.   delay, delay);
  8358.      }
  8359.  
  8360. -    public final int getLevel()
  8361. +    @Override
  8362. +   public final int getLevel()
  8363.      {
  8364.          return (getTemplate() != null ? getTemplate().level : 0);
  8365.      }
  8366.  
  8367. -    public int getSummonType()
  8368. +    @Override
  8369. +   public int getSummonType()
  8370.      {
  8371.          return 1;
  8372.      }
  8373. @@ -172,12 +174,14 @@
  8374.         _timeRemaining -= value;
  8375.      }
  8376.  
  8377. -    public void addExpAndSp(long addToExp, int addToSp)
  8378. +    @Override
  8379. +   public void addExpAndSp(long addToExp, int addToSp)
  8380.      {
  8381.          getOwner().addExpAndSp(addToExp, addToSp);
  8382.      }
  8383.  
  8384. -    public boolean doDie(L2Character killer)
  8385. +    @Override
  8386. +   public boolean doDie(L2Character killer)
  8387.      {
  8388.          if (!super.doDie(killer))
  8389.              return false;
  8390. @@ -206,7 +210,8 @@
  8391.              _summon = newpet;
  8392.          }
  8393.  
  8394. -        public void run()
  8395. +        @Override
  8396. +       public void run()
  8397.          {
  8398.              if (Config.DEBUG)
  8399.                  log.warning("L2SummonInstance: " + _summon.getTemplate().name + " ("
  8400. @@ -258,7 +263,8 @@
  8401.          }
  8402.      }
  8403.  
  8404. -    public void unSummon(L2PcInstance owner)
  8405. +    @Override
  8406. +   public void unSummon(L2PcInstance owner)
  8407.      {
  8408.          if (Config.DEBUG)
  8409.              _log.warning("L2SummonInstance: " + getTemplate().name + " (" + owner.getName() + ") unsummoned.");
  8410. @@ -274,13 +280,15 @@
  8411.  
  8412.      }
  8413.  
  8414. -    public boolean destroyItem(String process, int objectId, int count, L2Object reference,
  8415. +    @Override
  8416. +   public boolean destroyItem(String process, int objectId, int count, L2Object reference,
  8417.   boolean sendMessage)
  8418.      {
  8419.          return getOwner().destroyItem(process, objectId, count, reference, sendMessage);
  8420.      }
  8421.  
  8422. -    public boolean destroyItemByItemId(String process, int itemId, int count, L2Object reference,
  8423. +    @Override
  8424. +   public boolean destroyItemByItemId(String process, int itemId, int count, L2Object reference,
  8425.   boolean sendMessage)
  8426.      {
  8427.          if (Config.DEBUG)
  8428. @@ -290,7 +298,8 @@
  8429.          return getOwner().destroyItemByItemId(process, itemId, count, reference, sendMessage);
  8430.      }
  8431.  
  8432. -    public final void sendDamageMessage(L2Character target, int damage, boolean mcrit, boolean pcrit, boolean miss)
  8433. +    @Override
  8434. +   public final void sendDamageMessage(L2Character target, int damage, boolean mcrit, boolean pcrit, boolean miss)
  8435.      {
  8436.          if (miss)
  8437.          {
  8438. Index: java/net/sf/l2j/gameserver/model/L2Request.java
  8439. ===================================================================
  8440. --- java/net/sf/l2j/gameserver/model/L2Request.java (revisión: 598)
  8441. +++ java/net/sf/l2j/gameserver/model/L2Request.java (copia de trabajo)
  8442. @@ -125,7 +125,8 @@
  8443.          _isAnswerer = isRequestor ? false : true;
  8444.          ThreadPoolManager.getInstance().scheduleGeneral(new Runnable()
  8445.          {
  8446. -            public void run()
  8447. +            @Override
  8448. +           public void run()
  8449.              {
  8450.                  Clear();
  8451.              }
  8452. Index: java/net/sf/l2j/gameserver/handler/itemhandlers/ChestKey.java
  8453. ===================================================================
  8454. --- java/net/sf/l2j/gameserver/handler/itemhandlers/ChestKey.java   (revisión: 598)
  8455. +++ java/net/sf/l2j/gameserver/handler/itemhandlers/ChestKey.java   (copia de trabajo)
  8456. @@ -41,7 +41,8 @@
  8457.          6665, 6666, 6667, 6668, 6669, 6670, 6671, 6672  //deluxe key
  8458.      };
  8459.  
  8460. -    public void useItem(L2PlayableInstance playable, L2ItemInstance item)
  8461. +    @Override
  8462. +   public void useItem(L2PlayableInstance playable, L2ItemInstance item)
  8463.      {
  8464.          if (!(playable instanceof L2PcInstance))
  8465.              return;
  8466. @@ -70,7 +71,8 @@
  8467.          }
  8468.      }
  8469.  
  8470. -    public int[] getItemIds()
  8471. +    @Override
  8472. +   public int[] getItemIds()
  8473.      {
  8474.          return _itemIds;
  8475.      }
  8476. Index: java/net/sf/l2j/gameserver/model/quest/State.java
  8477. ===================================================================
  8478. --- java/net/sf/l2j/gameserver/model/quest/State.java   (revisión: 598)
  8479. +++ java/net/sf/l2j/gameserver/model/quest/State.java   (copia de trabajo)
  8480. @@ -70,7 +70,8 @@
  8481.       * Return name of the quest
  8482.       * @return String
  8483.       */
  8484. -    public String toString()
  8485. +    @Override
  8486. +   public String toString()
  8487.      {
  8488.          return _Name;
  8489.      }
  8490. Index: java/net/sf/l2j/gameserver/ai/L2BoatAI.java
  8491. ===================================================================
  8492. --- java/net/sf/l2j/gameserver/ai/L2BoatAI.java (revisión: 598)
  8493. +++ java/net/sf/l2j/gameserver/ai/L2BoatAI.java (copia de trabajo)
  8494. @@ -23,7 +23,6 @@
  8495.  import net.sf.l2j.gameserver.model.L2Object;
  8496.  import net.sf.l2j.gameserver.model.L2Skill;
  8497.  import net.sf.l2j.gameserver.model.actor.instance.L2BoatInstance;
  8498. -import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance;
  8499.  import net.sf.l2j.gameserver.network.serverpackets.VehicleDeparture;
  8500.  import net.sf.l2j.gameserver.network.serverpackets.VehicleInfo;
  8501.  import net.sf.l2j.gameserver.network.serverpackets.VehicleStarted;
  8502. Index: java/net/sf/l2j/gameserver/model/actor/instance/L2BlacksmithInstance.java
  8503. ===================================================================
  8504. --- java/net/sf/l2j/gameserver/model/actor/instance/L2BlacksmithInstance.java   (revisión: 598)
  8505. +++ java/net/sf/l2j/gameserver/model/actor/instance/L2BlacksmithInstance.java   (copia de trabajo)
  8506. @@ -32,7 +32,8 @@
  8507.          super(objectId, template);
  8508.      }
  8509.  
  8510. -    public void onBypassFeedback(L2PcInstance player, String command)
  8511. +    @Override
  8512. +   public void onBypassFeedback(L2PcInstance player, String command)
  8513.      {
  8514.  
  8515.          if (command.startsWith("multisell"))
  8516. @@ -45,7 +46,8 @@
  8517.          super.onBypassFeedback(player,command);
  8518.      }
  8519.  
  8520. -    public String getHtmlPath(int npcId, int val)
  8521. +    @Override
  8522. +   public String getHtmlPath(int npcId, int val)
  8523.      {
  8524.          String pom = "";
  8525.          if (val == 0)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement