Patch: more protocol fun in URL
Mark Wielaard
mark@klomp.org
Sun Jul 4 12:24:00 GMT 2004
Hi,
On Sat, 2004-07-03 at 16:25, Anthony Green wrote:
> Mark came up with the patch to not change the protocol handler when not
> required. My addition was proper case conversion. Ok for HEAD (and
> Classpath)?
>
> 2004-07-03 Mark Wielaard <mark@klomp.org>
> Anthony Green <green@redhat.com>
>
> * java/net/URL.java: (set): Convert protocol to lower case before
> doing anything.
> Only change the protocol handler if it's different.
This one didn't apply cleanly to GNU Classpath CVS. So I committed a
slightly different one (attached). I'll try to merge java/net/URL.java
with libgcj later.
Cheers,
Mark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: URL.patch1
Type: text/x-patch
Size: 1945 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20040704/e99f1466/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/e99f1466/attachment.sig>
More information about the Java-patches
mailing list