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
2d873c78
Commit
2d873c78
authored
Jan 12, 2019
by
igor-suhorukov
Committed by
Stephane Nicoll
Jan 14, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove redundant interface modifiers
See gh-15694
parent
3d02b029
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
22 additions
and
22 deletions
+22
-22
ImportsContextCustomizerFactoryWithAutoConfigurationTests.java
...tsContextCustomizerFactoryWithAutoConfigurationTests.java
+2
-2
FilterAnnotationsTests.java
...oot/test/autoconfigure/filter/FilterAnnotationsTests.java
+1
-1
AnnotationsPropertySourceTests.java
...oconfigure/properties/AnnotationsPropertySourceTests.java
+14
-14
PropertyMappingContextCustomizerFactoryTests.java
...perties/PropertyMappingContextCustomizerFactoryTests.java
+3
-3
ImportsContextCustomizerFactoryTests.java
...ot/test/context/ImportsContextCustomizerFactoryTests.java
+1
-1
BindableTests.java
...framework/boot/context/properties/bind/BindableTests.java
+1
-1
No files found.
spring-boot-project/spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/cache/ImportsContextCustomizerFactoryWithAutoConfigurationTests.java
View file @
2d873c78
...
...
@@ -141,12 +141,12 @@ public class ImportsContextCustomizerFactoryWithAutoConfigurationTests {
}
@Retention
(
RetentionPolicy
.
RUNTIME
)
static
@interface
Unrelated1
{
@interface
Unrelated1
{
}
@Retention
(
RetentionPolicy
.
RUNTIME
)
static
@interface
Unrelated2
{
@interface
Unrelated2
{
}
...
...
spring-boot-project/spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/filter/FilterAnnotationsTests.java
View file @
2d873c78
...
...
@@ -119,7 +119,7 @@ public class FilterAnnotationsTests {
@Target
({
ElementType
.
TYPE
})
@Retention
(
RetentionPolicy
.
RUNTIME
)
@Documented
static
@interface
Filters
{
@interface
Filters
{
Filter
[]
value
();
...
...
spring-boot-project/spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/properties/AnnotationsPropertySourceTests.java
View file @
2d873c78
...
...
@@ -199,7 +199,7 @@ public class AnnotationsPropertySourceTests {
@Retention
(
RetentionPolicy
.
RUNTIME
)
@PropertyMapping
static
@interface
TypeLevelAnnotation
{
@interface
TypeLevelAnnotation
{
String
value
();
...
...
@@ -212,7 +212,7 @@ public class AnnotationsPropertySourceTests {
@Retention
(
RetentionPolicy
.
RUNTIME
)
@PropertyMapping
(
"test"
)
static
@interface
TypeLevelWithPrefixAnnotation
{
@interface
TypeLevelWithPrefixAnnotation
{
String
value
();
...
...
@@ -224,7 +224,7 @@ public class AnnotationsPropertySourceTests {
}
@Retention
(
RetentionPolicy
.
RUNTIME
)
static
@interface
AttributeLevelWithPrefixAnnotation
{
@interface
AttributeLevelWithPrefixAnnotation
{
@PropertyMapping
(
"test"
)
String
value
();
...
...
@@ -238,7 +238,7 @@ public class AnnotationsPropertySourceTests {
@Retention
(
RetentionPolicy
.
RUNTIME
)
@PropertyMapping
(
"test"
)
static
@interface
TypeAndAttributeLevelWithPrefixAnnotation
{
@interface
TypeAndAttributeLevelWithPrefixAnnotation
{
@PropertyMapping
(
"example"
)
String
value
();
...
...
@@ -252,7 +252,7 @@ public class AnnotationsPropertySourceTests {
@Retention
(
RetentionPolicy
.
RUNTIME
)
@PropertyMapping
(
skip
=
SkipPropertyMapping
.
YES
)
static
@interface
NotMappedAtTypeLevelAnnotation
{
@interface
NotMappedAtTypeLevelAnnotation
{
@PropertyMapping
String
value
();
...
...
@@ -268,7 +268,7 @@ public class AnnotationsPropertySourceTests {
@Retention
(
RetentionPolicy
.
RUNTIME
)
@PropertyMapping
static
@interface
NotMappedAtAttributeLevelAnnotation
{
@interface
NotMappedAtAttributeLevelAnnotation
{
String
value
();
...
...
@@ -286,7 +286,7 @@ public class AnnotationsPropertySourceTests {
@Retention
(
RetentionPolicy
.
RUNTIME
)
@PropertyMapping
static
@interface
ArraysAnnotation
{
@interface
ArraysAnnotation
{
String
[]
strings
();
...
...
@@ -311,7 +311,7 @@ public class AnnotationsPropertySourceTests {
@Retention
(
RetentionPolicy
.
RUNTIME
)
@PropertyMapping
static
@interface
CamelCaseToKebabCaseAnnotation
{
@interface
CamelCaseToKebabCaseAnnotation
{
String
camelCaseToKebabCase
()
default
"abc"
;
...
...
@@ -324,7 +324,7 @@ public class AnnotationsPropertySourceTests {
@Retention
(
RetentionPolicy
.
RUNTIME
)
@TypeLevelAnnotation
(
"foo"
)
static
@interface
PropertiesFromSingleMetaAnnotationAnnotation
{
@interface
PropertiesFromSingleMetaAnnotationAnnotation
{
}
...
...
@@ -337,7 +337,7 @@ public class AnnotationsPropertySourceTests {
@TypeLevelAnnotation
(
"alpha"
)
@TypeLevelWithPrefixAnnotation
(
"bravo"
)
@TypeAndAttributeLevelWithPrefixAnnotation
(
"charlie"
)
static
@interface
PropertiesFromMultipleMetaAnnotationsAnnotation
{
@interface
PropertiesFromMultipleMetaAnnotationsAnnotation
{
}
...
...
@@ -348,7 +348,7 @@ public class AnnotationsPropertySourceTests {
@Retention
(
RetentionPolicy
.
RUNTIME
)
@AliasedAttributeAnnotation
static
@interface
AttributeWithAliasAnnotation
{
@interface
AttributeWithAliasAnnotation
{
@AliasFor
(
annotation
=
AliasedAttributeAnnotation
.
class
)
String
value
()
default
"foo"
;
...
...
@@ -359,7 +359,7 @@ public class AnnotationsPropertySourceTests {
@Retention
(
RetentionPolicy
.
RUNTIME
)
@PropertyMapping
(
"aliasing"
)
static
@interface
AliasedAttributeAnnotation
{
@interface
AliasedAttributeAnnotation
{
String
value
()
default
"bar"
;
...
...
@@ -367,7 +367,7 @@ public class AnnotationsPropertySourceTests {
@Retention
(
RetentionPolicy
.
RUNTIME
)
@SelfAnnotating
static
@interface
SelfAnnotating
{
@interface
SelfAnnotating
{
}
...
...
@@ -397,7 +397,7 @@ public class AnnotationsPropertySourceTests {
@Retention
(
RetentionPolicy
.
RUNTIME
)
@PropertyMapping
(
"testenum"
)
static
@interface
EnumAnnotation
{
@interface
EnumAnnotation
{
@PropertyMapping
(
skip
=
SkipPropertyMapping
.
ON_DEFAULT_VALUE
)
EnumItem
value
()
default
EnumItem
.
DEFAULT
;
...
...
spring-boot-project/spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/properties/PropertyMappingContextCustomizerFactoryTests.java
View file @
2d873c78
...
...
@@ -115,7 +115,7 @@ public class PropertyMappingContextCustomizerFactoryTests {
}
@Retention
(
RetentionPolicy
.
RUNTIME
)
static
@interface
NoMappingAnnotation
{
@interface
NoMappingAnnotation
{
}
...
...
@@ -132,7 +132,7 @@ public class PropertyMappingContextCustomizerFactoryTests {
@Retention
(
RetentionPolicy
.
RUNTIME
)
@PropertyMapping
static
@interface
TypeMappingAnnotation
{
@interface
TypeMappingAnnotation
{
String
mapped
()
default
"Mapped"
;
...
...
@@ -149,7 +149,7 @@ public class PropertyMappingContextCustomizerFactoryTests {
}
@Retention
(
RetentionPolicy
.
RUNTIME
)
static
@interface
AttributeMappingAnnotation
{
@interface
AttributeMappingAnnotation
{
@PropertyMapping
(
"mapped"
)
String
value
()
default
"Mapped"
;
...
...
spring-boot-project/spring-boot-test/src/test/java/org/springframework/boot/test/context/ImportsContextCustomizerFactoryTests.java
View file @
2d873c78
...
...
@@ -164,7 +164,7 @@ public class ImportsContextCustomizerFactoryTests {
@Retention
(
RetentionPolicy
.
RUNTIME
)
@SelfAnnotating
static
@interface
SelfAnnotating
{
@interface
SelfAnnotating
{
}
...
...
spring-boot-project/spring-boot/src/test/java/org/springframework/boot/context/properties/bind/BindableTests.java
View file @
2d873c78
...
...
@@ -181,7 +181,7 @@ public class BindableTests {
}
@Retention
(
RetentionPolicy
.
RUNTIME
)
static
@interface
TestAnnotation
{
@interface
TestAnnotation
{
}
...
...
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