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

View file

@ -29,7 +29,7 @@ public enum AccessRestriction
private final int permissionBit;
private AccessRestriction(int v) {
AccessRestriction( int v ) {
this.permissionBit = v;
}

View file

@ -43,7 +43,7 @@ public enum StorageChannel
public final Class<? extends IAEStack> type;
private StorageChannel( Class<? extends IAEStack> t ) {
StorageChannel( Class<? extends IAEStack> t ) {
this.type = t;
}

View file

@ -101,7 +101,7 @@ public enum CableBusTextures
return this.name;
}
private CableBusTextures(String name) {
CableBusTextures( String name ) {
this.name = name;
}

View file

@ -111,7 +111,7 @@ public enum ExtraBlockTextures
return this.name;
}
private ExtraBlockTextures(String name) {
ExtraBlockTextures( String name ) {
this.name = name;
}

View file

@ -49,7 +49,7 @@ public enum ExtraItemTextures
return this.name;
}
private ExtraItemTextures(String name) {
ExtraItemTextures( String name ) {
this.name = name;
}

View file

@ -61,7 +61,7 @@ public class SlotRestrictedInput extends AppEngSlot
public final int IIcon;
private PlacableItemType(int o) {
PlacableItemType( int o ) {
this.IIcon = o;
}
}

View file

@ -78,13 +78,13 @@ public enum AEFeature
public final boolean isVisible;
public final boolean defaultValue;
private AEFeature(String cat) {
AEFeature( String cat ) {
this.category = cat;
this.isVisible = !this.name().equals( "Core" );
this.defaultValue = true;
}
private AEFeature(String cat, boolean defaultValue) {
AEFeature( String cat, boolean defaultValue ) {
this.category = cat;
this.isVisible = !this.name().equals( "Core" );
this.defaultValue = defaultValue;

View file

@ -50,7 +50,7 @@ public enum TickRates
public int min;
public int max;
private TickRates(int min, int max) {
TickRates( int min, int max ) {
this.min = min;
this.max = max;
}

View file

@ -40,7 +40,7 @@ public enum PartRegistry
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.blk = blk;
this.part = part;

View file

@ -66,7 +66,7 @@ public enum IntegrationType
public final String dspName;
public final String modID;
private IntegrationType(IntegrationSide side, String Name, String modid) {
IntegrationType( IntegrationSide side, String Name, String modid ) {
this.side = side;
this.dspName = Name;
this.modID = modid;

View file

@ -34,7 +34,7 @@ public enum Commands
return this.name();
}
private Commands(int level, ISubCommand w) {
Commands( int level, ISubCommand w ) {
this.level = level;
this.command = w;
}