[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: Mark Phippard <markphip_at_gmail.com>
Date: Thu, 3 Jul 2008 20:59:16 -0400

On Thu, Jul 3, 2008 at 8:49 PM, Mark Phippard <markphip_at_gmail.com> wrote:

> 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)://

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
---------------------------------------------------------------------
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 02:59:54 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.