diff options
author | Robin Rosenberg | 2013-04-15 23:07:56 +0000 |
---|---|---|
committer | Matthias Sohn | 2013-04-24 13:41:21 +0000 |
commit | 10ed2a43aa1ad63bcdfcb903e4ef28d98b1e6273 (patch) | |
tree | 57c58afe8a89f15c7b08517937e50afb214e77aa | |
parent | 3ca51dd98bb3760ad197704d21d9d0f5f6b23a1c (diff) | |
download | egit-10ed2a43aa1ad63bcdfcb903e4ef28d98b1e6273.tar.gz egit-10ed2a43aa1ad63bcdfcb903e4ef28d98b1e6273.tar.xz egit-10ed2a43aa1ad63bcdfcb903e4ef28d98b1e6273.zip |
Avoid internal use of WindowCache.reconfigure
Change-Id: I487959f40d7d03ad8f9b6f8b547208ca8604ecd4
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
-rw-r--r-- | org.eclipse.egit.core/src/org/eclipse/egit/core/project/GitProjectData.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/org.eclipse.egit.core/src/org/eclipse/egit/core/project/GitProjectData.java b/org.eclipse.egit.core/src/org/eclipse/egit/core/project/GitProjectData.java index aa5cff80da..680c4dedb2 100644 --- a/org.eclipse.egit.core/src/org/eclipse/egit/core/project/GitProjectData.java +++ b/org.eclipse.egit.core/src/org/eclipse/egit/core/project/GitProjectData.java @@ -47,7 +47,6 @@ import org.eclipse.egit.core.internal.CoreText; import org.eclipse.egit.core.internal.trace.GitTraceLocation; import org.eclipse.jgit.lib.Constants; import org.eclipse.jgit.lib.Repository; -import org.eclipse.jgit.internal.storage.file.WindowCache; import org.eclipse.jgit.storage.file.WindowCacheConfig; import org.eclipse.jgit.util.FileUtils; import org.eclipse.osgi.util.NLS; @@ -276,7 +275,7 @@ public class GitProjectData { c.setPackedGitMMAP(p.getBoolean(GitCorePreferences.core_packedGitMMAP, d.getBoolean(GitCorePreferences.core_packedGitMMAP, false))); c.setDeltaBaseCacheLimit(p.getInt(GitCorePreferences.core_deltaBaseCacheLimit, d.getInt(GitCorePreferences.core_deltaBaseCacheLimit, 0))); c.setStreamFileThreshold(p.getInt(GitCorePreferences.core_streamFileThreshold, d.getInt(GitCorePreferences.core_streamFileThreshold, 0))); - WindowCache.reconfigure(c); + c.install(); } private final IProject project; |