You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ivy-commits@incubator.apache.org by ma...@apache.org on 2007/05/12 13:17:37 UTC

svn commit: r537416 - /incubator/ivy/core/trunk/src/java/org/apache/ivy/util/url/URLHandlerRegistry.java

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();