From af1720aa2ea2f1d25161a52408a3a194865bb0c8 Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Tue, 28 May 2019 15:52:00 -0700 Subject: [PATCH] Fix checkstyle issue --- .../boot/web/reactive/error/DefaultErrorAttributes.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/reactive/error/DefaultErrorAttributes.java b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/reactive/error/DefaultErrorAttributes.java index 2e12136045..e99cf14c3a 100644 --- a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/reactive/error/DefaultErrorAttributes.java +++ b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/reactive/error/DefaultErrorAttributes.java @@ -86,7 +86,7 @@ public class DefaultErrorAttributes implements ErrorAttributes { errorAttributes.put("status", errorStatus.value()); errorAttributes.put("error", errorStatus.getReasonPhrase()); String message = determineMessage(error); - errorAttributes.put("message", message != null ? message : ""); + errorAttributes.put("message", (message != null) ? message : ""); handleException(errorAttributes, determineException(error), includeStackTrace); return errorAttributes; }