Remove redundant 'static' modifiers
enums, interfaces, and field members in interfaces are by default static, so don't need to be explicitly declared so. Change-Id: I29270c28be30965767519ad0105a7d93a24e0ab4
This commit is contained in:
@@ -59,7 +59,7 @@ import java.sql.Timestamp;
|
||||
* </ul>
|
||||
*/
|
||||
public final class Account {
|
||||
public static enum FieldName {
|
||||
public enum FieldName {
|
||||
FULL_NAME, USER_NAME, REGISTER_NEW_EMAIL
|
||||
}
|
||||
|
||||
|
||||
@@ -281,7 +281,7 @@ public final class Change {
|
||||
* codes ('A'..'Z') indicate a change that is closed and cannot be further
|
||||
* modified.
|
||||
* */
|
||||
public static enum Status {
|
||||
public enum Status {
|
||||
/**
|
||||
* Change is open and pending review, or review is in progress.
|
||||
*
|
||||
|
||||
@@ -68,7 +68,7 @@ public final class Patch {
|
||||
}
|
||||
|
||||
/** Type of modification made to the file path. */
|
||||
public static enum ChangeType implements CodedEnum {
|
||||
public enum ChangeType implements CodedEnum {
|
||||
/** Path is being created/introduced by this patch. */
|
||||
ADDED('A'),
|
||||
|
||||
@@ -113,7 +113,7 @@ public final class Patch {
|
||||
}
|
||||
|
||||
/** Type of formatting for this patch. */
|
||||
public static enum PatchType implements CodedEnum {
|
||||
public enum PatchType implements CodedEnum {
|
||||
/**
|
||||
* A textual difference between two versions.
|
||||
*
|
||||
|
||||
@@ -60,7 +60,7 @@ public final class PatchLineComment {
|
||||
public static final char STATUS_DRAFT = 'd';
|
||||
public static final char STATUS_PUBLISHED = 'P';
|
||||
|
||||
public static enum Status {
|
||||
public enum Status {
|
||||
DRAFT(STATUS_DRAFT),
|
||||
|
||||
PUBLISHED(STATUS_PUBLISHED);
|
||||
|
||||
Reference in New Issue
Block a user