2003-12-27 Michael Koch <konqueror@gmx.de>
authorMichael Koch <konqueror@gmx.de>
Sat, 27 Dec 2003 20:49:12 +0000 (20:49 +0000)
committerMichael Koch <mkoch@gcc.gnu.org>
Sat, 27 Dec 2003 20:49:12 +0000 (20:49 +0000)
* gnu/java/net/protocol/http/Connection.java
(getRequestProperty): Removed.
(setRequestProperty): Removed.

From-SVN: r75175

libjava/ChangeLog
libjava/gnu/java/net/protocol/http/Connection.java

index 3714570ccad1a771287d31faa667674a99a13030..a657e5a6b0e0024d282470ef9ae0ebd103239514 100644 (file)
@@ -1,3 +1,9 @@
+2003-12-27  Michael Koch  <konqueror@gmx.de>
+
+       * gnu/java/net/protocol/http/Connection.java
+       (getRequestProperty): Removed.
+       (setRequestProperty): Removed.
+
 2003-12-27  Michael Koch  <konqueror@gmx.de>
 
        * gnu/java/net/protocol/http/Connection.java
index 632a20a81bcfb999d50aab891888304209226cfe..677ba7f1e65413d1645cc0b4b143cbdd1323ba87 100644 (file)
@@ -122,22 +122,6 @@ public final class Connection extends HttpURLConnection
     doOutput = false;
   }
 
-  public void setRequestProperty(String key, String value)
-  {
-    if (connected)
-      throw new IllegalAccessError("Connection already established.");
-
-    requestProperties.put(key, value);
-  }
-
-  public String getRequestProperty(String key)
-  {
-    if (connected)
-      throw new IllegalAccessError("Connection already established.");
-
-    return (String) requestProperties.get(key);
-  }
-
   /**
    * Connects to the remote host, sends the request, and parses the reply
    * code and header information returned