From 4dbd679824b1530fd1aaafcf6ef460f0c3f1eb23 Mon Sep 17 00:00:00 2001
From: MobiusDev <8391001+MobiusDevelopment@users.noreply.github.com>
Date: Fri, 29 Apr 2016 14:52:40 +0000
Subject: [PATCH] Removed some unnecessary final modifiers.
---
.../scripts/handlers/bypasshandlers/NpcViewMod.java | 10 +++++-----
.../gameserver/model/drops/GroupedGeneralDropItem.java | 2 +-
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/trunk/dist/game/data/scripts/handlers/bypasshandlers/NpcViewMod.java b/trunk/dist/game/data/scripts/handlers/bypasshandlers/NpcViewMod.java
index fe7dc63404..179b52db40 100644
--- a/trunk/dist/game/data/scripts/handlers/bypasshandlers/NpcViewMod.java
+++ b/trunk/dist/game/data/scripts/handlers/bypasshandlers/NpcViewMod.java
@@ -77,7 +77,7 @@ public class NpcViewMod implements IBypassHandler
{
target = L2World.getInstance().findObject(Integer.parseInt(st.nextToken()));
}
- catch (final NumberFormatException e)
+ catch (NumberFormatException e)
{
return false;
}
@@ -116,11 +116,11 @@ public class NpcViewMod implements IBypassHandler
}
sendNpcDropList(activeChar, npc, dropListScope, st.hasMoreElements() ? Integer.parseInt(st.nextToken()) : 0);
}
- catch (final NumberFormatException e)
+ catch (NumberFormatException e)
{
return false;
}
- catch (final IllegalArgumentException e)
+ catch (IllegalArgumentException e)
{
_log.warning("Bypass[NpcViewMod] unknown drop list scope: " + dropListScopeString);
return false;
@@ -155,7 +155,7 @@ public class NpcViewMod implements IBypassHandler
{
TimeUnit timeUnit = TimeUnit.MILLISECONDS;
long min = Long.MAX_VALUE;
- for (final TimeUnit tu : TimeUnit.values())
+ for (TimeUnit tu : TimeUnit.values())
{
final long minTimeFromMillis = tu.convert(npcSpawn.getRespawnMinDelay(), TimeUnit.MILLISECONDS);
final long maxTimeFromMillis = tu.convert(npcSpawn.getRespawnMaxDelay(), TimeUnit.MILLISECONDS);
@@ -361,7 +361,7 @@ public class NpcViewMod implements IBypassHandler
sb.append(chanceFormat.format(Math.min(generalGroupedDropItem.getChance(npc, activeChar), 100)));
sb.append("%
");
- for (final GeneralDropItem generalDropItem : generalGroupedDropItem.getItems())
+ for (GeneralDropItem generalDropItem : generalGroupedDropItem.getItems())
{
final L2Item item = ItemTable.getInstance().getTemplate(generalDropItem.getItemId());
sb.append("