Remove unnecessary keyword

This commit is contained in:
Stephane Nicoll 2015-07-09 14:33:01 +02:00
parent f34508ff8a
commit 97634e85ac
20 changed files with 21 additions and 21 deletions

View File

@ -296,7 +296,7 @@ public class EndpointWebMvcAutoConfiguration implements ApplicationContextAware,
}
protected static enum ManagementServerPort {
protected enum ManagementServerPort {
DISABLE, SAME, DIFFERENT;

View File

@ -184,7 +184,7 @@ public class DataSourceHealthIndicator extends AbstractHealthIndicator implement
}
protected static enum Product {
protected enum Product {
HSQLDB("HSQL Database Engine",
"SELECT COUNT(*) FROM INFORMATION_SCHEMA.SYSTEM_USERS"),

View File

@ -107,7 +107,7 @@ class OnClassCondition extends SpringBootCondition {
}
}
private static enum MatchType {
private enum MatchType {
PRESENT {
@Override

View File

@ -150,7 +150,7 @@ public class SecurityProperties implements SecurityPrerequisite {
public static class Headers {
public static enum HSTS {
public enum HSTS {
NONE, DOMAIN, ALL
}

View File

@ -90,7 +90,7 @@ public class CommandException extends RuntimeException {
/**
* Specific options understood by the {@link CommandRunner}.
*/
public static enum Option {
public enum Option {
/**
* Hide the exception message.

View File

@ -203,7 +203,7 @@ public class CommandRunnerTests {
this.commandRunner.run("help", "missing");
}
private static enum Call {
private enum Call {
SHOW_USAGE, ERROR_MESSAGE, PRINT_STACK_TRACE
}
}

View File

@ -109,7 +109,7 @@ public final class ChangedFile {
/**
* Change types.
*/
public static enum Type {
public enum Type {
/**
* A new file has been added.

View File

@ -107,7 +107,7 @@ class Frame {
return new Frame(Type.forCode(firstByte & 0x0F), payload);
}
public static enum Type {
public enum Type {
/**
* Continuation frame.

View File

@ -47,7 +47,7 @@ public interface FailureHandler {
/**
* Various outcomes for the handler.
*/
public static enum Outcome {
enum Outcome {
/**
* Abort the relaunch.

View File

@ -90,7 +90,7 @@ public class ClassLoaderFile implements Serializable {
/**
* The kinds of class load files.
*/
public static enum Kind {
public enum Kind {
/**
* The file has been added since the original JAR was created.

View File

@ -139,7 +139,7 @@ public class ItemMetadata implements Comparable<ItemMetadata> {
/**
* The item type.
*/
public static enum ItemType {
public enum ItemType {
GROUP, PROPERTY
}

View File

@ -93,7 +93,7 @@ public class InnerClassProperties {
}
public static enum Fourth {
public enum Fourth {
YES, NO
}

View File

@ -41,7 +41,7 @@ import org.springframework.boot.loader.tools.Layouts
*/
public class SpringBootPluginExtension {
static enum LayoutType {
enum LayoutType {
JAR(new Layouts.Jar()),

View File

@ -53,7 +53,7 @@ public interface RandomAccessData {
/**
* Lock modes for accessing the underlying resource.
*/
public static enum ResourceAccess {
enum ResourceAccess {
/**
* Obtain access to the underlying resource once and keep it until the stream is

View File

@ -232,7 +232,7 @@ public class RepackageMojo extends AbstractDependencyFilterMojo {
return null;
}
public static enum LayoutType {
public enum LayoutType {
/**
* Jar Layout

View File

@ -155,7 +155,7 @@ public abstract class AnsiOutput {
* Possible values to pass to {@link AnsiOutput#setEnabled}. Determines when to output
* ANSI escape sequences for coloring application output.
*/
public static enum Enabled {
public enum Enabled {
/**
* Try to detect whether ANSI coloring capabilities are available. The default

View File

@ -70,7 +70,7 @@ public final class RelaxedNames implements Iterable<String> {
}
}
static enum Variation {
enum Variation {
NONE {
@Override
@ -97,7 +97,7 @@ public final class RelaxedNames implements Iterable<String> {
}
static enum Manipulation {
enum Manipulation {
NONE {
@Override

View File

@ -94,7 +94,7 @@ public class TestRestTemplate extends RestTemplate {
/**
* Options used to customize the Apache Http Client if it is used.
*/
public static enum HttpClientOption {
public enum HttpClientOption {
/**
* Enable cookies.

View File

@ -950,7 +950,7 @@ public class RelaxedDataBinderTests {
}
static enum Bingo {
enum Bingo {
THIS, or, THAT, THE_OTHER
}

View File

@ -424,7 +424,7 @@ public class ConfigurationPropertiesBindingPostProcessorTests {
}
static enum FooEnum {
enum FooEnum {
FOO, BAZ, BAR
}