aboutsummaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit/src/org/eclipse/jgit/transport/BasePackFetchConnection.java
diff options
context:
space:
mode:
authorMatthias Sohn <matthias.sohn@sap.com>2012-05-07 23:45:24 +0200
committerChris Aniszczyk <zx@twitter.com>2012-05-10 18:17:24 -0700
commitc394d05a47405d3fffc7c5e4df7ca9f649d0cc69 (patch)
tree1f0a70c59de2deeaef169d10f365a6637894d2df /org.eclipse.jgit/src/org/eclipse/jgit/transport/BasePackFetchConnection.java
parent43543e79a4039c213be5d82cd9425f4b878d753e (diff)
downloadjgit-c394d05a47405d3fffc7c5e4df7ca9f649d0cc69.tar.gz
jgit-c394d05a47405d3fffc7c5e4df7ca9f649d0cc69.zip
Add missing @since tags to mark API added in 2.0
Change-Id: I0a86ce0e393dfde9bb27f0b29e036e76c856396e Signed-off-by: Matthias Sohn <matthias.sohn@sap.com> Signed-off-by: Chris Aniszczyk <zx@twitter.com>
Diffstat (limited to 'org.eclipse.jgit/src/org/eclipse/jgit/transport/BasePackFetchConnection.java')
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/transport/BasePackFetchConnection.java52
1 files changed, 42 insertions, 10 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/transport/BasePackFetchConnection.java b/org.eclipse.jgit/src/org/eclipse/jgit/transport/BasePackFetchConnection.java
index 347fd93305..582b75a252 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/transport/BasePackFetchConnection.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/transport/BasePackFetchConnection.java
@@ -120,34 +120,64 @@ public abstract class BasePackFetchConnection extends BasePackConnection
*/
protected static final int MIN_CLIENT_BUFFER = 2 * 32 * 46 + 8;
- /** Include tags if we are also including the referenced objects. */
+ /**
+ * Include tags if we are also including the referenced objects.
+ * @since 2.0
+ */
public static final String OPTION_INCLUDE_TAG = "include-tag";
- /** Mutli-ACK support for improved negotiation. */
+ /**
+ * Mutli-ACK support for improved negotiation.
+ * @since 2.0
+ */
public static final String OPTION_MULTI_ACK = "multi_ack";
- /** Mutli-ACK detailed support for improved negotiation. */
+ /**
+ * Mutli-ACK detailed support for improved negotiation.
+ * @since 2.0
+ */
public static final String OPTION_MULTI_ACK_DETAILED = "multi_ack_detailed";
- /** The client supports packs with deltas but not their bases. */
+ /**
+ * The client supports packs with deltas but not their bases.
+ * @since 2.0
+ */
public static final String OPTION_THIN_PACK = "thin-pack";
- /** The client supports using the side-band for progress messages. */
+ /**
+ * The client supports using the side-band for progress messages.
+ * @since 2.0
+ */
public static final String OPTION_SIDE_BAND = "side-band";
- /** The client supports using the 64K side-band for progress messages. */
+ /**
+ * The client supports using the 64K side-band for progress messages.
+ * @since 2.0
+ */
public static final String OPTION_SIDE_BAND_64K = "side-band-64k";
- /** The client supports packs with OFS deltas. */
+ /**
+ * The client supports packs with OFS deltas.
+ * @since 2.0
+ */
public static final String OPTION_OFS_DELTA = "ofs-delta";
- /** The client supports shallow fetches. */
+ /**
+ * The client supports shallow fetches.
+ * @since 2.0
+ */
public static final String OPTION_SHALLOW = "shallow";
- /** The client does not want progress messages and will ignore them. */
+ /**
+ * The client does not want progress messages and will ignore them.
+ * @since 2.0
+ */
public static final String OPTION_NO_PROGRESS = "no-progress";
- /** The client supports receiving a pack before it has sent "done". */
+ /**
+ * The client supports receiving a pack before it has sent "done".
+ * @since 2.0
+ */
public static final String OPTION_NO_DONE = "no-done";
static enum MultiAck {
@@ -695,6 +725,8 @@ public abstract class BasePackFetchConnection extends BasePackConnection
* Notification event delivered just before the pack is received from the
* network. This event can be used by RPC such as {@link TransportHttp} to
* disable its request magic and ensure the pack stream is read correctly.
+ *
+ * @since 2.0
*/
protected void onReceivePack() {
// By default do nothing for TCP based protocols.