Fix checkstyle issue

pull/17068/head
Phillip Webb 6 years ago
parent a51996fc10
commit af1720aa2e

@ -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;
}

Loading…
Cancel
Save