]> source.dussan.org Git - jgit.git/commitdiff
Fix API check errors introduced in ReceivePack in 945d43d5 54/153954/1
authorMatthias Sohn <matthias.sohn@sap.com>
Thu, 5 Dec 2019 22:34:40 +0000 (23:34 +0100)
committerMatthias Sohn <matthias.sohn@sap.com>
Thu, 5 Dec 2019 22:34:40 +0000 (23:34 +0100)
- 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>
org.eclipse.jgit/.settings/.api_filters
org.eclipse.jgit/src/org/eclipse/jgit/transport/ReceivePack.java

index 0022aae179c53465a7bf9282470ce9515528a137..b7f6db027419e748e24478fe8f78b14d633aab34 100644 (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>
index 3876958b312878b0b7c82167cec882b68d4e827b..69e647150fb82b5afed92d697aa56a3a78c795f1 100644 (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. */