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

Re: [PATCH] Make constructors of some JavaHL classes public

From: Mark Phippard <markphip_at_gmail.com>
Date: Wed, 4 Sep 2013 09:50:51 -0400

On Wed, Sep 4, 2013 at 9:47 AM, Branko Čibej <brane_at_wandisco.com> wrote:

> On 04.09.2013 15:03, Dmitry Pavlenko wrote:
> > Hello all!
> > There're 2 classes in JavaHL interface (CommitItem and ConflictVersion)
> that have package local
> > constructors that makes it difficult to construct them from SVNKit. I
> would ask you to make the
> > constructors public.
>
> I disagree. Those constructors are not meant to be used by the JavaHL
> API consumers. If SVNKit wants to instantiate those classes for some
> reason, it'll have to do some package injection magic.
>
> Although I have trouble understanding why SVNKit would want to use
> JavaHL ...
>

Besides providing its own Java API for working with Subversion, SVNKit also
provides an implementation of the JavaHL interfaces. This allows
applications like Subclipse, which are written to the JavaHL interfaces, to
swap in SVNKit or the native libraries as the implementation at runtime.

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
Received on 2013-09-04 15:51:33 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.