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:
David Pursehouse
2016-04-11 20:27:10 +09:00
committed by Michael Zhou
parent ad0e4bfe7d
commit f9a0cab3ba
11 changed files with 12 additions and 12 deletions

View File

@@ -31,7 +31,7 @@ public enum ArchiveFormat {
private final ArchiveCommand.Format<?> format;
private final String mimeType;
private ArchiveFormat(String mimeType, ArchiveCommand.Format<?> format) {
ArchiveFormat(String mimeType, ArchiveCommand.Format<?> format) {
this.format = format;
this.mimeType = mimeType;
ArchiveCommand.registerFormat(name(), format);

View File

@@ -403,7 +403,7 @@ public class GetDiff implements RestReadView<FileResource> {
private final DiffPreferencesInfo.Whitespace whitespace;
private IgnoreWhitespace(DiffPreferencesInfo.Whitespace whitespace) {
IgnoreWhitespace(DiffPreferencesInfo.Whitespace whitespace) {
this.whitespace = whitespace;
}
}

View File

@@ -59,7 +59,7 @@ public enum CommitMergeStatus {
private String message;
private CommitMergeStatus(String message) {
CommitMergeStatus(String message) {
this.message = message;
}

View File

@@ -49,7 +49,7 @@ public enum ReviewerStateInternal {
private final FooterKey footerKey;
private final ReviewerState state;
private ReviewerStateInternal(FooterKey footerKey, ReviewerState state) {
ReviewerStateInternal(FooterKey footerKey, ReviewerState state) {
this.footerKey = footerKey;
this.state = state;
}