From 05a7113002063b80cf48591594c7e01cd2111ec6 Mon Sep 17 00:00:00 2001 From: Matthias Sohn Date: Fri, 16 Nov 2012 02:04:58 +0100 Subject: Add missing @since tags to mark API added in 2.2 Change-Id: I458167739210214fa54c4b3d62fac5abc82f96f7 Signed-off-by: Matthias Sohn Signed-off-by: Chris Aniszczyk --- org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/CLIText.java | 1 + .../src/org/eclipse/jgit/pgm/TextBuiltin.java | 12 ++++++++++-- 2 files changed, 11 insertions(+), 2 deletions(-) (limited to 'org.eclipse.jgit.pgm') diff --git a/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/CLIText.java b/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/CLIText.java index 5a0b8b2875..b784c37bd2 100644 --- a/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/CLIText.java +++ b/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/CLIText.java @@ -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); diff --git a/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/TextBuiltin.java b/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/TextBuiltin.java index fe8907bc20..87437107d8 100644 --- a/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/TextBuiltin.java +++ b/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/TextBuiltin.java @@ -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; /** -- cgit v1.2.3