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
55f5f2f9
Commit
55f5f2f9
authored
Feb 19, 2019
by
Johnny Lim
Committed by
Stephane Nicoll
Feb 19, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Polish
Closes gh-15987
parent
ddfdc481
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
14 deletions
+12
-14
AbstractErrorWebExceptionHandler.java
.../web/reactive/error/AbstractErrorWebExceptionHandler.java
+4
-4
HttpMessageConvertersAutoConfigurationTests.java
...ure/http/HttpMessageConvertersAutoConfigurationTests.java
+1
-1
JerseyAutoConfigurationTests.java
...ot/autoconfigure/jersey/JerseyAutoConfigurationTests.java
+1
-1
RestTemplateAutoConfigurationTests.java
...figure/web/client/RestTemplateAutoConfigurationTests.java
+1
-1
ConditionEvaluationDeltaLoggingListener.java
...utoconfigure/ConditionEvaluationDeltaLoggingListener.java
+5
-7
No files found.
spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/reactive/error/AbstractErrorWebExceptionHandler.java
View file @
55f5f2f9
...
...
@@ -268,10 +268,10 @@ public abstract class AbstractErrorWebExceptionHandler
private
boolean
isDisconnectedClientError
(
Throwable
ex
)
{
String
message
=
NestedExceptionUtils
.
getMostSpecificCause
(
ex
).
getMessage
();
message
=
(
message
!=
null
)
?
message
.
toLowerCase
()
:
""
;
String
className
=
ex
.
getClass
().
getSimpleName
()
;
return
(
message
.
contains
(
"broken pipe"
)
||
DISCONNECTED_CLIENT_EXCEPTIONS
.
contains
(
className
));
if
(
message
!=
null
&&
message
.
toLowerCase
().
contains
(
"broken pipe"
))
{
return
true
;
}
return
DISCONNECTED_CLIENT_EXCEPTIONS
.
contains
(
ex
.
getClass
().
getSimpleName
(
));
}
private
void
logError
(
ServerRequest
request
,
ServerResponse
response
,
...
...
spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/http/HttpMessageConvertersAutoConfigurationTests.java
View file @
55f5f2f9
...
...
@@ -269,7 +269,7 @@ public class HttpMessageConvertersAutoConfigurationTests {
}
@Test
public
void
whenReactiveWebApplicationHttpMessageConverters
RestTemplate
IsNotConfigured
()
{
public
void
whenReactiveWebApplicationHttpMessageConvertersIsNotConfigured
()
{
new
ReactiveWebApplicationContextRunner
()
.
withConfiguration
(
AutoConfigurations
.
of
(
HttpMessageConvertersAutoConfiguration
.
class
))
...
...
spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/jersey/JerseyAutoConfigurationTests.java
View file @
55f5f2f9
...
...
@@ -40,7 +40,7 @@ public class JerseyAutoConfigurationTests {
private
final
WebApplicationContextRunner
contextRunner
=
new
WebApplicationContextRunner
()
.
withConfiguration
(
AutoConfigurations
.
of
(
JerseyAutoConfiguration
.
class
))
.
withInitializer
(
new
ConditionEvaluationReportLoggingListener
(
LogLevel
.
INFO
))
.
withUserConfiguration
(
ResourceConfig
.
class
);
.
withUserConfiguration
(
ResourceConfig
Configuration
.
class
);
@Test
public
void
requestContextFilterRegistrationIsAutoConfigured
()
{
...
...
spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/web/client/RestTemplateAutoConfigurationTests.java
View file @
55f5f2f9
...
...
@@ -136,7 +136,7 @@ public class RestTemplateAutoConfigurationTests {
}
@Test
public
void
whenReactiveWebApplicationRestTemplateIsNotConfigured
()
{
public
void
whenReactiveWebApplicationRestTemplate
Builder
IsNotConfigured
()
{
new
ReactiveWebApplicationContextRunner
()
.
withConfiguration
(
AutoConfigurations
.
of
(
RestTemplateAutoConfiguration
.
class
))
...
...
spring-boot-project/spring-boot-devtools/src/main/java/org/springframework/boot/devtools/autoconfigure/ConditionEvaluationDeltaLoggingListener.java
View file @
55f5f2f9
...
...
@@ -58,16 +58,14 @@ class ConditionEvaluationDeltaLoggingListener
if
(!
delta
.
getConditionAndOutcomesBySource
().
isEmpty
()
||
!
delta
.
getExclusions
().
isEmpty
()
||
!
delta
.
getUnconditionalClasses
().
isEmpty
())
{
if
(
ConditionEvaluationDeltaLoggingListener
.
logger
.
isInfoEnabled
())
{
ConditionEvaluationDeltaLoggingListener
.
logger
.
info
(
"Condition evaluation delta:"
+
new
ConditionEvaluationReportMessage
(
delta
,
"CONDITION EVALUATION DELTA"
));
if
(
logger
.
isInfoEnabled
())
{
logger
.
info
(
"Condition evaluation delta:"
+
new
ConditionEvaluationReportMessage
(
delta
,
"CONDITION EVALUATION DELTA"
));
}
}
else
{
ConditionEvaluationDeltaLoggingListener
.
logger
.
info
(
"Condition evaluation unchanged"
);
logger
.
info
(
"Condition evaluation unchanged"
);
}
}
previousReports
.
put
(
event
.
getApplicationContext
().
getId
(),
report
);
...
...
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