diff options
-rw-r--r-- | libjava/ChangeLog | 5 | ||||
-rw-r--r-- | libjava/java/net/URLConnection.java | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 109791be76c..f989f1fdb18 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,8 @@ +2005-04-20 Michael Koch <konqueror@gmx.de> + + * java/net/URLConnection.java + (getContent): Fixed javadoc comment. + 2005-04-20 Andrew John Hughes <gnu_andrew@member.fsf.org> * java/net/URL.java: diff --git a/libjava/java/net/URLConnection.java b/libjava/java/net/URLConnection.java index 3b3355cc11e..f636ddd3bf5 100644 --- a/libjava/java/net/URLConnection.java +++ b/libjava/java/net/URLConnection.java @@ -432,6 +432,8 @@ public abstract class URLConnection * <code>UnknownServiceException</code> so subclasses are encouraged * to override this method.</p> * + * @return the content + * * @exception IOException If an error with the connection occurs. * @exception UnknownServiceException If the protocol does not support the * content type at all. @@ -459,6 +461,8 @@ public abstract class URLConnection * * @param classes The allowed classes for the content * + * @return the content + * * @exception IOException If an error occurs * @exception UnknownServiceException If the protocol does not support the * content type |