Add missing @since tags

Change-Id: I7f2c155cab4b5be55f7e849ff2595c8c5d804f05
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
This commit is contained in:
Matthias Sohn 2013-06-15 01:10:33 +02:00
parent 4b68f2a532
commit c693a232b0
3 changed files with 13 additions and 8 deletions

View File

@ -95,10 +95,10 @@
* } * }
* </pre> * </pre>
* *
* @see <a href="http://git-htmldocs.googlecode.com/git/git-archive.html" * @see <a href="http://git-htmldocs.googlecode.com/git/git-archive.html" >Git
* >Git documentation about archive</a> * documentation about archive</a>
* *
* @since 3.0 * @since 3.1
*/ */
public class ArchiveCommand extends GitCommand<OutputStream> { public class ArchiveCommand extends GitCommand<OutputStream> {
/** /**

View File

@ -46,24 +46,25 @@ public abstract class GitAPIException extends Exception {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
/** /**
* Constructs a new exception with the specified detail * Constructs a new exception with the specified detail message and cause.
* message and cause.
* *
* @param message * @param message
* detail message * detail message
* @param cause * @param cause
* cause * cause
* @since 3.1
*/ */
protected GitAPIException(String message, Throwable cause) { protected GitAPIException(String message, Throwable cause) {
super(message, cause); super(message, cause);
} }
/** /**
* Constructs a new exception with the specified detail * Constructs a new exception with the specified detail message and no
* message and no cause. * cause.
* *
* @param message * @param message
* detail message * detail message
* @since 3.1
*/ */
protected GitAPIException(String message) { protected GitAPIException(String message) {
super(message); super(message);

View File

@ -707,6 +707,7 @@ public void sendAdvertisedRefs(final RefAdvertiser adv) throws IOException,
* @param what * @param what
* string describing the problem identified by the hook. The * string describing the problem identified by the hook. The
* string must not end with an LF, and must not contain an LF. * string must not end with an LF, and must not contain an LF.
* @since 3.1
*/ */
public void sendMessage(String what) { public void sendMessage(String what) {
try { try {
@ -716,7 +717,10 @@ public void sendMessage(String what) {
} }
} }
/** @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() { public OutputStream getMessageOutputStream() {
return msgOut; return msgOut;
} }