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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to