Browse Source

Because "final static" is just backwards.

GJ 13 years ago
parent
commit
1ba498c443

+ 5 - 5
src/main/java/com/gmail/nossr50/api/SpoutToolsAPI.java

@@ -11,11 +11,11 @@ public final class SpoutToolsAPI {
 
     private SpoutToolsAPI() {}
 
-    public final static List<ItemStack> spoutSwords = new ArrayList<ItemStack>();
-    public final static List<ItemStack> spoutAxes = new ArrayList<ItemStack>();
-    public final static List<ItemStack> spoutPickaxes = new ArrayList<ItemStack>();
-    public final static List<ItemStack> spoutHoes = new ArrayList<ItemStack>();
-    public final static List<ItemStack> spoutShovels = new ArrayList<ItemStack>();
+    public static final List<ItemStack> spoutSwords = new ArrayList<ItemStack>();
+    public static final List<ItemStack> spoutAxes = new ArrayList<ItemStack>();
+    public static final List<ItemStack> spoutPickaxes = new ArrayList<ItemStack>();
+    public static final List<ItemStack> spoutHoes = new ArrayList<ItemStack>();
+    public static final List<ItemStack> spoutShovels = new ArrayList<ItemStack>();
 
     /**
      * Add a custom Spout tool to mcMMO for XP gain & ability use.

+ 1 - 1
src/main/java/com/gmail/nossr50/runnables/ChunkletUnloader.java

@@ -12,7 +12,7 @@ import com.gmail.nossr50.mcMMO;
 public class ChunkletUnloader implements Runnable {
     private static Map<Chunk, Integer> unloadedChunks = new HashMap<Chunk, Integer>();
     private static int minimumInactiveTime = 60; //Should be a multiple of RUN_INTERVAL for best performance
-    public final static int RUN_INTERVAL = 20;
+    public static final int RUN_INTERVAL = 20;
 
     public static void addToList(Chunk chunk) {
         //Unfortunately we can't use Map.contains() because Chunks are always new objects