Add missing @since tags

Change-Id: Ic4fabec818d6fe336d3256ddc95934271272914a
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
This commit is contained in:
Matthias Sohn 2013-11-08 09:04:56 +01:00
parent 979e346711
commit 7cae388118
7 changed files with 14 additions and 0 deletions

View File

@ -180,6 +180,7 @@ public enum Operation {
ABORT, ABORT,
/** /**
* Starts processing steps * Starts processing steps
* @since 3.2
*/ */
PROCESS_STEPS; PROCESS_STEPS;
} }
@ -1202,6 +1203,7 @@ public RebaseCommand runInteractively(InteractiveHandler handler) {
* @param stopAfterRebaseInteractiveInitialization * @param stopAfterRebaseInteractiveInitialization
* if {@code true} the rebase stops after initialization * if {@code true} the rebase stops after initialization
* @return this instance * @return this instance
* @since 3.2
*/ */
public RebaseCommand runInteractively(InteractiveHandler handler, public RebaseCommand runInteractively(InteractiveHandler handler,
final boolean stopAfterRebaseInteractiveInitialization) { final boolean stopAfterRebaseInteractiveInitialization) {

View File

@ -86,6 +86,8 @@ public boolean isSuccessful() {
}, },
/** /**
* Stopped for editing in the context of an interactive rebase * Stopped for editing in the context of an interactive rebase
*
* @since 3.2
*/ */
EDIT { EDIT {
@Override @Override
@ -144,6 +146,7 @@ public boolean isSuccessful() {
/** /**
* Interactive rebase has been prepared * Interactive rebase has been prepared
* @since 3.2
*/ */
INTERACTIVE_PREPARED { INTERACTIVE_PREPARED {
@Override @Override

View File

@ -40,6 +40,8 @@
/** /**
* Exception thrown if a rebase step is invalid. E.g., a rebase must not start * Exception thrown if a rebase step is invalid. E.g., a rebase must not start
* with squash or fixup. * with squash or fixup.
*
* @since 3.2
*/ */
public class InvalidRebaseStepException extends GitAPIException { public class InvalidRebaseStepException extends GitAPIException {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;

View File

@ -58,6 +58,8 @@
/** /**
* Offers methods to read and write files formatted like the git-rebase-todo * Offers methods to read and write files formatted like the git-rebase-todo
* file * file
*
* @since 3.2
*/ */
public class RebaseTodoFile { public class RebaseTodoFile {
private Repository repo; private Repository repo;

View File

@ -50,6 +50,8 @@
/** /**
* Describes a single line in a file formatted like the git-rebase-todo file. * Describes a single line in a file formatted like the git-rebase-todo file.
*
* @since 3.2
*/ */
public class RebaseTodoLine { public class RebaseTodoLine {
/** /**

View File

@ -1575,6 +1575,7 @@ private void writeHeadsFile(List<ObjectId> heads, String filename)
* <code>true</code> if also comments should be reported * <code>true</code> if also comments should be reported
* @return the list of steps * @return the list of steps
* @throws IOException * @throws IOException
* @since 3.2
*/ */
public List<RebaseTodoLine> readRebaseTodo(String path, public List<RebaseTodoLine> readRebaseTodo(String path,
boolean includeComments) boolean includeComments)
@ -1593,6 +1594,7 @@ public List<RebaseTodoLine> readRebaseTodo(String path,
* @param append * @param append
* whether to append to an existing file or to write a new file * whether to append to an existing file or to write a new file
* @throws IOException * @throws IOException
* @since 3.2
*/ */
public void writeRebaseTodoFile(String path, List<RebaseTodoLine> steps, public void writeRebaseTodoFile(String path, List<RebaseTodoLine> steps,
boolean append) boolean append)

View File

@ -511,6 +511,7 @@ final HttpURLConnection httpOpen(URL u) throws IOException {
* @param u * @param u
* @return the connection * @return the connection
* @throws IOException * @throws IOException
* @since 3.2
*/ */
protected HttpURLConnection httpOpen(String method, URL u) protected HttpURLConnection httpOpen(String method, URL u)
throws IOException { throws IOException {