This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 7.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/7.0.x by this push:
new dfe07f0 Code clean-up. Remove unnecessary casts.
dfe07f0 is described below
commit dfe07f0599d14b97ffa41d9c486dc7e17fffd72d
Author: Mark Thomas <[email protected]>
AuthorDate: Sun Mar 17 17:20:06 2019 +0000
Code clean-up. Remove unnecessary casts.
---
java/org/apache/catalina/valves/ErrorReportValve.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/java/org/apache/catalina/valves/ErrorReportValve.java
b/java/org/apache/catalina/valves/ErrorReportValve.java
index dc3e6e9..8ca0b40 100644
--- a/java/org/apache/catalina/valves/ErrorReportValve.java
+++ b/java/org/apache/catalina/valves/ErrorReportValve.java
@@ -116,7 +116,7 @@ public class ErrorReportValve extends ValveBase {
// Close immediately to signal to the client that something
went
// wrong
response.getCoyoteResponse().action(ActionCode.CLOSE_NOW,
- (Throwable)
request.getAttribute(RequestDispatcher.ERROR_EXCEPTION));
+
request.getAttribute(RequestDispatcher.ERROR_EXCEPTION));
}
return;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]