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
91f4300f
Commit
91f4300f
authored
Oct 21, 2019
by
Stephane Nicoll
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #18665 from xiaokeliu666
* pr/18665: Polish Closes gh-18665
parents
29e288f6
57c64eb3
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
10 deletions
+8
-10
ContextIdApplicationContextInitializer.java
.../boot/context/ContextIdApplicationContextInitializer.java
+1
-1
ConfigFileApplicationListener.java
...rk/boot/context/config/ConfigFileApplicationListener.java
+1
-1
InfoProperties.java
...in/java/org/springframework/boot/info/InfoProperties.java
+1
-1
JavaLoggingSystem.java
.../springframework/boot/logging/java/JavaLoggingSystem.java
+1
-1
LambdaSafe.java
...c/main/java/org/springframework/boot/util/LambdaSafe.java
+4
-6
No files found.
spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/ContextIdApplicationContextInitializer.java
View file @
91f4300f
...
@@ -72,7 +72,7 @@ public class ContextIdApplicationContextInitializer
...
@@ -72,7 +72,7 @@ public class ContextIdApplicationContextInitializer
/**
/**
* The ID of a context.
* The ID of a context.
*/
*/
class
ContextId
{
static
class
ContextId
{
private
final
AtomicLong
children
=
new
AtomicLong
(
0
);
private
final
AtomicLong
children
=
new
AtomicLong
(
0
);
...
...
spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/config/ConfigFileApplicationListener.java
View file @
91f4300f
...
@@ -248,7 +248,7 @@ public class ConfigFileApplicationListener implements EnvironmentPostProcessor,
...
@@ -248,7 +248,7 @@ public class ConfigFileApplicationListener implements EnvironmentPostProcessor,
* {@link BeanFactoryPostProcessor} to re-order our property sources below any
* {@link BeanFactoryPostProcessor} to re-order our property sources below any
* {@code @PropertySource} items added by the {@link ConfigurationClassPostProcessor}.
* {@code @PropertySource} items added by the {@link ConfigurationClassPostProcessor}.
*/
*/
private
class
PropertySourceOrderingPostProcessor
implements
BeanFactoryPostProcessor
,
Ordered
{
private
static
class
PropertySourceOrderingPostProcessor
implements
BeanFactoryPostProcessor
,
Ordered
{
private
ConfigurableApplicationContext
context
;
private
ConfigurableApplicationContext
context
;
...
...
spring-boot-project/spring-boot/src/main/java/org/springframework/boot/info/InfoProperties.java
View file @
91f4300f
...
@@ -121,7 +121,7 @@ public class InfoProperties implements Iterable<InfoProperties.Entry> {
...
@@ -121,7 +121,7 @@ public class InfoProperties implements Iterable<InfoProperties.Entry> {
/**
/**
* Property entry.
* Property entry.
*/
*/
public
final
class
Entry
{
public
static
final
class
Entry
{
private
final
String
key
;
private
final
String
key
;
...
...
spring-boot-project/spring-boot/src/main/java/org/springframework/boot/logging/java/JavaLoggingSystem.java
View file @
91f4300f
...
@@ -168,7 +168,7 @@ public class JavaLoggingSystem extends AbstractLoggingSystem {
...
@@ -168,7 +168,7 @@ public class JavaLoggingSystem extends AbstractLoggingSystem {
this
.
configuredLoggers
.
clear
();
this
.
configuredLoggers
.
clear
();
}
}
private
final
class
ShutdownHandler
implements
Runnable
{
private
static
final
class
ShutdownHandler
implements
Runnable
{
@Override
@Override
public
void
run
()
{
public
void
run
()
{
...
...
spring-boot-project/spring-boot/src/main/java/org/springframework/boot/util/LambdaSafe.java
View file @
91f4300f
...
@@ -279,12 +279,10 @@ public final class LambdaSafe {
...
@@ -279,12 +279,10 @@ public final class LambdaSafe {
* @param invoker the invoker used to invoke the callback
* @param invoker the invoker used to invoke the callback
*/
*/
public
void
invoke
(
Consumer
<
C
>
invoker
)
{
public
void
invoke
(
Consumer
<
C
>
invoker
)
{
this
.
callbackInstances
.
forEach
((
callbackInstance
)
->
{
this
.
callbackInstances
.
forEach
((
callbackInstance
)
->
invoke
(
callbackInstance
,
()
->
{
invoke
(
callbackInstance
,
()
->
{
invoker
.
accept
(
callbackInstance
);
invoker
.
accept
(
callbackInstance
);
return
null
;
return
null
;
}));
});
});
}
}
/**
/**
...
...
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