aboutsummaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit/src/org/eclipse/jgit/transport
diff options
context:
space:
mode:
authorMatthias Sohn <matthias.sohn@sap.com>2019-11-14 10:08:24 -0800
committerMatthias Sohn <matthias.sohn@sap.com>2019-11-14 10:08:24 -0800
commit63fc6970cc51b712608d93e7cba0b85bb559ac52 (patch)
tree56c7ee30bfb44dfa9635e3663645509fb19467fc /org.eclipse.jgit/src/org/eclipse/jgit/transport
parent57bb09ade94bce7860efa0633a599aec55f7aee6 (diff)
downloadjgit-63fc6970cc51b712608d93e7cba0b85bb559ac52.tar.gz
jgit-63fc6970cc51b712608d93e7cba0b85bb559ac52.zip
Suppress the API errors introduced by 3e9a5f99
I1ce92869435d5eebb7d671be44561e69c6233134 merged BaseReceivePack into ReceivePack which breaks API but is only affecting the few jgit based servers out in the wild. Change-Id: Iad856a2afaf3cad95d01ad81a0116cebcd9de2d9 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'org.eclipse.jgit/src/org/eclipse/jgit/transport')
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/transport/AdvertiseRefsHook.java1
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/transport/ReceiveCommand.java2
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/transport/ReceivePack.java2
3 files changed, 4 insertions, 1 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/transport/AdvertiseRefsHook.java b/org.eclipse.jgit/src/org/eclipse/jgit/transport/AdvertiseRefsHook.java
index b771e99c05..eb1aef9ad7 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/transport/AdvertiseRefsHook.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/transport/AdvertiseRefsHook.java
@@ -89,6 +89,7 @@ public interface AdvertiseRefsHook {
* if necessary.
* @throws org.eclipse.jgit.transport.ServiceMayNotContinueException
* abort; the message will be sent to the user.
+ * @since 5.6
*/
void advertiseRefs(ReceivePack receivePack)
throws ServiceMayNotContinueException;
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/transport/ReceiveCommand.java b/org.eclipse.jgit/src/org/eclipse/jgit/transport/ReceiveCommand.java
index 29c01fea72..0616b64d27 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/transport/ReceiveCommand.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/transport/ReceiveCommand.java
@@ -768,7 +768,7 @@ public class ReceiveCommand {
*
* @param rp
* receive-pack session.
- * @since 2.0
+ * @since 5.6
*/
public void execute(ReceivePack rp) {
try {
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/transport/ReceivePack.java b/org.eclipse.jgit/src/org/eclipse/jgit/transport/ReceivePack.java
index 1336ff895d..d24b4c4850 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/transport/ReceivePack.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/transport/ReceivePack.java
@@ -124,6 +124,7 @@ public class ReceivePack {
* Data in the first line of a request, the line itself plus capabilities.
*
* @deprecated Use {@link FirstCommand} instead.
+ * @since 5.6
*/
@Deprecated
public static class FirstLine {
@@ -1849,6 +1850,7 @@ public class ReceivePack {
* the reporter for sending the status strings.
* @throws java.io.IOException
* an error occurred writing the status report.
+ * @since 5.6
*/
protected void sendStatusReport(final boolean forClient,
final Throwable unpackError, final Reporter out)