From 656f1819e1af62be0066856737877653770bf12b Mon Sep 17 00:00:00 2001 From: mkoch Date: Sat, 27 Dec 2003 20:49:12 +0000 Subject: 2003-12-27 Michael Koch * gnu/java/net/protocol/http/Connection.java (getRequestProperty): Removed. (setRequestProperty): Removed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75175 138bc75d-0d04-0410-961f-82ee72b054a4 --- libjava/gnu/java/net/protocol/http/Connection.java | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'libjava/gnu/java/net/protocol/http') diff --git a/libjava/gnu/java/net/protocol/http/Connection.java b/libjava/gnu/java/net/protocol/http/Connection.java index 632a20a81bc..677ba7f1e65 100644 --- a/libjava/gnu/java/net/protocol/http/Connection.java +++ b/libjava/gnu/java/net/protocol/http/Connection.java @@ -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 -- cgit v1.2.3