Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
97634e85
Commit
97634e85
authored
Jul 09, 2015
by
Stephane Nicoll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unnecessary keyword
parent
f34508ff
Changes
20
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
21 additions
and
21 deletions
+21
-21
EndpointWebMvcAutoConfiguration.java
...ctuate/autoconfigure/EndpointWebMvcAutoConfiguration.java
+1
-1
DataSourceHealthIndicator.java
...mework/boot/actuate/health/DataSourceHealthIndicator.java
+1
-1
OnClassCondition.java
...mework/boot/autoconfigure/condition/OnClassCondition.java
+1
-1
SecurityProperties.java
...ework/boot/autoconfigure/security/SecurityProperties.java
+1
-1
CommandException.java
...rg/springframework/boot/cli/command/CommandException.java
+1
-1
CommandRunnerTests.java
.../springframework/boot/cli/command/CommandRunnerTests.java
+1
-1
ChangedFile.java
.../springframework/boot/devtools/filewatch/ChangedFile.java
+1
-1
Frame.java
...a/org/springframework/boot/devtools/livereload/Frame.java
+1
-1
FailureHandler.java
...springframework/boot/devtools/restart/FailureHandler.java
+1
-1
ClassLoaderFile.java
...rk/boot/devtools/restart/classloader/ClassLoaderFile.java
+1
-1
ItemMetadata.java
...rk/boot/configurationprocessor/metadata/ItemMetadata.java
+1
-1
InnerClassProperties.java
...ot/configurationsample/specific/InnerClassProperties.java
+1
-1
SpringBootPluginExtension.groovy
...ingframework/boot/gradle/SpringBootPluginExtension.groovy
+1
-1
RandomAccessData.java
...rg/springframework/boot/loader/data/RandomAccessData.java
+1
-1
RepackageMojo.java
...in/java/org/springframework/boot/maven/RepackageMojo.java
+1
-1
AnsiOutput.java
...c/main/java/org/springframework/boot/ansi/AnsiOutput.java
+1
-1
RelaxedNames.java
...main/java/org/springframework/boot/bind/RelaxedNames.java
+2
-2
TestRestTemplate.java
.../java/org/springframework/boot/test/TestRestTemplate.java
+1
-1
RelaxedDataBinderTests.java
...org/springframework/boot/bind/RelaxedDataBinderTests.java
+1
-1
ConfigurationPropertiesBindingPostProcessorTests.java
...ies/ConfigurationPropertiesBindingPostProcessorTests.java
+1
-1
No files found.
spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/EndpointWebMvcAutoConfiguration.java
View file @
97634e85
...
@@ -296,7 +296,7 @@ public class EndpointWebMvcAutoConfiguration implements ApplicationContextAware,
...
@@ -296,7 +296,7 @@ public class EndpointWebMvcAutoConfiguration implements ApplicationContextAware,
}
}
protected
static
enum
ManagementServerPort
{
protected
enum
ManagementServerPort
{
DISABLE
,
SAME
,
DIFFERENT
;
DISABLE
,
SAME
,
DIFFERENT
;
...
...
spring-boot-actuator/src/main/java/org/springframework/boot/actuate/health/DataSourceHealthIndicator.java
View file @
97634e85
...
@@ -184,7 +184,7 @@ public class DataSourceHealthIndicator extends AbstractHealthIndicator implement
...
@@ -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"
),
...
...
spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/OnClassCondition.java
View file @
97634e85
...
@@ -107,7 +107,7 @@ class OnClassCondition extends SpringBootCondition {
...
@@ -107,7 +107,7 @@ class OnClassCondition extends SpringBootCondition {
}
}
}
}
private
static
enum
MatchType
{
private
enum
MatchType
{
PRESENT
{
PRESENT
{
@Override
@Override
...
...
spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/security/SecurityProperties.java
View file @
97634e85
...
@@ -150,7 +150,7 @@ public class SecurityProperties implements SecurityPrerequisite {
...
@@ -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
}
}
...
...
spring-boot-cli/src/main/java/org/springframework/boot/cli/command/CommandException.java
View file @
97634e85
...
@@ -90,7 +90,7 @@ public class CommandException extends RuntimeException {
...
@@ -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.
...
...
spring-boot-cli/src/test/java/org/springframework/boot/cli/command/CommandRunnerTests.java
View file @
97634e85
...
@@ -203,7 +203,7 @@ public class CommandRunnerTests {
...
@@ -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
}
}
}
}
spring-boot-devtools/src/main/java/org/springframework/boot/devtools/filewatch/ChangedFile.java
View file @
97634e85
...
@@ -109,7 +109,7 @@ public final class ChangedFile {
...
@@ -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.
...
...
spring-boot-devtools/src/main/java/org/springframework/boot/devtools/livereload/Frame.java
View file @
97634e85
...
@@ -107,7 +107,7 @@ class Frame {
...
@@ -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.
...
...
spring-boot-devtools/src/main/java/org/springframework/boot/devtools/restart/FailureHandler.java
View file @
97634e85
...
@@ -47,7 +47,7 @@ public interface FailureHandler {
...
@@ -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.
...
...
spring-boot-devtools/src/main/java/org/springframework/boot/devtools/restart/classloader/ClassLoaderFile.java
View file @
97634e85
...
@@ -90,7 +90,7 @@ public class ClassLoaderFile implements Serializable {
...
@@ -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.
...
...
spring-boot-tools/spring-boot-configuration-processor/src/main/java/org/springframework/boot/configurationprocessor/metadata/ItemMetadata.java
View file @
97634e85
...
@@ -139,7 +139,7 @@ public class ItemMetadata implements Comparable<ItemMetadata> {
...
@@ -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
}
}
...
...
spring-boot-tools/spring-boot-configuration-processor/src/test/java/org/springframework/boot/configurationsample/specific/InnerClassProperties.java
View file @
97634e85
...
@@ -93,7 +93,7 @@ public class InnerClassProperties {
...
@@ -93,7 +93,7 @@ public class InnerClassProperties {
}
}
public
static
enum
Fourth
{
public
enum
Fourth
{
YES
,
NO
YES
,
NO
}
}
...
...
spring-boot-tools/spring-boot-gradle-plugin/src/main/groovy/org/springframework/boot/gradle/SpringBootPluginExtension.groovy
View file @
97634e85
...
@@ -41,7 +41,7 @@ import org.springframework.boot.loader.tools.Layouts
...
@@ -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
()),
...
...
spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/data/RandomAccessData.java
View file @
97634e85
...
@@ -53,7 +53,7 @@ public interface RandomAccessData {
...
@@ -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
...
...
spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/RepackageMojo.java
View file @
97634e85
...
@@ -232,7 +232,7 @@ public class RepackageMojo extends AbstractDependencyFilterMojo {
...
@@ -232,7 +232,7 @@ public class RepackageMojo extends AbstractDependencyFilterMojo {
return
null
;
return
null
;
}
}
public
static
enum
LayoutType
{
public
enum
LayoutType
{
/**
/**
* Jar Layout
* Jar Layout
...
...
spring-boot/src/main/java/org/springframework/boot/ansi/AnsiOutput.java
View file @
97634e85
...
@@ -155,7 +155,7 @@ public abstract class AnsiOutput {
...
@@ -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
...
...
spring-boot/src/main/java/org/springframework/boot/bind/RelaxedNames.java
View file @
97634e85
...
@@ -70,7 +70,7 @@ public final class RelaxedNames implements Iterable<String> {
...
@@ -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> {
...
@@ -97,7 +97,7 @@ public final class RelaxedNames implements Iterable<String> {
}
}
static
enum
Manipulation
{
enum
Manipulation
{
NONE
{
NONE
{
@Override
@Override
...
...
spring-boot/src/main/java/org/springframework/boot/test/TestRestTemplate.java
View file @
97634e85
...
@@ -94,7 +94,7 @@ public class TestRestTemplate extends RestTemplate {
...
@@ -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.
...
...
spring-boot/src/test/java/org/springframework/boot/bind/RelaxedDataBinderTests.java
View file @
97634e85
...
@@ -950,7 +950,7 @@ public class RelaxedDataBinderTests {
...
@@ -950,7 +950,7 @@ public class RelaxedDataBinderTests {
}
}
static
enum
Bingo
{
enum
Bingo
{
THIS
,
or
,
THAT
,
THE_OTHER
THIS
,
or
,
THAT
,
THE_OTHER
}
}
...
...
spring-boot/src/test/java/org/springframework/boot/context/properties/ConfigurationPropertiesBindingPostProcessorTests.java
View file @
97634e85
...
@@ -424,7 +424,7 @@ public class ConfigurationPropertiesBindingPostProcessorTests {
...
@@ -424,7 +424,7 @@ public class ConfigurationPropertiesBindingPostProcessorTests {
}
}
static
enum
FooEnum
{
enum
FooEnum
{
FOO
,
BAZ
,
BAR
FOO
,
BAZ
,
BAR
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment