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:
@@ -70,7 +70,7 @@ import appeng.util.Platform;
|
||||
public class PartCable extends AEBasePart implements IPartCable
|
||||
{
|
||||
|
||||
final int[] channelsOnSide = new int[] { 0, 0, 0, 0, 0, 0 };
|
||||
final int[] channelsOnSide = { 0, 0, 0, 0, 0, 0 };
|
||||
|
||||
EnumSet<AEPartLocation> connections = EnumSet.noneOf( AEPartLocation.class );
|
||||
boolean powered = false;
|
||||
|
||||
Reference in New Issue
Block a user