You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by ro...@apache.org on 2007/04/13 21:43:08 UTC

svn commit: r528628 - in /jakarta/httpcomponents/httpclient/trunk: build.xml src/java/org/apache/http/conn/SchemeRegistry.java

Author: rolandw
Date: Fri Apr 13 12:43:07 2007
New Revision: 528628

URL: http://svn.apache.org/viewvc?view=rev&rev=528628
Log:
added Ant build dependency, fixed synchronization bug

Modified:
    jakarta/httpcomponents/httpclient/trunk/build.xml
    jakarta/httpcomponents/httpclient/trunk/src/java/org/apache/http/conn/SchemeRegistry.java

Modified: jakarta/httpcomponents/httpclient/trunk/build.xml
URL: http://svn.apache.org/viewvc/jakarta/httpcomponents/httpclient/trunk/build.xml?view=diff&rev=528628&r1=528627&r2=528628
==============================================================================
--- jakarta/httpcomponents/httpclient/trunk/build.xml (original)
+++ jakarta/httpcomponents/httpclient/trunk/build.xml Fri Apr 13 12:43:07 2007
@@ -50,7 +50,8 @@
           dist.core.api       - for javadoc
 
         External dependencies for which there is no default location:
-          commons-logging.jar - (to be added to default dependencies)
+          commons-logging.jar - for logging
+          commons-codec.jar   - for URL encoding and authentication
           junit.jar           - for test and clover targets
           clover.jar          - for clover target
   -->
@@ -84,6 +85,7 @@
 <path id="classpath.client.compile">
   <pathelement location="${httpcore.jar}"/>
   <pathelement location="${commons-logging.jar}"/>
+  <pathelement location="${commons-codec.jar}"/>
 </path>
 
 <path id="classpath.client.javadoc">
@@ -149,6 +151,7 @@
 Dependencies
   HttpCore        ${httpcore.jar}
   Commons Logging ${commons-logging.jar}
+  Commons Codec   ${commons-codec.jar}
   JUnit           ${junit.jar}
   Clover          ${clover.jar}
 

Modified: jakarta/httpcomponents/httpclient/trunk/src/java/org/apache/http/conn/SchemeRegistry.java
URL: http://svn.apache.org/viewvc/jakarta/httpcomponents/httpclient/trunk/src/java/org/apache/http/conn/SchemeRegistry.java?view=diff&rev=528628&r1=528627&r2=528628
==============================================================================
--- jakarta/httpcomponents/httpclient/trunk/src/java/org/apache/http/conn/SchemeRegistry.java (original)
+++ jakarta/httpcomponents/httpclient/trunk/src/java/org/apache/http/conn/SchemeRegistry.java Fri Apr 13 12:43:07 2007
@@ -177,7 +177,7 @@
      *
      * @return  List containing registered scheme names.
      */
-    public final List getSchemeNames() {
+    public synchronized final List getSchemeNames() {
         return new ArrayList(registeredSchemes.keySet());
     }