diff options
author | Matthias Sohn <matthias.sohn@sap.com> | 2019-12-05 23:34:40 +0100 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2019-12-05 23:34:40 +0100 |
commit | c42f314b6d2a43ed1bd5806f872fbec6456e1efd (patch) | |
tree | 43044c6f76426b6f50f25749103ac766cb269054 /org.eclipse.jgit | |
parent | 945d43d50730277f875ff46e823e72f35493ccad (diff) | |
download | jgit-c42f314b6d2a43ed1bd5806f872fbec6456e1efd.tar.gz jgit-c42f314b6d2a43ed1bd5806f872fbec6456e1efd.zip |
Fix API check errors introduced in ReceivePack in 945d43d5
- add missing @since tag on new field connectivityChecker
- suppress warning for this added field which may affect subclasses
which is ok
Change-Id: Id6c22258efd10fa3847290f3dcfa42893b6ae882
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'org.eclipse.jgit')
-rw-r--r-- | org.eclipse.jgit/.settings/.api_filters | 8 | ||||
-rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/transport/ReceivePack.java | 5 |
2 files changed, 12 insertions, 1 deletions
diff --git a/org.eclipse.jgit/.settings/.api_filters b/org.eclipse.jgit/.settings/.api_filters index 0022aae179..b7f6db0274 100644 --- a/org.eclipse.jgit/.settings/.api_filters +++ b/org.eclipse.jgit/.settings/.api_filters @@ -9,4 +9,12 @@ </message_arguments> </filter> </resource> + <resource path="src/org/eclipse/jgit/transport/ReceivePack.java" type="org.eclipse.jgit.transport.ReceivePack"> + <filter id="336658481"> + <message_arguments> + <message_argument value="org.eclipse.jgit.transport.ReceivePack"/> + <message_argument value="connectivityChecker"/> + </message_arguments> + </filter> + </resource> </component> 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 3876958b31..69e647150f 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/transport/ReceivePack.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/transport/ReceivePack.java @@ -288,7 +288,10 @@ public class ReceivePack { private ReceivedPackStatistics stats; - /** Connectivity checker to use. */ + /** + * Connectivity checker to use. + * @since 5.7 + */ protected ConnectivityChecker connectivityChecker = new FullConnectivityChecker(); /** Hook to validate the update commands before execution. */ |