Commit af1720aa authored by Phillip Webb's avatar Phillip Webb

Fix checkstyle issue

parent a51996fc
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment