You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by se...@apache.org on 2010/12/14 18:32:42 UTC

svn commit: r1049188 - /httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/params/BasicHttpParams.java

Author: sebb
Date: Tue Dec 14 17:32:42 2010
New Revision: 1049188

URL: http://svn.apache.org/viewvc?rev=1049188&view=rev
Log:
Allow public access to copy method.

Modified:
    httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/params/BasicHttpParams.java

Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/params/BasicHttpParams.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/params/BasicHttpParams.java?rev=1049188&r1=1049187&r2=1049188&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/params/BasicHttpParams.java (original)
+++ httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/params/BasicHttpParams.java Tue Dec 14 17:32:42 2010
@@ -155,8 +155,9 @@ public class BasicHttpParams extends Abs
      * This method is called from {@link #clone()}.
      *
      * @param target    the parameters to which to copy
+     * @since 4.1.1
      */
-    protected void copyParams(HttpParams target) {
+    public void copyParams(HttpParams target) {
         Iterator iter = parameters.entrySet().iterator();
         while (iter.hasNext()) {
             Map.Entry me = (Map.Entry) iter.next();