You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2018/10/21 15:52:39 UTC
svn commit: r1844500 -
/tomcat/tc8.5.x/trunk/java/org/apache/catalina/valves/ErrorReportValve.java
Author: markt
Date: Sun Oct 21 15:52:39 2018
New Revision: 1844500
URL: http://svn.apache.org/viewvc?rev=1844500&view=rev
Log:
Fix IDE nag. Remove unnecessary cast.
Modified:
tomcat/tc8.5.x/trunk/java/org/apache/catalina/valves/ErrorReportValve.java
Modified: tomcat/tc8.5.x/trunk/java/org/apache/catalina/valves/ErrorReportValve.java
URL: http://svn.apache.org/viewvc/tomcat/tc8.5.x/trunk/java/org/apache/catalina/valves/ErrorReportValve.java?rev=1844500&r1=1844499&r2=1844500&view=diff
==============================================================================
--- tomcat/tc8.5.x/trunk/java/org/apache/catalina/valves/ErrorReportValve.java (original)
+++ tomcat/tc8.5.x/trunk/java/org/apache/catalina/valves/ErrorReportValve.java Sun Oct 21 15:52:39 2018
@@ -93,7 +93,7 @@ public class ErrorReportValve extends Va
// 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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org