summaryrefslogtreecommitdiffstats
path: root/libjava/gnu/java/net/protocol
diff options
context:
space:
mode:
authorbryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4>2004-07-28 22:28:09 +0000
committerbryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4>2004-07-28 22:28:09 +0000
commit5481e0911222c37b664f37cb9f6fbeaadcf15c32 (patch)
treee47002eb032121026dab97ad0bcf40039407cde6 /libjava/gnu/java/net/protocol
parente1ea7003cdc23e06c069412958725c65abdd1d04 (diff)
downloadppe42-gcc-5481e0911222c37b664f37cb9f6fbeaadcf15c32.tar.gz
ppe42-gcc-5481e0911222c37b664f37cb9f6fbeaadcf15c32.zip
2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
* gnu/java/security/action/GetPropertyAction.java (setParameters): Renamed from 'setName'. New 2-argument form with default value. (run): Pass default 'value' parameter to System.getProperty(). * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc typos. * gnu/java/net/protocol/http/Connection.java: Use 'setParameters' not 'setName'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85274 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/gnu/java/net/protocol')
-rw-r--r--libjava/gnu/java/net/protocol/http/Connection.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/libjava/gnu/java/net/protocol/http/Connection.java b/libjava/gnu/java/net/protocol/http/Connection.java
index ccae499dc33..e15fda86250 100644
--- a/libjava/gnu/java/net/protocol/http/Connection.java
+++ b/libjava/gnu/java/net/protocol/http/Connection.java
@@ -97,7 +97,7 @@ public final class Connection extends HttpURLConnection
if (proxyHost != null)
{
proxyInUse = true;
- getProperty.setName("http.proxyPort");
+ getProperty.setParameters("http.proxyPort");
port = (String) AccessController.doPrivileged(getProperty);
if (port != null)
{
@@ -112,7 +112,7 @@ public final class Connection extends HttpURLConnection
}
}
- getProperty.setName("http.agent");
+ getProperty.setParameters("http.agent");
userAgent = (String) AccessController.doPrivileged(getProperty);
}
OpenPOWER on IntegriCloud