Moved array designators to the type.
This commit is contained in:
@@ -235,7 +235,7 @@ public class KetraOrcSupport extends AbstractNpcAI
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
public static void main(String args[])
|
||||
public static void main(String[] args)
|
||||
{
|
||||
new KetraOrcSupport();
|
||||
}
|
||||
|
@@ -235,7 +235,7 @@ public class VarkaSilenosSupport extends AbstractNpcAI
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
public static void main(String args[])
|
||||
public static void main(String[] args)
|
||||
{
|
||||
new VarkaSilenosSupport();
|
||||
}
|
||||
|
@@ -87,7 +87,7 @@ public class Valakas extends AbstractNpcAI
|
||||
};
|
||||
|
||||
// Locations
|
||||
private static final Location TELEPORT_CUBE_LOCATIONS[] =
|
||||
private static final Location[] TELEPORT_CUBE_LOCATIONS =
|
||||
{
|
||||
new Location(214880, -116144, -1644),
|
||||
new Location(213696, -116592, -1644),
|
||||
|
@@ -3110,7 +3110,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])));
|
||||
}
|
||||
|
||||
|
@@ -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,
|
||||
|
@@ -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,
|
||||
|
Reference in New Issue
Block a user