Extract public class RepositoryCache from GitProjectData
commit506fb7a70eee7f970682e9218d599ea63bd0d88d
authorJens Baumgart <jens.baumgart@sap.com>
Thu, 27 May 2010 16:30:19 +0000 (27 18:30 +0200)
committerJens Baumgart <jens.baumgart@sap.com>
Thu, 27 May 2010 16:30:19 +0000 (27 18:30 +0200)
tree85c7f31f1905bc0fff0757e2b39f54e63127e3bd
parent4e4fd9228e380be07b0b2a469db268d6da213b69
Extract public class RepositoryCache from GitProjectData

GitProjectData contains a cache for Repository instances.
This cache is used for Reposiotry instances related to
projects. Since there are also Repository instances with no
related project (e.g. in RepositoriesView) the cache was moved
to a public class RepositoryCache to enable sharing Repository
instances even if there is no related project.

Change-Id: I5526362279d87fd6f2651ee991bb08ea4cd65c2b
Signed-off-by: Jens Baumgart <jens.baumgart@sap.com>
org.eclipse.egit.core/src/org/eclipse/egit/core/Activator.java
org.eclipse.egit.core/src/org/eclipse/egit/core/RepositoryCache.java [new file with mode: 0644]
org.eclipse.egit.core/src/org/eclipse/egit/core/project/GitProjectData.java