aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Borowitz2011-11-03 15:43:03 -0400
committerShawn O. Pearce2011-11-04 14:14:32 -0400
commit5a38e5b440d884d95d503c34fa5b81a7a0e41be8 (patch)
tree1011b9aa501245d2f0e7c93477ad0e9a489d9d2d
parentfa4cc2475fb127783e98ddb56b6c1fd155cd2bc4 (diff)
downloadjgit-5a38e5b440d884d95d503c34fa5b81a7a0e41be8.zip
jgit-5a38e5b440d884d95d503c34fa5b81a7a0e41be8.tar.gz
jgit-5a38e5b440d884d95d503c34fa5b81a7a0e41be8.tar.xz
Clarify the docstring of DfsBlockCache.reconfigure()
The docstring was copied from the local filesystem cache code, which actually attempted to reconfigure the cache on the fly. The DFS cache is designed to be "reconfigured" exactly once. Change-Id: Ia0b01f5d6b6b3d3a68d65a5c229ff67c1cede5bc
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/storage/dfs/DfsBlockCache.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/storage/dfs/DfsBlockCache.java b/org.eclipse.jgit/src/org/eclipse/jgit/storage/dfs/DfsBlockCache.java
index 6379b70..3ae9690 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/storage/dfs/DfsBlockCache.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/storage/dfs/DfsBlockCache.java
@@ -99,9 +99,8 @@ public final class DfsBlockCache {
/**
* Modify the configuration of the window cache.
* <p>
- * The new configuration is applied immediately. If the new limits are
- * smaller than what what is currently cached, older entries will be purged
- * as soon as possible to allow the cache to meet the new limit.
+ * The new configuration is applied immediately, and the existing cache is
+ * cleared.
*
* @param cfg
* the new window cache configuration.