]> source.dussan.org Git - jgit.git/commitdiff
Silence API errors and add missing @since tags caused by 175e6654 01/141301/3
authorMatthias Sohn <matthias.sohn@sap.com>
Sun, 28 Apr 2019 21:34:04 +0000 (23:34 +0200)
committerMatthias Sohn <matthias.sohn@sap.com>
Sun, 28 Apr 2019 22:36:00 +0000 (00:36 +0200)
Change-Id: If55acad84015f988f1e974bc19c426828b98822b
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
org.eclipse.jgit/.settings/.api_filters
org.eclipse.jgit/src/org/eclipse/jgit/storage/pack/PackStatistics.java

index 089506c6a54b43c5838688e624a37b70ac9a9b0d..dc1df596330222bb6a83d6ce2bb1d9b9624ea25f 100644 (file)
             </message_arguments>
         </filter>
     </resource>
+    <resource path="src/org/eclipse/jgit/revwalk/ObjectWalk.java" type="org.eclipse.jgit.revwalk.ObjectWalk">
+        <filter comment="ignore the risk subclasses could define the same field and cause a name clash" id="336658481">
+            <message_arguments>
+                <message_argument value="org.eclipse.jgit.revwalk.ObjectWalk"/>
+                <message_argument value="SIMPLE_VISITATION_POLICY"/>
+            </message_arguments>
+        </filter>
+    </resource>
+    <resource path="src/org/eclipse/jgit/storage/pack/PackStatistics.java" type="org.eclipse.jgit.storage.pack.PackStatistics$Accumulator">
+        <filter comment="ignore the risk subclasses could define the same field and cause a name clash" id="336658481">
+            <message_arguments>
+                <message_argument value="org.eclipse.jgit.storage.pack.PackStatistics.Accumulator"/>
+                <message_argument value="treesTraversed"/>
+            </message_arguments>
+        </filter>
+    </resource>
     <resource path="src/org/eclipse/jgit/transport/Transport.java" type="org.eclipse.jgit.transport.Transport">
         <filter comment="Marked as final since overriding a deprecated stub is likely a mistake" id="421654647">
             <message_arguments>
index 8a24234d86391bfb2481a2952744be8666279a12..e6e3d4fb12ad9f533bc74eda10e47840ab4f897d 100644 (file)
@@ -266,7 +266,8 @@ public class PackStatistics {
                /** Time in ms spent writing the pack. */
                public long timeWriting;
 
-               /** Number of trees traversed in the walk when writing the pack. */
+               /** Number of trees traversed in the walk when writing the pack.
+                * @since 5.4*/
                public long treesTraversed;
 
                /**