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:
thatsIch
2015-09-25 23:04:36 +02:00
parent 7a220e253d
commit 4b3d7c7d03
26 changed files with 47 additions and 47 deletions
+1 -1
View File
@@ -91,7 +91,7 @@ public class CableBusPart extends JCuboidPart implements JNormalOcclusion, IMask
private static final double LONGER = 10.0 / 16.0;
private static final double MIN_DIRECTION = 0;
private static final double MAX_DIRECTION = 1.0;
private static final Cuboid6[] SIDE_TESTS = new Cuboid6[] {
private static final Cuboid6[] SIDE_TESTS = {
// DOWN(0, -1, 0),
new Cuboid6( SHORTER, MIN_DIRECTION, SHORTER, LONGER, SHORTER, LONGER ),