toURL for Strings?

View: New views
4 Messages — Rating Filter:   Alert me  

toURL for Strings?

by Jorge Ortiz-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

See attached.

--j


tourl.patch (844 bytes) Download Attachment

Re: toURL for Strings?

by Jamie Webb-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 2008-04-15 03:20:47 Jorge Ortiz wrote:
> See attached.

Thanks Jorge, makes sense.

I know it's only a trivial patch, but do you mind sending me a CLA?

  http://scalax.scalaforge.org/cla-i.html

Cheers

/J


Re: toURL for Strings?

by Stepan Koltsov :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Probably, toURL should be renamed to toUrl.

S.

On Tue, Apr 15, 2008 at 2:20 PM, Jorge Ortiz <jorge.ortiz@...> wrote:
> See attached.


Re: toURL for Strings?

by Jamie Webb-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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