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>
stable-5.7
Matthias Sohn 5 years ago
parent
commit
c42f314b6d
  1. 8
      org.eclipse.jgit/.settings/.api_filters
  2. 5
      org.eclipse.jgit/src/org/eclipse/jgit/transport/ReceivePack.java

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

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

Loading…
Cancel
Save