Commit af1720aa authored by Phillip Webb's avatar Phillip Webb

Fix checkstyle issue

parent a51996fc
...@@ -86,7 +86,7 @@ public class DefaultErrorAttributes implements ErrorAttributes { ...@@ -86,7 +86,7 @@ public class DefaultErrorAttributes implements ErrorAttributes {
errorAttributes.put("status", errorStatus.value()); errorAttributes.put("status", errorStatus.value());
errorAttributes.put("error", errorStatus.getReasonPhrase()); errorAttributes.put("error", errorStatus.getReasonPhrase());
String message = determineMessage(error); String message = determineMessage(error);
errorAttributes.put("message", message != null ? message : ""); errorAttributes.put("message", (message != null) ? message : "");
handleException(errorAttributes, determineException(error), includeStackTrace); handleException(errorAttributes, determineException(error), includeStackTrace);
return errorAttributes; 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