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

@ -3293,7 +3293,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,