summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Sohn <matthias.sohn@sap.com>2019-04-28 23:34:04 +0200
committerMatthias Sohn <matthias.sohn@sap.com>2019-04-29 00:36:00 +0200
commit88b56ff1e982417ac0bcc784e0100c7d5a5d480f (patch)
tree1e36c5226f052cfcde5773cef3428bb8cdd033f2
parent3c92025c1b1e156070458fe08b586bf24259e042 (diff)
downloadjgit-88b56ff1e982417ac0bcc784e0100c7d5a5d480f.tar.gz
jgit-88b56ff1e982417ac0bcc784e0100c7d5a5d480f.zip
Silence API errors and add missing @since tags caused by 175e6654
Change-Id: If55acad84015f988f1e974bc19c426828b98822b Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
-rw-r--r--org.eclipse.jgit/.settings/.api_filters16
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/storage/pack/PackStatistics.java3
2 files changed, 18 insertions, 1 deletions
diff --git a/org.eclipse.jgit/.settings/.api_filters b/org.eclipse.jgit/.settings/.api_filters
index 089506c6a5..dc1df59633 100644
--- a/org.eclipse.jgit/.settings/.api_filters
+++ b/org.eclipse.jgit/.settings/.api_filters
@@ -22,6 +22,22 @@
</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>
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/storage/pack/PackStatistics.java b/org.eclipse.jgit/src/org/eclipse/jgit/storage/pack/PackStatistics.java
index 8a24234d86..e6e3d4fb12 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/storage/pack/PackStatistics.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/storage/pack/PackStatistics.java
@@ -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;
/**