Remove redundant 'private' modifier on constructors
Enum constructors are by default private, so it is not necessary to explicitly declare them as so. Change-Id: I871a84ef4950882a27b1d808e68af588a66fbdea
This commit is contained in:
committed by
Michael Zhou
parent
ad0e4bfe7d
commit
f9a0cab3ba
@@ -19,7 +19,7 @@ public enum GerritTopMenu {
|
||||
|
||||
public final String menuName;
|
||||
|
||||
private GerritTopMenu() {
|
||||
GerritTopMenu() {
|
||||
menuName = name().substring(0, 1) + name().substring(1).toLowerCase();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -70,7 +70,7 @@ public enum ListChangesOption {
|
||||
|
||||
private final int value;
|
||||
|
||||
private ListChangesOption(int v) {
|
||||
ListChangesOption(int v) {
|
||||
this.value = v;
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ public enum ListGroupsOption {
|
||||
|
||||
private final int value;
|
||||
|
||||
private ListGroupsOption(int v) {
|
||||
ListGroupsOption(int v) {
|
||||
this.value = v;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user