Browse Source

Add / fix @since tags

Change-Id: I1e5bea968b3c79df4f600b75fde5b547ebadde36
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
stable-3.2
Matthias Sohn 11 years ago
parent
commit
72c7618571
  1. 2
      org.eclipse.jgit/src/org/eclipse/jgit/api/DescribeCommand.java
  2. 2
      org.eclipse.jgit/src/org/eclipse/jgit/api/Git.java
  3. 2
      org.eclipse.jgit/src/org/eclipse/jgit/transport/ServiceMayNotContinueException.java

2
org.eclipse.jgit/src/org/eclipse/jgit/api/DescribeCommand.java

@ -68,7 +68,7 @@ import static org.eclipse.jgit.lib.Constants.R_TAGS;
/** /**
* Given a commit, show the most recent tag that is reachable from a commit. * Given a commit, show the most recent tag that is reachable from a commit.
* *
* @since 3.1 * @since 3.2
*/ */
public class DescribeCommand extends GitCommand<String> { public class DescribeCommand extends GitCommand<String> {
private final RevWalk w; private final RevWalk w;

2
org.eclipse.jgit/src/org/eclipse/jgit/api/Git.java

@ -668,7 +668,7 @@ public class Git {
* commit in terms of the nearest git tag. * commit in terms of the nearest git tag.
* *
* @return a {@link DescribeCommand}. * @return a {@link DescribeCommand}.
* @since 3.1 * @since 3.2
*/ */
public DescribeCommand describe() { public DescribeCommand describe() {
return new DescribeCommand(repo); return new DescribeCommand(repo);

2
org.eclipse.jgit/src/org/eclipse/jgit/transport/ServiceMayNotContinueException.java

@ -77,6 +77,7 @@ public class ServiceMayNotContinueException extends IOException {
* be shown to an end-user. * be shown to an end-user.
* @param cause * @param cause
* the cause of the exception. * the cause of the exception.
* @since 3.2
*/ */
public ServiceMayNotContinueException(String msg, Throwable cause) { public ServiceMayNotContinueException(String msg, Throwable cause) {
super(msg); super(msg);
@ -88,6 +89,7 @@ public class ServiceMayNotContinueException extends IOException {
* *
* @param cause * @param cause
* the cause of the exception. * the cause of the exception.
* @since 3.2
*/ */
public ServiceMayNotContinueException(Throwable cause) { public ServiceMayNotContinueException(Throwable cause) {
this(JGitText.get().internalServerError, cause); this(JGitText.get().internalServerError, cause);

Loading…
Cancel
Save