On Wed, Jul 19, 2006 at 07:53:08PM -0400, Thomas Minor wrote:
> Hello,
>
> The following (probably previously overlooked) patch implements
> java.net.URL.getContent(Class[]) correctly, as specified by the
> API.
>
> Thomas
>
>
>
> Index: URL.java
> ===================================================================
> RCS file: /sources/classpath/classpath/java/net/URL.java,v
> retrieving revision 1.54
> diff -u -r1.54 URL.java
> --- URL.java 20 Jun 2006 21:31:37 -0000 1.54
> +++ URL.java 19 Jul 2006 23:48:02 -0000
> @@ -545,8 +545,7 @@
> */
> public Object getContent(Class[] classes) throws IOException
> {
> - // FIXME: implement this
> - return getContent();
> + return openConnection.getContent(classes);
Do you mean this?
return openConnection().getContent(classes);
Cheers,
Michael
--
http://www.worldforge.org/