Java 7 and make intellij happy

This commit is contained in:
Trent Hensler
2017-12-19 02:18:13 -08:00
parent ce132ed033
commit 3b644cd6c3
53 changed files with 222 additions and 285 deletions

View File

@@ -11,7 +11,7 @@ public enum ChatMode {
public final int value;
public final TL nicename;
private ChatMode(final int value, final TL nicename) {
ChatMode(final int value, final TL nicename) {
this.value = value;
this.nicename = nicename;
}

View File

@@ -15,7 +15,7 @@ public enum Relation {
public final int value;
public final String nicename;
private Relation(final int value, final String nicename) {
Relation(final int value, final String nicename) {
this.value = value;
this.nicename = nicename;
}

View File

@@ -12,7 +12,7 @@ public enum Role {
public final String nicename;
public final TL translation;
private Role(final int value, final TL translation) {
Role(final int value, final TL translation) {
this.value = value;
this.nicename = translation.toString();
this.translation = translation;