hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r159910 - jakarta/httpclient/trunk/http-common/src/java/org/apache/http/params/HttpParams.java
Date Sun, 03 Apr 2005 11:00:23 GMT
Author: olegk
Date: Sun Apr  3 04:00:22 2005
New Revision: 159910

URL: http://svn.apache.org/viewcvs?view=rev&rev=159910
Log:
Added clone method to the interface

Modified:
    jakarta/httpclient/trunk/http-common/src/java/org/apache/http/params/HttpParams.java

Modified: jakarta/httpclient/trunk/http-common/src/java/org/apache/http/params/HttpParams.java
URL: http://svn.apache.org/viewcvs/jakarta/httpclient/trunk/http-common/src/java/org/apache/http/params/HttpParams.java?view=diff&r1=159909&r2=159910
==============================================================================
--- jakarta/httpclient/trunk/http-common/src/java/org/apache/http/params/HttpParams.java (original)
+++ jakarta/httpclient/trunk/http-common/src/java/org/apache/http/params/HttpParams.java Sun
Apr  3 04:00:22 2005
@@ -228,4 +228,12 @@
      */
     boolean isParameterFalse(String name);
 
+    /**
+     * Clones this collection of parameters. This method may produce a shallow copy
+     * of the parameter collection if appropriate. 
+     * 
+     * @see java.lang.Object#clone()
+     */
+    Object clone() throws CloneNotSupportedException;
+    
 }



Mime
View raw message