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>
This commit is contained in:
Matthias Sohn 2019-12-05 23:34:40 +01:00
parent 945d43d507
commit c42f314b6d
2 changed files with 12 additions and 1 deletions

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>

View File

@ -288,7 +288,10 @@ public Set<String> getCapabilities() {
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. */