Unnecessary enum modifiers

This commit is contained in:
thatsIch
2015-03-26 11:21:55 +01:00
parent ec05bd994c
commit d8f452b665
8 changed files with 16 additions and 15 deletions
@@ -31,7 +31,7 @@ public enum FuzzyMode
final public float breakPoint;
final public float percentage;
private FuzzyMode(float p) {
FuzzyMode( float p ) {
this.percentage = p;
this.breakPoint = p / 100.0f;
}
@@ -32,7 +32,7 @@ public enum PowerUnits
RF("gui.appliedenergistics2.units.thermalexpansion"), // ThermalExpansion - Redstone Flux
MK("gui.appliedenergistics2.units.mekanism"); // Mekanism - Joules
private PowerUnits(String un) {
PowerUnits( String un ) {
this.unlocalizedName = un;
}
+1 -1
View File
@@ -62,7 +62,7 @@ public enum Settings
return this.values;
}
private Settings( EnumSet set )
Settings( EnumSet set )
{
if ( set == null || set.isEmpty() )
throw new RuntimeException( "Invalid configuration." );
+1 -1
View File
@@ -46,7 +46,7 @@ public enum Upgrades
public final int myTier;
public final HashMap<ItemStack, Integer> supportedMax = new HashMap<ItemStack, Integer>();
private Upgrades( int tier )
Upgrades( int tier )
{
this.myTier = tier;
}
@@ -33,7 +33,7 @@ public enum CableRenderMode
public final boolean transparentFacades;
public final boolean opaqueFacades;
private CableRenderMode(boolean hideFacades) {
CableRenderMode( boolean hideFacades ) {
this.transparentFacades = hideFacades;
this.opaqueFacades = !hideFacades;
}