Browse Source

Add missing @since tags

Change-Id: I7f2c155cab4b5be55f7e849ff2595c8c5d804f05
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
stable-3.1
Matthias Sohn 12 years ago
parent
commit
c693a232b0
  1. 6
      org.eclipse.jgit/src/org/eclipse/jgit/api/ArchiveCommand.java
  2. 9
      org.eclipse.jgit/src/org/eclipse/jgit/api/errors/GitAPIException.java
  3. 6
      org.eclipse.jgit/src/org/eclipse/jgit/transport/UploadPack.java

6
org.eclipse.jgit/src/org/eclipse/jgit/api/ArchiveCommand.java

@ -95,10 +95,10 @@ import org.eclipse.jgit.treewalk.TreeWalk;
* } * }
* </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> {
/** /**

9
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; 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);

6
org.eclipse.jgit/src/org/eclipse/jgit/transport/UploadPack.java

@ -707,6 +707,7 @@ public class UploadPack {
* @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 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() { public OutputStream getMessageOutputStream() {
return msgOut; return msgOut;
} }

Loading…
Cancel
Save