Added missing final modifiers.
This commit is contained in:
@@ -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 "";
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user