From c693a232b042fab7748dce956f642a77865d3482 Mon Sep 17 00:00:00 2001 From: Matthias Sohn Date: Sat, 15 Jun 2013 01:10:33 +0200 Subject: [PATCH] Add missing @since tags Change-Id: I7f2c155cab4b5be55f7e849ff2595c8c5d804f05 Signed-off-by: Matthias Sohn --- .../src/org/eclipse/jgit/api/ArchiveCommand.java | 6 +++--- .../src/org/eclipse/jgit/api/errors/GitAPIException.java | 9 +++++---- .../src/org/eclipse/jgit/transport/UploadPack.java | 6 +++++- 3 files changed, 13 insertions(+), 8 deletions(-) diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/api/ArchiveCommand.java b/org.eclipse.jgit/src/org/eclipse/jgit/api/ArchiveCommand.java index 3ae0666b45..e8e4ffd754 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/api/ArchiveCommand.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/api/ArchiveCommand.java @@ -95,10 +95,10 @@ import org.eclipse.jgit.treewalk.TreeWalk; * } * * - * @see Git documentation about archive + * @see Git + * documentation about archive * - * @since 3.0 + * @since 3.1 */ public class ArchiveCommand extends GitCommand { /** diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/api/errors/GitAPIException.java b/org.eclipse.jgit/src/org/eclipse/jgit/api/errors/GitAPIException.java index 9760c49e96..b251c7ddf2 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/api/errors/GitAPIException.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/api/errors/GitAPIException.java @@ -46,24 +46,25 @@ public abstract class GitAPIException extends Exception { private static final long serialVersionUID = 1L; /** - * Constructs a new exception with the specified detail - * message and cause. + * Constructs a new exception with the specified detail message and cause. * * @param message * detail message * @param cause * cause + * @since 3.1 */ protected GitAPIException(String message, Throwable cause) { super(message, cause); } /** - * Constructs a new exception with the specified detail - * message and no cause. + * Constructs a new exception with the specified detail message and no + * cause. * * @param message * detail message + * @since 3.1 */ protected GitAPIException(String message) { super(message); diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/transport/UploadPack.java b/org.eclipse.jgit/src/org/eclipse/jgit/transport/UploadPack.java index 53f3285032..ffad4c6b51 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/transport/UploadPack.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/transport/UploadPack.java @@ -707,6 +707,7 @@ public class UploadPack { * @param what * string describing the problem identified by the hook. The * string must not end with an LF, and must not contain an LF. + * @since 3.1 */ public void sendMessage(String what) { try { @@ -716,7 +717,10 @@ public class UploadPack { } } - /** @return an underlying stream for sending messages to the client, or null. */ + /** + * @return an underlying stream for sending messages to the client, or null. + * @since 3.1 + */ public OutputStream getMessageOutputStream() { return msgOut; } -- 2.39.5