aboutsummaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit/src/org/eclipse/jgit/storage
diff options
context:
space:
mode:
authorTomasz Zarna <tzarna@gmail.com>2013-03-20 23:48:34 +0100
committerGerrit Code Review @ Eclipse.org <gerrit@eclipse.org>2013-03-21 18:03:20 -0400
commit48f30b8614cb174256c2cb4d5d25a5bf35464fec (patch)
tree998d2509bc65a820002ac967da1aec02b800b103 /org.eclipse.jgit/src/org/eclipse/jgit/storage
parent9aee4e0a26bc394a3d4871320526c37344841ee2 (diff)
downloadjgit-48f30b8614cb174256c2cb4d5d25a5bf35464fec.tar.gz
jgit-48f30b8614cb174256c2cb4d5d25a5bf35464fec.zip
Fix @since tags in JGit, version 2.4 never existed
Change-Id: Iaca88ec28b412e6b58e7b39a0762ba54b25f9471 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'org.eclipse.jgit/src/org/eclipse/jgit/storage')
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/storage/file/FileRepositoryBuilder.java1
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/storage/file/WindowCacheConfig.java3
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/storage/pack/PackConfig.java5
3 files changed, 8 insertions, 1 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/storage/file/FileRepositoryBuilder.java b/org.eclipse.jgit/src/org/eclipse/jgit/storage/file/FileRepositoryBuilder.java
index 60c916ebcc..5efa2507a8 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/storage/file/FileRepositoryBuilder.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/storage/file/FileRepositoryBuilder.java
@@ -85,6 +85,7 @@ public class FileRepositoryBuilder extends
* @throws IOException
* the repository could not be accessed to configure the rest of
* the builder's parameters.
+ * @since 3.0
*/
@Override
public Repository build() throws IOException {
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/storage/file/WindowCacheConfig.java b/org.eclipse.jgit/src/org/eclipse/jgit/storage/file/WindowCacheConfig.java
index 8ed2af1171..69abd0d976 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/storage/file/WindowCacheConfig.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/storage/file/WindowCacheConfig.java
@@ -189,6 +189,7 @@ public class WindowCacheConfig {
* @param rc
* configuration to read properties from.
* @return {@code this}.
+ * @since 3.0
*/
public WindowCacheConfig fromConfig(final Config rc) {
setPackedGitOpenFiles(rc.getInt(
@@ -217,6 +218,8 @@ public class WindowCacheConfig {
* 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.
+ *
+ * @since 3.0
*/
public void install() {
WindowCache.reconfigure(this);
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/storage/pack/PackConfig.java b/org.eclipse.jgit/src/org/eclipse/jgit/storage/pack/PackConfig.java
index 7559e907ef..562b2c0a2c 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/storage/pack/PackConfig.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/storage/pack/PackConfig.java
@@ -53,7 +53,7 @@ import org.eclipse.jgit.lib.Repository;
/**
* Configuration used by a pack writer when constructing the stream.
- *
+ *
* A configuration may be modified once created, but should not be modified
* while it is being used by a PackWriter. If a configuration is not modified it
* is safe to share the same configuration instance between multiple concurrent
@@ -134,6 +134,7 @@ public class PackConfig {
* Default value of the build bitmaps option: {@value}
*
* @see #setBuildBitmaps(boolean)
+ * @since 3.0
*/
public static final boolean DEFAULT_BUILD_BITMAPS = true;
@@ -631,6 +632,7 @@ public class PackConfig {
*
* @return true if delta base is the writer can choose to output an index
* with bitmaps.
+ * @since 3.0
*/
public boolean isBuildBitmaps() {
return buildBitmaps;
@@ -646,6 +648,7 @@ public class PackConfig {
* @param buildBitmaps
* boolean indicating whether bitmaps may be included in the
* index.
+ * @since 3.0
*/
public void setBuildBitmaps(boolean buildBitmaps) {
this.buildBitmaps = buildBitmaps;