Unnecessary modifier in enums
This commit is contained in:
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 AccessRestriction(int v) {
|
||||
AccessRestriction( int v ) {
|
||||
this.permissionBit = v;
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -101,7 +101,7 @@ public enum CableBusTextures
|
|||
return this.name;
|
||||
}
|
||||
|
||||
private CableBusTextures(String name) {
|
||||
CableBusTextures( String name ) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
|
|
|
@ -111,7 +111,7 @@ public enum ExtraBlockTextures
|
|||
return this.name;
|
||||
}
|
||||
|
||||
private ExtraBlockTextures(String name) {
|
||||
ExtraBlockTextures( String name ) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
|
|
|
@ -49,7 +49,7 @@ public enum ExtraItemTextures
|
|||
return this.name;
|
||||
}
|
||||
|
||||
private ExtraItemTextures(String name) {
|
||||
ExtraItemTextures( String name ) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
|
|
|
@ -61,7 +61,7 @@ public class SlotRestrictedInput extends AppEngSlot
|
|||
|
||||
public final int IIcon;
|
||||
|
||||
private PlacableItemType(int o) {
|
||||
PlacableItemType( int o ) {
|
||||
this.IIcon = o;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue