[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: Daniel L. Rall <dlr_at_finemaltcoding.com>
Date: Thu, 3 Jul 2008 18:25:20 -0700

On Fri, 04 Jul 2008, Talden 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)://
>
> Correct. You'd need to provide a handler for that protocol.

Retarded:

1) testPathIsURL(org.tigris.subversion.javahl.BasicTests)junit.framework.AssertionFailedError: 'svn://example.com' should be considered a URL
        at org.tigris.subversion.javahl.BasicTests.testPathIsURL(BasicTests.java:173)

Fixed in r31996.

Thanks, Dan

  • application/pgp-signature attachment: stored
Received on 2008-07-04 03:26:11 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.