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
a86ba649
Commit
a86ba649
authored
Oct 13, 2018
by
Madhura Bhave
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Polish
parent
d2ceb8f7
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
13 deletions
+13
-13
BindResult.java
...ingframework/boot/context/properties/bind/BindResult.java
+1
-1
Binder.java
.../springframework/boot/context/properties/bind/Binder.java
+8
-8
PlaceholdersResolver.java
...rk/boot/context/properties/bind/PlaceholdersResolver.java
+2
-2
ReactiveWebServerApplicationContext.java
...reactive/context/ReactiveWebServerApplicationContext.java
+1
-1
AnnotationConfigReactiveWebServerApplicationContextTests.java
...tationConfigReactiveWebServerApplicationContextTests.java
+1
-1
No files found.
spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/properties/bind/BindResult.java
View file @
a86ba649
...
@@ -26,7 +26,7 @@ import org.springframework.util.Assert;
...
@@ -26,7 +26,7 @@ import org.springframework.util.Assert;
import
org.springframework.util.ObjectUtils
;
import
org.springframework.util.ObjectUtils
;
/**
/**
* A container object to return result of a {@link Binder} bind operation. May contain
* A container object to return
the
result of a {@link Binder} bind operation. May contain
* either a successfully bound object or an empty result.
* either a successfully bound object or an empty result.
*
*
* @param <T> the result type
* @param <T> the result type
...
...
spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/properties/bind/Binder.java
View file @
a86ba649
...
@@ -97,7 +97,7 @@ public class Binder {
...
@@ -97,7 +97,7 @@ public class Binder {
/**
/**
* Create a new {@link Binder} instance for the specified sources.
* Create a new {@link Binder} instance for the specified sources.
* @param sources the sources used for binding
* @param sources the sources used for binding
* @param placeholdersResolver strategy to resolve any property place
-
holders
* @param placeholdersResolver strategy to resolve any property placeholders
*/
*/
public
Binder
(
Iterable
<
ConfigurationPropertySource
>
sources
,
public
Binder
(
Iterable
<
ConfigurationPropertySource
>
sources
,
PlaceholdersResolver
placeholdersResolver
)
{
PlaceholdersResolver
placeholdersResolver
)
{
...
@@ -107,7 +107,7 @@ public class Binder {
...
@@ -107,7 +107,7 @@ public class Binder {
/**
/**
* Create a new {@link Binder} instance for the specified sources.
* Create a new {@link Binder} instance for the specified sources.
* @param sources the sources used for binding
* @param sources the sources used for binding
* @param placeholdersResolver strategy to resolve any property place
-
holders
* @param placeholdersResolver strategy to resolve any property placeholders
* @param conversionService the conversion service to convert values (or {@code null}
* @param conversionService the conversion service to convert values (or {@code null}
* to use {@link ApplicationConversionService})
* to use {@link ApplicationConversionService})
*/
*/
...
@@ -120,7 +120,7 @@ public class Binder {
...
@@ -120,7 +120,7 @@ public class Binder {
/**
/**
* Create a new {@link Binder} instance for the specified sources.
* Create a new {@link Binder} instance for the specified sources.
* @param sources the sources used for binding
* @param sources the sources used for binding
* @param placeholdersResolver strategy to resolve any property place
-
holders
* @param placeholdersResolver strategy to resolve any property placeholders
* @param conversionService the conversion service to convert values (or {@code null}
* @param conversionService the conversion service to convert values (or {@code null}
* to use {@link ApplicationConversionService})
* to use {@link ApplicationConversionService})
* @param propertyEditorInitializer initializer used to configure the property editors
* @param propertyEditorInitializer initializer used to configure the property editors
...
@@ -141,7 +141,7 @@ public class Binder {
...
@@ -141,7 +141,7 @@ public class Binder {
}
}
/**
/**
* Bind the specified target {@link Class} using this binders
* Bind the specified target {@link Class} using this binder
'
s
* {@link ConfigurationPropertySource property sources}.
* {@link ConfigurationPropertySource property sources}.
* @param name the configuration property name to bind
* @param name the configuration property name to bind
* @param target the target class
* @param target the target class
...
@@ -154,7 +154,7 @@ public class Binder {
...
@@ -154,7 +154,7 @@ public class Binder {
}
}
/**
/**
* Bind the specified target {@link Bindable} using this binders
* Bind the specified target {@link Bindable} using this binder
'
s
* {@link ConfigurationPropertySource property sources}.
* {@link ConfigurationPropertySource property sources}.
* @param name the configuration property name to bind
* @param name the configuration property name to bind
* @param target the target bindable
* @param target the target bindable
...
@@ -167,7 +167,7 @@ public class Binder {
...
@@ -167,7 +167,7 @@ public class Binder {
}
}
/**
/**
* Bind the specified target {@link Bindable} using this binders
* Bind the specified target {@link Bindable} using this binder
'
s
* {@link ConfigurationPropertySource property sources}.
* {@link ConfigurationPropertySource property sources}.
* @param name the configuration property name to bind
* @param name the configuration property name to bind
* @param target the target bindable
* @param target the target bindable
...
@@ -180,7 +180,7 @@ public class Binder {
...
@@ -180,7 +180,7 @@ public class Binder {
}
}
/**
/**
* Bind the specified target {@link Bindable} using this binders
* Bind the specified target {@link Bindable} using this binder
'
s
* {@link ConfigurationPropertySource property sources}.
* {@link ConfigurationPropertySource property sources}.
* @param name the configuration property name to bind
* @param name the configuration property name to bind
* @param target the target bindable
* @param target the target bindable
...
@@ -193,7 +193,7 @@ public class Binder {
...
@@ -193,7 +193,7 @@ public class Binder {
}
}
/**
/**
* Bind the specified target {@link Bindable} using this binders
* Bind the specified target {@link Bindable} using this binder
'
s
* {@link ConfigurationPropertySource property sources}.
* {@link ConfigurationPropertySource property sources}.
* @param name the configuration property name to bind
* @param name the configuration property name to bind
* @param target the target bindable
* @param target the target bindable
...
...
spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/properties/bind/PlaceholdersResolver.java
View file @
a86ba649
...
@@ -35,9 +35,9 @@ public interface PlaceholdersResolver {
...
@@ -35,9 +35,9 @@ public interface PlaceholdersResolver {
PlaceholdersResolver
NONE
=
(
value
)
->
value
;
PlaceholdersResolver
NONE
=
(
value
)
->
value
;
/**
/**
* Called to resolve any place
holders in the given value.
* Called to resolve any placeholders in the given value.
* @param value the source value
* @param value the source value
* @return a value with place
holders resolved
* @return a value with placeholders resolved
*/
*/
Object
resolvePlaceholders
(
Object
value
);
Object
resolvePlaceholders
(
Object
value
);
...
...
spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/reactive/context/ReactiveWebServerApplicationContext.java
View file @
a86ba649
...
@@ -189,7 +189,7 @@ public class ReactiveWebServerApplicationContext
...
@@ -189,7 +189,7 @@ public class ReactiveWebServerApplicationContext
/**
/**
* Internal class used to manage the server and the {@link HttpHandler}, taking care
* Internal class used to manage the server and the {@link HttpHandler}, taking care
* not to initialize the hander too early.
* not to initialize the hand
l
er too early.
*/
*/
static
final
class
ServerManager
implements
HttpHandler
{
static
final
class
ServerManager
implements
HttpHandler
{
...
...
spring-boot-project/spring-boot/src/test/java/org/springframework/boot/web/reactive/context/AnnotationConfigReactiveWebServerApplicationContextTests.java
View file @
a86ba649
...
@@ -135,7 +135,7 @@ public class AnnotationConfigReactiveWebServerApplicationContextTests {
...
@@ -135,7 +135,7 @@ public class AnnotationConfigReactiveWebServerApplicationContextTests {
}
}
@Bean
@Bean
public
HttpHandler
httpHander
()
{
public
HttpHandler
httpHand
l
er
()
{
if
(!
addedListener
)
{
if
(!
addedListener
)
{
throw
new
RuntimeException
(
throw
new
RuntimeException
(
"Handlers should be added after listeners, we're being initialized too early!"
);
"Handlers should be added after listeners, we're being initialized too early!"
);
...
...
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