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
38b06ceb
Commit
38b06ceb
authored
Mar 16, 2015
by
Andy Wilkinson
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '1.2.x'
parents
5aab484e
fc437614
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
+6
-7
PropertySourcesPropertyValues.java
...ingframework/boot/bind/PropertySourcesPropertyValues.java
+6
-7
No files found.
spring-boot/src/main/java/org/springframework/boot/bind/PropertySourcesPropertyValues.java
View file @
38b06ceb
...
...
@@ -98,14 +98,14 @@ public class PropertySourcesPropertyValues implements PropertyValues {
private
void
processPropertySource
(
PropertySource
<?>
source
,
PropertySourcesPropertyResolver
resolver
,
PropertyNamePatternsMatcher
includes
,
Collection
<
String
>
exacts
)
{
if
(
source
instanceof
EnumerablePropertySource
)
{
processEnumerablePropertySource
((
EnumerablePropertySource
<?>)
source
,
resolver
,
includes
,
exacts
);
}
else
if
(
source
instanceof
CompositePropertySource
)
{
if
(
source
instanceof
CompositePropertySource
)
{
processCompositePropertySource
((
CompositePropertySource
)
source
,
resolver
,
includes
,
exacts
);
}
else
if
(
source
instanceof
EnumerablePropertySource
)
{
processEnumerablePropertySource
((
EnumerablePropertySource
<?>)
source
,
resolver
,
includes
);
}
else
{
// We can only do exact matches for non-enumerable property names, but
// that's better than nothing...
...
...
@@ -114,8 +114,7 @@ public class PropertySourcesPropertyValues implements PropertyValues {
}
private
void
processEnumerablePropertySource
(
EnumerablePropertySource
<?>
source
,
PropertySourcesPropertyResolver
resolver
,
PropertyNamePatternsMatcher
includes
,
Collection
<
String
>
exacts
)
{
PropertySourcesPropertyResolver
resolver
,
PropertyNamePatternsMatcher
includes
)
{
if
(
source
.
getPropertyNames
().
length
>
0
)
{
for
(
String
propertyName
:
source
.
getPropertyNames
())
{
if
(
PropertySourcesPropertyValues
.
PATTERN_MATCHED_PROPERTY_SOURCES
...
...
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