[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Patch: File(URI) constructor.
From: |
Jeroen Frijters |
Subject: |
RE: Patch: File(URI) constructor. |
Date: |
Tue, 6 Jul 2004 20:42:59 +0200 |
Bryce McKinlay wrote:
> Jeroen Frijters wrote:
> >Bryce McKinlay wrote:
> >>Should this use equalsIgnoreCase() ?
> >
> >Isn't the scheme always in lowercase?
> >
> Basied on the result of my quick test case, it will be in
> whatever case was used when constructing the URI instance.
> Presumably, URI schemes are also case insensitive.
Apparently. This surprises me since URL protocols are always converted
to lowercase.
> Our URI implementation appears to be buggy,
> however.
Not surprisingly, because the implementation of URI.equals() is "return
false;". Quite a few other methods are not implemented as well. :-(
Regards,
Jeroen