Remove unnecessary semicolons in enum declarations

Change-Id: I8006f8f541455947e9ca29e06829a3d0b3176715
This commit is contained in:
Urs Wolfer
2015-05-17 13:48:49 +02:00
parent 7d7b153b1d
commit f646c1ec6d
9 changed files with 10 additions and 10 deletions

View File

@@ -71,7 +71,7 @@ public class ReviewInput {
KEEP, KEEP,
/** Publish pending drafts on all revisions. */ /** Publish pending drafts on all revisions. */
PUBLISH_ALL_REVISIONS; PUBLISH_ALL_REVISIONS
} }
public static enum NotifyHandling { public static enum NotifyHandling {

View File

@@ -62,7 +62,7 @@ public interface Projects {
public abstract class ListRequest { public abstract class ListRequest {
public static enum FilterType { public static enum FilterType {
CODE, PARENT_CANDIDATES, PERMISSIONS, ALL; CODE, PARENT_CANDIDATES, PERMISSIONS, ALL
} }
private final List<String> branches = new ArrayList<>(); private final List<String> branches = new ArrayList<>();

View File

@@ -32,5 +32,5 @@ public enum ChangeType {
COPIED, COPIED,
/** Sufficient amount of content changed to claim the file was rewritten. */ /** Sufficient amount of content changed to claim the file was rewritten. */
REWRITE; REWRITE
} }

View File

@@ -16,7 +16,7 @@ package com.google.gerrit.extensions.common;
public class ProblemInfo { public class ProblemInfo {
public static enum Status { public static enum Status {
FIXED, FIX_FAILED; FIXED, FIX_FAILED
} }
public String message; public String message;

View File

@@ -67,7 +67,7 @@ public class Header extends Composite {
} }
private static enum ReviewedState { private static enum ReviewedState {
AUTO_REVIEW, LOADED; AUTO_REVIEW, LOADED
} }
@UiField CheckBox reviewed; @UiField CheckBox reviewed;

View File

@@ -39,7 +39,7 @@ public abstract class AccountDirectory {
USERNAME, USERNAME,
/** Numeric account ID, may be deprecated. */ /** Numeric account ID, may be deprecated. */
ID; ID
} }
public abstract void fillAccountInfo( public abstract void fillAccountInfo(

View File

@@ -26,5 +26,5 @@ public enum ChangeKind {
NO_CODE_CHANGE, NO_CODE_CHANGE,
/** Same tree, parent tree, same commit message. */ /** Same tree, parent tree, same commit message. */
NO_CHANGE; NO_CHANGE
} }

View File

@@ -41,7 +41,7 @@ public class ListCaches implements RestReadView<ConfigResource> {
private final DynamicMap<Cache<?, ?>> cacheMap; private final DynamicMap<Cache<?, ?>> cacheMap;
public static enum OutputFormat { public static enum OutputFormat {
LIST, TEXT_LIST; LIST, TEXT_LIST
} }
@Option(name = "--format", usage = "output format") @Option(name = "--format", usage = "output format")
@@ -85,7 +85,7 @@ public class ListCaches implements RestReadView<ConfigResource> {
} }
public enum CacheType { public enum CacheType {
MEM, DISK; MEM, DISK
} }
public static class CacheInfo { public static class CacheInfo {

View File

@@ -52,7 +52,7 @@ public class PostCaches implements RestModifyView<ConfigResource, Input> {
} }
public static enum Operation { public static enum Operation {
FLUSH_ALL, FLUSH; FLUSH_ALL, FLUSH
} }
private final DynamicMap<Cache<?, ?>> cacheMap; private final DynamicMap<Cache<?, ?>> cacheMap;