Unnecessary modifier in enums

This commit is contained in:
thatsIch
2015-03-26 11:03:15 +01:00
parent 3143c871d0
commit 6aeca93b85
11 changed files with 12 additions and 12 deletions
@@ -29,7 +29,7 @@ public enum AccessRestriction
private final int permissionBit; private final int permissionBit;
private AccessRestriction(int v) { AccessRestriction( int v ) {
this.permissionBit = v; this.permissionBit = v;
} }
@@ -43,7 +43,7 @@ public enum StorageChannel
public final Class<? extends IAEStack> type; public final Class<? extends IAEStack> type;
private StorageChannel( Class<? extends IAEStack> t ) { StorageChannel( Class<? extends IAEStack> t ) {
this.type = t; this.type = t;
} }
@@ -101,7 +101,7 @@ public enum CableBusTextures
return this.name; return this.name;
} }
private CableBusTextures(String name) { CableBusTextures( String name ) {
this.name = name; this.name = name;
} }
@@ -111,7 +111,7 @@ public enum ExtraBlockTextures
return this.name; return this.name;
} }
private ExtraBlockTextures(String name) { ExtraBlockTextures( String name ) {
this.name = name; this.name = name;
} }
@@ -49,7 +49,7 @@ public enum ExtraItemTextures
return this.name; return this.name;
} }
private ExtraItemTextures(String name) { ExtraItemTextures( String name ) {
this.name = name; this.name = name;
} }
@@ -61,7 +61,7 @@ public class SlotRestrictedInput extends AppEngSlot
public final int IIcon; public final int IIcon;
private PlacableItemType(int o) { PlacableItemType( int o ) {
this.IIcon = o; this.IIcon = o;
} }
} }
@@ -78,13 +78,13 @@ public enum AEFeature
public final boolean isVisible; public final boolean isVisible;
public final boolean defaultValue; public final boolean defaultValue;
private AEFeature(String cat) { AEFeature( String cat ) {
this.category = cat; this.category = cat;
this.isVisible = !this.name().equals( "Core" ); this.isVisible = !this.name().equals( "Core" );
this.defaultValue = true; this.defaultValue = true;
} }
private AEFeature(String cat, boolean defaultValue) { AEFeature( String cat, boolean defaultValue ) {
this.category = cat; this.category = cat;
this.isVisible = !this.name().equals( "Core" ); this.isVisible = !this.name().equals( "Core" );
this.defaultValue = defaultValue; this.defaultValue = defaultValue;
@@ -50,7 +50,7 @@ public enum TickRates
public int min; public int min;
public int max; public int max;
private TickRates(int min, int max) { TickRates( int min, int max ) {
this.min = min; this.min = min;
this.max = max; this.max = max;
} }
+1 -1
View File
@@ -40,7 +40,7 @@ public enum PartRegistry
return this.name; return this.name;
} }
private PartRegistry(String name, Class<? extends AEBaseBlock> blk, Class<? extends TMultiPart> part) { PartRegistry( String name, Class<? extends AEBaseBlock> blk, Class<? extends TMultiPart> part ) {
this.name = name; this.name = name;
this.blk = blk; this.blk = blk;
this.part = part; this.part = part;
@@ -66,7 +66,7 @@ public enum IntegrationType
public final String dspName; public final String dspName;
public final String modID; public final String modID;
private IntegrationType(IntegrationSide side, String Name, String modid) { IntegrationType( IntegrationSide side, String Name, String modid ) {
this.side = side; this.side = side;
this.dspName = Name; this.dspName = Name;
this.modID = modid; this.modID = modid;
+1 -1
View File
@@ -34,7 +34,7 @@ public enum Commands
return this.name(); return this.name();
} }
private Commands(int level, ISubCommand w) { Commands( int level, ISubCommand w ) {
this.level = level; this.level = level;
this.command = w; this.command = w;
} }