Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jgit-dev] RepositoryBuilder vs FileRepositoryBuilder

Prior to JGit the top level builders were public: in 3.0 they were moved to the internal package. The lib/RepositoryBuilder.java is a leftover from before this change and the implementation was pulled up to the BaseRepositoryBuilder instead. See f32b86. 

You should use FileRepositoryBuilder instead. Perhaps the RepositoryBuilder should be marked as @deprecated.

Alex

Sent from my iPhone 5

> On 2 Sep 2014, at 21:57, Rüdiger Herrmann <ruediger.herrmann@xxxxxx> wrote:
> 
> Hi,
> 
> there is a RepositoryBuilder and a FileRepositoryBuilder and no obvious difference between the two. Can someone shed some light and exlpain which one is to be preferred? Will one of them be deprecated or removed in the future?
> 
> TIA,
> Rüdiger
> _______________________________________________
> jgit-dev mailing list
> jgit-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
> https://dev.eclipse.org/mailman/listinfo/jgit-dev


Back to the top