Merge pull request #178 from thatsIch/Redundant

Removed redundant array creations just to match varargs operations
This commit is contained in:
Chris
2014-09-29 14:06:27 -07:00
23 changed files with 45 additions and 40 deletions
+1 -1
View File
@@ -280,7 +280,7 @@ public class AEConfig extends Configuration implements IConfigurableObject, ICon
ModContainer imb = cpw.mods.fml.common.Loader.instance().getIndexedModList().get( "ImmibisCore" );
if ( imb != null )
{
List<String> version = Arrays.asList( new String[] { "59.0.0", "59.0.1", "59.0.2" } );
List<String> version = Arrays.asList( "59.0.0", "59.0.1", "59.0.2" );
if ( version.contains( imb.getVersion() ) )
featureFlags.remove( AEFeature.AlphaPass );
}
+1 -1
View File
@@ -297,7 +297,7 @@ public class WorldSettings extends Configuration
{
try
{
manager.scheduleOutboundPacket( (new PacketNewStorageDimension( newDim )).getProxy(), new GenericFutureListener[0] );
manager.scheduleOutboundPacket( (new PacketNewStorageDimension( newDim )).getProxy() );
}
catch (IOException e)
{
+1 -1
View File
@@ -22,7 +22,7 @@ public enum Stats
{
if ( stat == null )
{
stat = new StatBasic( "stat.ae2." + name(), new ChatComponentTranslation( "stat.ae2." + name(), new Object[0] ) );
stat = new StatBasic( "stat.ae2." + name(), new ChatComponentTranslation( "stat.ae2." + name() ) );
stat.registerStat();
}