Polishing

This commit is contained in:
Juergen Hoeller
2021-09-02 22:21:27 +02:00
parent 837301fdb3
commit b6c2c11805
2 changed files with 6 additions and 4 deletions

View File

@@ -1085,7 +1085,7 @@ public abstract class FrameworkServlet extends HttpServletBean implements Applic
}
DispatcherType dispatchType = request.getDispatcherType();
boolean initialDispatch = DispatcherType.REQUEST == dispatchType;
boolean initialDispatch = (dispatchType == DispatcherType.REQUEST);
if (failureCause != null) {
if (!initialDispatch) {
@@ -1109,7 +1109,7 @@ public abstract class FrameworkServlet extends HttpServletBean implements Applic
}
int status = response.getStatus();
String headers = ""; // nothing below trace
String headers = ""; // nothing below trace
if (logger.isTraceEnabled()) {
Collection<String> names = response.getHeaderNames();