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
bd241546
Commit
bd241546
authored
Dec 01, 2016
by
Stephane Nicoll
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '1.5.x'
parents
a4770f90
5560af73
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
13 deletions
+7
-13
ValidationAutoConfigurationWithoutValidatorTests.java
...ion/ValidationAutoConfigurationWithoutValidatorTests.java
+1
-1
RestartServer.java
...framework/boot/devtools/restart/server/RestartServer.java
+2
-3
PropertiesLauncher.java
...a/org/springframework/boot/loader/PropertiesLauncher.java
+2
-5
ConfigurationWarningsApplicationContextInitializer.java
...t/ConfigurationWarningsApplicationContextInitializer.java
+1
-3
SpringBootServletInitializer.java
...mework/boot/web/support/SpringBootServletInitializer.java
+1
-1
No files found.
spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/validation/ValidationAutoConfigurationWithoutValidatorTests.java
View file @
bd241546
...
...
@@ -28,7 +28,7 @@ import org.springframework.validation.beanvalidation.MethodValidationPostProcess
import
static
org
.
assertj
.
core
.
api
.
Assertions
.
assertThat
;
/**
* Test for {
{
@link ValidationAutoConfiguration} when no JSR-303 provider is available.
* Test for {@link ValidationAutoConfiguration} when no JSR-303 provider is available.
*
* @author Stephane Nicoll
*/
...
...
spring-boot-devtools/src/main/java/org/springframework/boot/devtools/restart/server/RestartServer.java
100644 → 100755
View file @
bd241546
...
...
@@ -20,6 +20,7 @@ import java.io.File;
import
java.io.IOException
;
import
java.net.URL
;
import
java.net.URLClassLoader
;
import
java.util.Collections
;
import
java.util.LinkedHashSet
;
import
java.util.Map.Entry
;
import
java.util.Set
;
...
...
@@ -141,9 +142,7 @@ public class RestartServer {
ClassLoader
classLoader
=
this
.
classLoader
;
while
(
classLoader
!=
null
)
{
if
(
classLoader
instanceof
URLClassLoader
)
{
for
(
URL
url
:
((
URLClassLoader
)
classLoader
).
getURLs
())
{
urls
.
add
(
url
);
}
Collections
.
addAll
(
urls
,
((
URLClassLoader
)
classLoader
).
getURLs
());
}
classLoader
=
classLoader
.
getParent
();
}
...
...
spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/PropertiesLauncher.java
100644 → 100755
View file @
bd241546
...
...
@@ -536,11 +536,8 @@ public class PropertiesLauncher extends Launcher {
return
builder
.
toString
();
}
private
static
Object
capitalize
(
String
str
)
{
StringBuilder
sb
=
new
StringBuilder
(
str
.
length
());
sb
.
append
(
Character
.
toUpperCase
(
str
.
charAt
(
0
)));
sb
.
append
(
str
.
substring
(
1
));
return
sb
.
toString
();
private
static
String
capitalize
(
String
str
)
{
return
Character
.
toUpperCase
(
str
.
charAt
(
0
))
+
str
.
substring
(
1
);
}
private
void
log
(
String
message
)
{
...
...
spring-boot/src/main/java/org/springframework/boot/context/ConfigurationWarningsApplicationContextInitializer.java
100644 → 100755
View file @
bd241546
...
...
@@ -183,9 +183,7 @@ public class ConfigurationWarningsApplicationContextInitializer
private
void
addPackages
(
Set
<
String
>
packages
,
String
[]
values
)
{
if
(
values
!=
null
)
{
for
(
String
value
:
values
)
{
packages
.
add
(
value
);
}
Collections
.
addAll
(
packages
,
values
);
}
}
...
...
spring-boot/src/main/java/org/springframework/boot/web/support/SpringBootServletInitializer.java
View file @
bd241546
...
...
@@ -162,7 +162,7 @@ public abstract class SpringBootServletInitializer implements WebApplicationInit
}
/**
* Configure the application. Normally all you would need to do i
t
add sources (e.g.
* Configure the application. Normally all you would need to do i
s
add sources (e.g.
* config classes) because other settings have sensible defaults. You might choose
* (for instance) to add default command line arguments, or set an active Spring
* profile.
...
...
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