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

@@ -102,15 +102,15 @@ public class AdminPetition implements IAdminCommandHandler
{
try
{
L2Object targetChar = activeChar.getTarget();
final L2Object targetChar = activeChar.getTarget();
if ((targetChar == null) || !(targetChar instanceof L2PcInstance))
{
activeChar.sendPacket(SystemMessageId.THAT_IS_AN_INCORRECT_TARGET);
return false;
}
L2PcInstance targetPlayer = (L2PcInstance) targetChar;
final L2PcInstance targetPlayer = (L2PcInstance) targetChar;
String val = command.substring(15);
final String val = command.substring(15);
petitionId = PetitionManager.getInstance().submitPetition(targetPlayer, val, 9);
PetitionManager.getInstance().acceptPetition(activeChar, petitionId);