[Patch] java.net.URLConnection

Michael Koch konqueror@gmx.de
Wed Apr 20 05:39:00 GMT 2005


Hi list,


I just commited the attached patch to reduce the diff against the
version from GNU classpath.


Michael


2005-04-20  Michael Koch  <konqueror@gmx.de>

	* java/net/URLConnection.java
	(getContent): Fixed javadoc comment.

-------------- next part --------------
Index: java/net/URLConnection.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/net/URLConnection.java,v
retrieving revision 1.34
diff -u -r1.34 URLConnection.java
--- java/net/URLConnection.java	28 Sep 2004 11:02:35 -0000	1.34
+++ java/net/URLConnection.java	20 Apr 2005 05:37:11 -0000
@@ -432,6 +432,8 @@
    * <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 @@
    *
    * @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


More information about the Java-patches mailing list