incubator-ivy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maart...@apache.org
Subject svn commit: r537416 - /incubator/ivy/core/trunk/src/java/org/apache/ivy/util/url/URLHandlerRegistry.java
Date Sat, 12 May 2007 13:17:37 GMT
Author: maartenc
Date: Sat May 12 06:17:37 2007
New Revision: 537416

URL: http://svn.apache.org/viewvc?view=rev&rev=537416
Log:
oops, forgot to revert a little test...

Modified:
    incubator/ivy/core/trunk/src/java/org/apache/ivy/util/url/URLHandlerRegistry.java

Modified: incubator/ivy/core/trunk/src/java/org/apache/ivy/util/url/URLHandlerRegistry.java
URL: http://svn.apache.org/viewvc/incubator/ivy/core/trunk/src/java/org/apache/ivy/util/url/URLHandlerRegistry.java?view=diff&rev=537416&r1=537415&r2=537416
==============================================================================
--- incubator/ivy/core/trunk/src/java/org/apache/ivy/util/url/URLHandlerRegistry.java (original)
+++ incubator/ivy/core/trunk/src/java/org/apache/ivy/util/url/URLHandlerRegistry.java Sat
May 12 06:17:37 2007
@@ -53,8 +53,7 @@
 		} catch (NoClassDefFoundError e) {
 			Message.verbose("error occurred while loading jakarta commons httpclient: " + e.getMessage());
 			Message.verbose("Using jdk url handling instead.");
-            //return new BasicURLHandler();
-			throw e;
+            return new BasicURLHandler();
         } catch (InstantiationException e) {
             Message.verbose("couldn't instantiate HttpClientHandler: using jdk url handling");
             return new BasicURLHandler();



Mime
View raw message