Re: toURL for Strings?
On 2008-04-15 17:38:09 Stepan Koltsov wrote:
> Probably, toURL should be renamed to toUrl.
I agree that toUrl is preferable as a general convention and I use it
in my own code, which makes this case rather awkward: the equivalent
method on File is called toURL.
I think on balance it's probably better (i.e. least unexpected) to be
consistent with Java.
/J