Added missing final modifiers.

This commit is contained in:
MobiusDev
2015-12-26 12:03:36 +00:00
parent cc92e5d062
commit e0d681a17e
974 changed files with 5919 additions and 5917 deletions

View File

@@ -56,7 +56,7 @@ public final class NpcRoutesHolder
{
if (npc.getSpawn() != null)
{
String key = getUniqueKey(npc.getSpawn().getLocation());
final String key = getUniqueKey(npc.getSpawn().getLocation());
return _correspondences.containsKey(key) ? _correspondences.get(key) : "";
}
return "";

View File

@@ -50,7 +50,7 @@ public final class PunishmentHolder
*/
public void stopPunishment(PunishmentTask task)
{
String key = String.valueOf(task.getKey());
final String key = String.valueOf(task.getKey());
if (_holder.containsKey(key))
{
task.stopPunishment();