Browse Source

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>
tags/v5.7.0.202001151323-m1
Matthias Sohn 4 years ago
parent
commit
c42f314b6d

+ 8
- 0
org.eclipse.jgit/.settings/.api_filters View File

@@ -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>

+ 4
- 1
org.eclipse.jgit/src/org/eclipse/jgit/transport/ReceivePack.java View File

@@ -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. */

Loading…
Cancel
Save