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
@@ -356,7 +356,7 @@ public final class Change {
|
||||
private final boolean closed;
|
||||
private final ChangeStatus changeStatus;
|
||||
|
||||
private Status(char c, ChangeStatus cs) {
|
||||
Status(char c, ChangeStatus cs) {
|
||||
code = c;
|
||||
closed = !(MIN_OPEN <= c && c <= MAX_OPEN);
|
||||
changeStatus = cs;
|
||||
|
||||
@@ -89,7 +89,7 @@ public final class Patch {
|
||||
|
||||
private final char code;
|
||||
|
||||
private ChangeType(final char c) {
|
||||
ChangeType(final char c) {
|
||||
code = c;
|
||||
}
|
||||
|
||||
@@ -148,7 +148,7 @@ public final class Patch {
|
||||
|
||||
private final char code;
|
||||
|
||||
private PatchType(final char c) {
|
||||
PatchType(final char c) {
|
||||
code = c;
|
||||
}
|
||||
|
||||
|
||||
@@ -67,7 +67,7 @@ public final class PatchLineComment {
|
||||
|
||||
private final char code;
|
||||
|
||||
private Status(final char c) {
|
||||
Status(final char c) {
|
||||
code = c;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user