commands,
final Result want) {
@@ -195,6 +196,7 @@ public class ReceiveCommand {
* name of the ref being affected.
* @param type
* type of the command.
+ * @since 2.0
*/
public ReceiveCommand(final ObjectId oldId, final ObjectId newId,
final String name, final Type type) {
@@ -269,6 +271,7 @@ public class ReceiveCommand {
*
* @param rp
* receive-pack session.
+ * @since 2.0
*/
public void execute(final ReceivePack rp) {
try {
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/transport/RequestNotYetReadException.java b/org.eclipse.jgit/src/org/eclipse/jgit/transport/RequestNotYetReadException.java
index 4de6fa30e..8b45174c0 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/transport/RequestNotYetReadException.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/transport/RequestNotYetReadException.java
@@ -43,7 +43,11 @@
package org.eclipse.jgit.transport;
-/** Indicates that a client request has not yet been read from the wire. */
+/**
+ * Indicates that a client request has not yet been read from the wire.
+ *
+ * @since 2.0
+ */
public class RequestNotYetReadException extends IllegalStateException {
private static final long serialVersionUID = 1L;
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/transport/ServiceMayNotContinueException.java b/org.eclipse.jgit/src/org/eclipse/jgit/transport/ServiceMayNotContinueException.java
index bf85068f2..86f644682 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/transport/ServiceMayNotContinueException.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/transport/ServiceMayNotContinueException.java
@@ -45,7 +45,11 @@ package org.eclipse.jgit.transport;
import java.io.IOException;
-/** Indicates a transport service may not continue execution. */
+/**
+ * Indicates a transport service may not continue execution.
+ *
+ * @since 2.0
+ */
public class ServiceMayNotContinueException extends IOException {
private static final long serialVersionUID = 1L;
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/transport/SideBandOutputStream.java b/org.eclipse.jgit/src/org/eclipse/jgit/transport/SideBandOutputStream.java
index 8fe78b680..770fcbed8 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/transport/SideBandOutputStream.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/transport/SideBandOutputStream.java
@@ -54,6 +54,8 @@ import org.eclipse.jgit.internal.JGitText;
*
* This stream is buffered at packet sizes, so the caller doesn't need to wrap
* it in yet another buffered stream.
+ *
+ * @since 2.0
*/
public class SideBandOutputStream extends OutputStream {
/** Channel used for pack data. */
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/treewalk/AbstractTreeIterator.java b/org.eclipse.jgit/src/org/eclipse/jgit/treewalk/AbstractTreeIterator.java
index ca5fec2a9..752f20bf3 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/treewalk/AbstractTreeIterator.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/treewalk/AbstractTreeIterator.java
@@ -651,6 +651,7 @@ public abstract class AbstractTreeIterator {
* JGit internal API for use by {@link DirCacheCheckout}
*
* @return start of name component part within {@link #getEntryPathBuffer()}
+ * @since 2.0
*/
public int getNameOffset() {
return pathOffset;
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/util/FileUtils.java b/org.eclipse.jgit/src/org/eclipse/jgit/util/FileUtils.java
index 604363847..11215c8c1 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/util/FileUtils.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/util/FileUtils.java
@@ -79,6 +79,7 @@ public class FileUtils {
/**
* Option not to throw exceptions when a deletion finally doesn't succeed.
+ * @since 2.0
*/
public static final int IGNORE_ERRORS = 8;
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/util/IO.java b/org.eclipse.jgit/src/org/eclipse/jgit/util/IO.java
index 910d98201..4abe4a875 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/util/IO.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/util/IO.java
@@ -339,6 +339,7 @@ public class IO {
* @param s
* the string to read
* @return the string divided into lines
+ * @since 2.0
*/
public static List readLines(final String s) {
List l = new ArrayList();
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/util/StringUtils.java b/org.eclipse.jgit/src/org/eclipse/jgit/util/StringUtils.java
index f423f98e2..efb9abd87 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/util/StringUtils.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/util/StringUtils.java
@@ -132,6 +132,7 @@ public final class StringUtils {
* second string to compare.
* @return negative, zero or positive if a sorts before, is equal to, or
* sorts after b.
+ * @since 2.0
*/
public static int compareIgnoreCase(String a, String b) {
for (int i = 0; i < a.length() && i < b.length(); i++) {
@@ -154,6 +155,7 @@ public final class StringUtils {
* second string to compare.
* @return negative, zero or positive if a sorts before, is equal to, or
* sorts after b.
+ * @since 2.0
*/
public static int compareWithCase(String a, String b) {
for (int i = 0; i < a.length() && i < b.length(); i++) {
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/util/io/EolCanonicalizingInputStream.java b/org.eclipse.jgit/src/org/eclipse/jgit/util/io/EolCanonicalizingInputStream.java
index 954c64676..592183658 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/util/io/EolCanonicalizingInputStream.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/util/io/EolCanonicalizingInputStream.java
@@ -72,11 +72,12 @@ public class EolCanonicalizingInputStream extends InputStream {
/**
* Creates a new InputStream, wrapping the specified stream
- *
+ *
* @param in
* raw input stream
* @param detectBinary
* whether binaries should be detected
+ * @since 2.0
*/
public EolCanonicalizingInputStream(InputStream in, boolean detectBinary) {
this.in = in;