Remove unnecessary access modifiers on enum constructors.

This commit is contained in:
Andreas Troelsen 2017-03-13 21:25:53 +01:00
parent 0eeed4ff01
commit 92e36da1f5
8 changed files with 8 additions and 8 deletions

View File

@ -315,7 +315,7 @@ public class ArenaClass
private int[] types;
private ArmorType(int... types) {
ArmorType(int... types) {
this.types = types;
}

View File

@ -85,7 +85,7 @@ public enum Msg {
private String value;
private Msg(String value) {
Msg(String value) {
set(value);
}

View File

@ -13,7 +13,7 @@ public enum Stats
private String name, shortName;
private Stats(String name, String shortName) {
Stats(String name, String shortName) {
this.name = name;
this.shortName = shortName;
}

View File

@ -17,7 +17,7 @@ public enum Time
private int time;
private Time(int time) {
Time(int time) {
this.time = time;
}

View File

@ -7,7 +7,7 @@ public enum BossHealth
VERYLOW(4), LOW(8), MEDIUM(15), HIGH(25), VERYHIGH(40), PSYCHO(60);
private int multiplier;
private BossHealth(int multiplier) {
BossHealth(int multiplier) {
this.multiplier = multiplier;
}

View File

@ -7,7 +7,7 @@ public enum SwarmAmount
LOW(10), MEDIUM(20), HIGH(30), PSYCHO(60);
private int multiplier;
private SwarmAmount(int multiplier) {
SwarmAmount(int multiplier) {
this.multiplier = multiplier;
}

View File

@ -22,7 +22,7 @@ public enum WaveError
private String msg;
private WaveError(String msg) {
WaveError(String msg) {
this.msg = msg;
}

View File

@ -7,7 +7,7 @@ public enum WaveGrowth
OLD(0), SLOW(0.5), MEDIUM(0.65), FAST(0.8), PSYCHO(1.2);
private double exp;
private WaveGrowth(double exp) {
WaveGrowth(double exp) {
this.exp = exp;
}