Moved array designators to the type.

This commit is contained in:
MobiusDevelopment
2021-12-06 02:26:10 +00:00
parent a4a2115b81
commit b5c2af483e
99 changed files with 101 additions and 101 deletions

View File

@@ -182,7 +182,7 @@ public class Lindvior extends AbstractNpcAI
{21170106, 21170107},
{21170108, 21170109}
};
protected final int _chargedValues[] = new int[] {0, 0, 0, 0};
protected final int[] _chargedValues = new int[] {0, 0, 0, 0};
private static final int[] LINDVIOR_SERVITOR = {25895, 25896, 25897, 29242, 29241, 29243};
// @formatter:on
private static final NpcStringId[] GUARD_MSG =

View File

@@ -376,7 +376,7 @@ public class Minigame extends AbstractNpcAI
private boolean _started;
private int _attemptNumber;
private int _currentPot;
private final int _order[];
private final int[] _order;
public MinigameRoom(Npc[] burners, Npc manager)
{

View File

@@ -3181,7 +3181,7 @@ public class Config
COMMUNITY_AVAILABLE_TELEPORTS = new HashMap<>(availableTeleports.length);
for (String s : availableTeleports)
{
final String splitInfo[] = s.split(",");
final String[] splitInfo = s.split(",");
COMMUNITY_AVAILABLE_TELEPORTS.put(splitInfo[0], new Location(Integer.parseInt(splitInfo[1]), Integer.parseInt(splitInfo[2]), Integer.parseInt(splitInfo[3])));
}

View File

@@ -68,7 +68,7 @@ public class ItemCommissionManager
private static final long MIN_REGISTRATION_AND_SALE_FEE = 1000;
private static final double REGISTRATION_FEE_PER_DAY = 0.0001;
private static final double SALE_FEE_PER_DAY = 0.005;
private static final int DURATION[] =
private static final int[] DURATION =
{
1,
3,

View File

@@ -36,7 +36,7 @@ import org.l2jmobius.gameserver.network.serverpackets.SystemMessage;
public class RaceManager extends Npc
{
protected static final int TICKET_PRICES[] =
protected static final int[] TICKET_PRICES =
{
100,
500,