Replace with array initializer
this can be done through http://docs.oracle.com/javase/specs/jls/se6/html/arrays.html#10.6
This commit is contained in:
@@ -31,7 +31,7 @@ public class InvLayerData
|
||||
{
|
||||
|
||||
// a simple empty array for empty stuff..
|
||||
private static final int[] NULL_SIDES = new int[] {};
|
||||
private static final int[] NULL_SIDES = {};
|
||||
|
||||
// cache of inventory state.
|
||||
private final int[][] sides;
|
||||
|
||||
Reference in New Issue
Block a user