Remove unnecessary keyword
This commit is contained in:
parent
f34508ff8a
commit
97634e85ac
|
@ -296,7 +296,7 @@ public class EndpointWebMvcAutoConfiguration implements ApplicationContextAware,
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
protected static enum ManagementServerPort {
|
protected enum ManagementServerPort {
|
||||||
|
|
||||||
DISABLE, SAME, DIFFERENT;
|
DISABLE, SAME, DIFFERENT;
|
||||||
|
|
||||||
|
|
|
@ -184,7 +184,7 @@ public class DataSourceHealthIndicator extends AbstractHealthIndicator implement
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
protected static enum Product {
|
protected enum Product {
|
||||||
|
|
||||||
HSQLDB("HSQL Database Engine",
|
HSQLDB("HSQL Database Engine",
|
||||||
"SELECT COUNT(*) FROM INFORMATION_SCHEMA.SYSTEM_USERS"),
|
"SELECT COUNT(*) FROM INFORMATION_SCHEMA.SYSTEM_USERS"),
|
||||||
|
|
|
@ -107,7 +107,7 @@ class OnClassCondition extends SpringBootCondition {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private static enum MatchType {
|
private enum MatchType {
|
||||||
|
|
||||||
PRESENT {
|
PRESENT {
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -150,7 +150,7 @@ public class SecurityProperties implements SecurityPrerequisite {
|
||||||
|
|
||||||
public static class Headers {
|
public static class Headers {
|
||||||
|
|
||||||
public static enum HSTS {
|
public enum HSTS {
|
||||||
NONE, DOMAIN, ALL
|
NONE, DOMAIN, ALL
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -90,7 +90,7 @@ public class CommandException extends RuntimeException {
|
||||||
/**
|
/**
|
||||||
* Specific options understood by the {@link CommandRunner}.
|
* Specific options understood by the {@link CommandRunner}.
|
||||||
*/
|
*/
|
||||||
public static enum Option {
|
public enum Option {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Hide the exception message.
|
* Hide the exception message.
|
||||||
|
|
|
@ -203,7 +203,7 @@ public class CommandRunnerTests {
|
||||||
this.commandRunner.run("help", "missing");
|
this.commandRunner.run("help", "missing");
|
||||||
}
|
}
|
||||||
|
|
||||||
private static enum Call {
|
private enum Call {
|
||||||
SHOW_USAGE, ERROR_MESSAGE, PRINT_STACK_TRACE
|
SHOW_USAGE, ERROR_MESSAGE, PRINT_STACK_TRACE
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -109,7 +109,7 @@ public final class ChangedFile {
|
||||||
/**
|
/**
|
||||||
* Change types.
|
* Change types.
|
||||||
*/
|
*/
|
||||||
public static enum Type {
|
public enum Type {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A new file has been added.
|
* A new file has been added.
|
||||||
|
|
|
@ -107,7 +107,7 @@ class Frame {
|
||||||
return new Frame(Type.forCode(firstByte & 0x0F), payload);
|
return new Frame(Type.forCode(firstByte & 0x0F), payload);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static enum Type {
|
public enum Type {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Continuation frame.
|
* Continuation frame.
|
||||||
|
|
|
@ -47,7 +47,7 @@ public interface FailureHandler {
|
||||||
/**
|
/**
|
||||||
* Various outcomes for the handler.
|
* Various outcomes for the handler.
|
||||||
*/
|
*/
|
||||||
public static enum Outcome {
|
enum Outcome {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Abort the relaunch.
|
* Abort the relaunch.
|
||||||
|
|
|
@ -90,7 +90,7 @@ public class ClassLoaderFile implements Serializable {
|
||||||
/**
|
/**
|
||||||
* The kinds of class load files.
|
* The kinds of class load files.
|
||||||
*/
|
*/
|
||||||
public static enum Kind {
|
public enum Kind {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The file has been added since the original JAR was created.
|
* The file has been added since the original JAR was created.
|
||||||
|
|
|
@ -139,7 +139,7 @@ public class ItemMetadata implements Comparable<ItemMetadata> {
|
||||||
/**
|
/**
|
||||||
* The item type.
|
* The item type.
|
||||||
*/
|
*/
|
||||||
public static enum ItemType {
|
public enum ItemType {
|
||||||
GROUP, PROPERTY
|
GROUP, PROPERTY
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -93,7 +93,7 @@ public class InnerClassProperties {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public static enum Fourth {
|
public enum Fourth {
|
||||||
YES, NO
|
YES, NO
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -41,7 +41,7 @@ import org.springframework.boot.loader.tools.Layouts
|
||||||
*/
|
*/
|
||||||
public class SpringBootPluginExtension {
|
public class SpringBootPluginExtension {
|
||||||
|
|
||||||
static enum LayoutType {
|
enum LayoutType {
|
||||||
|
|
||||||
JAR(new Layouts.Jar()),
|
JAR(new Layouts.Jar()),
|
||||||
|
|
||||||
|
|
|
@ -53,7 +53,7 @@ public interface RandomAccessData {
|
||||||
/**
|
/**
|
||||||
* Lock modes for accessing the underlying resource.
|
* 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
|
* Obtain access to the underlying resource once and keep it until the stream is
|
||||||
|
|
|
@ -232,7 +232,7 @@ public class RepackageMojo extends AbstractDependencyFilterMojo {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static enum LayoutType {
|
public enum LayoutType {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Jar Layout
|
* Jar Layout
|
||||||
|
|
|
@ -155,7 +155,7 @@ public abstract class AnsiOutput {
|
||||||
* Possible values to pass to {@link AnsiOutput#setEnabled}. Determines when to output
|
* Possible values to pass to {@link AnsiOutput#setEnabled}. Determines when to output
|
||||||
* ANSI escape sequences for coloring application 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
|
* Try to detect whether ANSI coloring capabilities are available. The default
|
||||||
|
|
|
@ -70,7 +70,7 @@ public final class RelaxedNames implements Iterable<String> {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static enum Variation {
|
enum Variation {
|
||||||
|
|
||||||
NONE {
|
NONE {
|
||||||
@Override
|
@Override
|
||||||
|
@ -97,7 +97,7 @@ public final class RelaxedNames implements Iterable<String> {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static enum Manipulation {
|
enum Manipulation {
|
||||||
|
|
||||||
NONE {
|
NONE {
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -94,7 +94,7 @@ public class TestRestTemplate extends RestTemplate {
|
||||||
/**
|
/**
|
||||||
* Options used to customize the Apache Http Client if it is used.
|
* Options used to customize the Apache Http Client if it is used.
|
||||||
*/
|
*/
|
||||||
public static enum HttpClientOption {
|
public enum HttpClientOption {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Enable cookies.
|
* Enable cookies.
|
||||||
|
|
|
@ -950,7 +950,7 @@ public class RelaxedDataBinderTests {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static enum Bingo {
|
enum Bingo {
|
||||||
THIS, or, THAT, THE_OTHER
|
THIS, or, THAT, THE_OTHER
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -424,7 +424,7 @@ public class ConfigurationPropertiesBindingPostProcessorTests {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static enum FooEnum {
|
enum FooEnum {
|
||||||
FOO, BAZ, BAR
|
FOO, BAZ, BAR
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue