mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Fix checkstyle violation
This commit is contained in:
parent
ec094cdfda
commit
617f97f788
@ -279,7 +279,7 @@ public abstract class AbstractErrorWebExceptionHandler
|
||||
}
|
||||
|
||||
private boolean isDisconnectedClientErrorMessage(String message) {
|
||||
message = message != null ? message.toLowerCase() : "";
|
||||
message = (message != null) ? message.toLowerCase() : "";
|
||||
return (message.contains("broken pipe")
|
||||
|| message.contains("connection reset by peer"));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user