Unnecessary enum modifiers
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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." );
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user