mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Polishing
Closes gh-33681
This commit is contained in:
committed by
Sébastien Deleuze
parent
5bcce17fd9
commit
e191c34078
+1
-1
@@ -207,7 +207,7 @@ public class PrintingResultHandler implements ResultHandler {
|
||||
protected void printModelAndView(@Nullable ModelAndView mav) throws Exception {
|
||||
this.printer.printValue("View name", (mav != null) ? mav.getViewName() : null);
|
||||
this.printer.printValue("View", (mav != null) ? mav.getView() : null);
|
||||
if (mav == null || mav.getModel().size() == 0) {
|
||||
if (mav == null || mav.getModel().isEmpty()) {
|
||||
this.printer.printValue("Model", null);
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user