diff options
author | mkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-06-18 08:09:48 +0000 |
---|---|---|
committer | mkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-06-18 08:09:48 +0000 |
commit | a532549d8108ecdf1c16bde5206a2e78ce55952b (patch) | |
tree | e529fe1e2d5d41a2df816d422b60340be69459ef /libjava/java/net/URLConnection.java | |
parent | e2bc705be72b3901bea44c3c17c13cf4950ad7e8 (diff) | |
download | ppe42-gcc-a532549d8108ecdf1c16bde5206a2e78ce55952b.tar.gz ppe42-gcc-a532549d8108ecdf1c16bde5206a2e78ce55952b.zip |
2003-06-18 Michael Koch <konqueror@gmx.de>
* java/net/InetAddress.java:
Reformatted to better match classpath's version.
* java/net/URL.java
(equals): Simplified.
* java/net/URLConnection.java
(setDoInput): Revised documentation.
(getDefaultUseCaches): Likewise.
(setRequestProperty): Added @since tag.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68143 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/java/net/URLConnection.java')
-rw-r--r-- | libjava/java/net/URLConnection.java | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/libjava/java/net/URLConnection.java b/libjava/java/net/URLConnection.java index 7684e527816..7d2ab44f6c5 100644 --- a/libjava/java/net/URLConnection.java +++ b/libjava/java/net/URLConnection.java @@ -509,7 +509,8 @@ public abstract class URLConnection * to be done for this connection. This default to true unless the * doOutput flag is set to false, in which case this defaults to false. * - * @param doinput The new value of the doInput field + * @param input <code>true</code> if input is to be done, + * <code>false</code> otherwise * * @exception IllegalStateException If already connected */ @@ -671,7 +672,10 @@ public abstract class URLConnection } /** - * Returns the default value of the useCaches field + * Returns the default value used to determine whether or not caching + * of documents will be done when possible. + * + * @return true if caches will be used, false otherwise */ public boolean getDefaultUseCaches() { @@ -701,6 +705,8 @@ public abstract class URLConnection * * @see URLConnection#getRequestProperty(String key) * @see URLConnection#addRequestProperty(String key, String value) + * + * @since 1.4 */ public void setRequestProperty(String key, String value) { |