Patch: URL.getFile() tweak and doc improvements

Mark Wielaard mark@klomp.org
Sun Jul 4 12:34:00 GMT 2004


Hi,

On Sat, 2004-07-03 at 16:34, Anthony Green wrote:
> This patch was discovered by Mark Wielaard while getting Eclipse 3 to
> run.  I added the javadoc clarifications.  Ok for HEAD (and Classpath)?

> 2004-07-03  Mark Wielaard  <mark@klomp.org>
>             Anthony Green  <green@redhat.com>
> 
> 	* java/net/URL.java (getFile): Clarify return value doc.
> 	(getPath): Return null if file is empty - not empty String.

Thanks. I added a little comment to the code that we are explicitly not
following the online JDK 1.4 documentation for this class. Otherwise
their is a real chance that someone writes a mauve tests and re-fixes
this method.

Cheers,

Mark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: URL.patch2
Type: text/x-patch
Size: 1275 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20040704/2d9ddef5/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20040704/2d9ddef5/attachment.sig>


More information about the Java-patches mailing list