Author: violetagg
Date: Sun Dec  7 13:12:32 2014
New Revision: 1643675

URL: http://svn.apache.org/r1643675
Log:
It is not necessary to handle MalformedURLException separately as it extends 
IOException.

Modified:
    tomcat/trunk/java/org/apache/catalina/startup/ContextConfig.java

Modified: tomcat/trunk/java/org/apache/catalina/startup/ContextConfig.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/startup/ContextConfig.java?rev=1643675&r1=1643674&r2=1643675&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/startup/ContextConfig.java (original)
+++ tomcat/trunk/java/org/apache/catalina/startup/ContextConfig.java Sun Dec  7 
13:12:32 2014
@@ -1463,8 +1463,6 @@ public class ContextConfig implements Li
             try {
                 URL url = new URL(globalWebXml.getSystemId());
                 globalTimeStamp = url.openConnection().getLastModified();
-            } catch (MalformedURLException e) {
-                globalTimeStamp = -1;
             } catch (IOException e) {
                 globalTimeStamp = -1;
             }
@@ -1474,8 +1472,6 @@ public class ContextConfig implements Li
             try {
                 URL url = new URL(hostWebXml.getSystemId());
                 hostTimeStamp = url.openConnection().getLastModified();
-            } catch (MalformedURLException e) {
-                hostTimeStamp = -1;
             } catch (IOException e) {
                 hostTimeStamp = -1;
             }



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to