hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1049276 - /httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/params/AbstractHttpParams.java
Date Tue, 14 Dec 2010 21:16:50 GMT
Author: sebb
Date: Tue Dec 14 21:16:48 2010
New Revision: 1049276

URL: http://svn.apache.org/viewvc?rev=1049276&view=rev
Log:
Can't add abstract method to API

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

Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/params/AbstractHttpParams.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/params/AbstractHttpParams.java?rev=1049276&r1=1049275&r2=1049276&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/params/AbstractHttpParams.java
(original)
+++ httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/params/AbstractHttpParams.java
Tue Dec 14 21:16:48 2010
@@ -31,6 +31,8 @@ import java.util.Set;
 
 import org.apache.http.params.HttpParams;
 
+import sun.reflect.generics.reflectiveObjects.NotImplementedException;
+
 
 /**
  * Abstract base class for parameter collections.
@@ -111,10 +113,12 @@ public abstract class AbstractHttpParams
 
     /**
      * Provide access to the set of parameters as Map.Entry elements.
-     * 
+     * Must be overridden by subclasses.
      * @return the Set of Map.Entry<String, Object> elements
      * @since 4.1.1
      */
-    public abstract Set entrySet();
+    public Set entrySet() {
+        throw new UnsupportedOperationException();
+    }
 
 } // class AbstractHttpParams



Mime
View raw message