]> source.dussan.org Git - jgit.git/commitdiff
Add missing @since tags to mark API added in 2.2 30/8730/2
authorMatthias Sohn <matthias.sohn@sap.com>
Fri, 16 Nov 2012 01:04:58 +0000 (02:04 +0100)
committerChris Aniszczyk <zx@twitter.com>
Fri, 16 Nov 2012 18:08:07 +0000 (10:08 -0800)
Change-Id: I458167739210214fa54c4b3d62fac5abc82f96f7
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Signed-off-by: Chris Aniszczyk <zx@twitter.com>
org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/CLIText.java
org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/TextBuiltin.java
org.eclipse.jgit/src/org/eclipse/jgit/dircache/DirCacheEntry.java
org.eclipse.jgit/src/org/eclipse/jgit/storage/dfs/BeforeDfsPackIndexLoadedListener.java
org.eclipse.jgit/src/org/eclipse/jgit/storage/dfs/DfsPackFile.java
org.eclipse.jgit/src/org/eclipse/jgit/util/RawParseUtils.java
org.eclipse.jgit/src/org/eclipse/jgit/util/io/ThrowingPrintWriter.java

index 5a0b8b287536ee0a7cae580b7c7dc2f921a51cb0..b784c37bd2007c30c1f082f1ccbb8627d100da74 100644 (file)
@@ -67,6 +67,7 @@ public class CLIText extends TranslationBundle {
         * @param line
         *            the line to format
         * @return the formatted line
+        * @since 2.2
         */
        public static String formatLine(String line) {
                return MessageFormat.format(get().lineFormat, line);
index fe8907bc20ab2194fc815407343eb733145cfb62..87437107d8e62561e7e85c03d37602d6187db7b8 100644 (file)
@@ -83,10 +83,18 @@ public abstract class TextBuiltin {
        @Option(name = "--help", usage = "usage_displayThisHelpText", aliases = { "-h" })
        private boolean help;
 
-       /** Writer to output to, typically this is standard output. */
+       /**
+        * Writer to output to, typically this is standard output.
+        *
+        * @since 2.2
+        */
        protected ThrowingPrintWriter outw;
 
-       /** Stream to output to, typically this is standard output. */
+       /**
+        * Stream to output to, typically this is standard output.
+        *
+        * @since 2.2
+        */
        protected OutputStream outs;
 
        /**
index 0b269b0d7c382d02a8eb3266d4f7e4d91cc9bd4c..95bc1129c356036911128e3dbb6f63b0c1a677b7 100644 (file)
@@ -450,6 +450,7 @@ public class DirCacheEntry {
         * Returns whether this entry is in the fully-merged stage (0).
         *
         * @return true if this entry is merged
+        * @since 2.2
         */
        public boolean isMerged() {
                return getStage() == STAGE_0;
index e0ddf4138f8477487d950e00a130dd2779703090..ab9dd428207783d0c19336799ee1d115a011b57c 100644 (file)
@@ -45,7 +45,11 @@ package org.eclipse.jgit.storage.dfs;
 
 import org.eclipse.jgit.events.RepositoryListener;
 
-/** Receives {@link BeforeDfsPackIndexLoadedEvent}s. */
+/**
+ * Receives {@link BeforeDfsPackIndexLoadedEvent}s.
+ *
+ * @since 2.2
+ */
 public interface BeforeDfsPackIndexLoadedListener extends RepositoryListener {
        /**
         * Invoked just before a pack index is loaded from the block cache.
index 3dabb9fc74ebae54c7d082209b4ac25851e194d3..ea8aa73cf08945b3d328b561505f0ac78e05bf2e 100644 (file)
@@ -172,7 +172,10 @@ public final class DfsPackFile {
                return packDesc;
        }
 
-       /** @return whether the pack index file is loaded and cached in memory. */
+       /**
+        * @return whether the pack index file is loaded and cached in memory.
+        * @since 2.2
+        */
        public boolean isIndexLoaded() {
                DfsBlockCache.Ref<PackIndex> idxref = index;
                return idxref != null && idxref.get() != null;
index 89fbeed8902588fbd9d65366761e2cbe9a00049e..c20474d11ca3fa42dfa06c31aed450eebff617fc 100644 (file)
@@ -67,6 +67,8 @@ import org.eclipse.jgit.lib.PersonIdent;
 public final class RawParseUtils {
        /**
         * UTF-8 charset constant.
+        *
+        * @since 2.2
         */
        public static final Charset UTF8_CHARSET = Charset.forName("UTF-8");
 
index 1c5c2b6b48d50841a35116fb5ca7941fcc0c62cb..e4a8fc080e40dd089b868b4bb5b25940ef389bc4 100644 (file)
@@ -51,6 +51,8 @@ import org.eclipse.jgit.util.SystemReader;
 
 /**
  * An alternative PrintWriter that doesn't catch exceptions.
+ *
+ * @since 2.2
  */
 public class ThrowingPrintWriter extends Writer {