Always use {}

This commit is contained in:
yueh
2016-01-01 01:49:05 +01:00
parent ab689f2a48
commit e5d6a40511
2 changed files with 8 additions and 0 deletions
@@ -68,7 +68,9 @@ public enum AEPartLocation
public static AEPartLocation fromOrdinal( final int id )
{
if( id >= 0 && id < SIDE_LOCATIONS.length )
{
return SIDE_LOCATIONS[id];
}
return INTERNAL;
}
@@ -82,7 +84,9 @@ public enum AEPartLocation
public static AEPartLocation fromFacing( final EnumFacing side )
{
if( side == null )
{
return INTERNAL;
}
return values()[side.ordinal()];
}