[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: r31993 - JavaHL Path.isUrl method

From: Talden <talden_at_gmail.com>
Date: Fri, 4 Jul 2008 13:02:10 +1200

>> Not sure if you have any plans for this method, but it is generally
>> not a good idea to use the java.net.URL class any more than necessary.
>> When you construct the class doesn't it try to make a connection to
>> the URL? It can make things very slow to use it.
>
> I also seem to recall this class does not consider svn:// a valid URL.
> Just the protocols it knows how to handle, like file:// and
> http(s)://

Correct. You'd need to provide a handler for that protocol.

--
Talden
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-07-04 03:03:01 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.