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

@@ -43,8 +43,8 @@ public class AreaFriendly implements ITargetTypeHandler
@Override
public L2Object[] getTargetList(Skill skill, L2Character activeChar, boolean onlyFirst, L2Character target)
{
List<L2Character> targetList = new ArrayList<>();
L2PcInstance player = activeChar.getActingPlayer();
final List<L2Character> targetList = new ArrayList<>();
final L2PcInstance player = activeChar.getActingPlayer();
if ((target == null) || (!checkTarget(player, target) && (skill.getCastRange() >= 0)))
{
@@ -69,7 +69,7 @@ public class AreaFriendly implements ITargetTypeHandler
}
targetList.add(target); // Add target to target list
int maxTargets = skill.getAffectLimit();
final int maxTargets = skill.getAffectLimit();
final Collection<L2Character> objs = target.getKnownList().getKnownCharactersInRadius(skill.getAffectRange());
// TODO: Chain Heal - The recovery amount decreases starting from the most injured person.
@@ -111,7 +111,7 @@ public class AreaFriendly implements ITargetTypeHandler
if (target.isPlayable())
{
L2PcInstance targetPlayer = target.getActingPlayer();
final L2PcInstance targetPlayer = target.getActingPlayer();
if (activeChar == targetPlayer)
{