Skip to content

Commit af1720a

Browse files
committed
Fix checkstyle issue
1 parent a51996f commit af1720a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/reactive/error/DefaultErrorAttributes.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public Map<String, Object> getErrorAttributes(ServerRequest request,
8686
errorAttributes.put("status", errorStatus.value());
8787
errorAttributes.put("error", errorStatus.getReasonPhrase());
8888
String message = determineMessage(error);
89-
errorAttributes.put("message", message != null ? message : "");
89+
errorAttributes.put("message", (message != null) ? message : "");
9090
handleException(errorAttributes, determineException(error), includeStackTrace);
9191
return errorAttributes;
9292
}

0 commit comments

Comments
 (0)