From 7b989eed722a23b341c7cf75cd817ce514bce08f Mon Sep 17 00:00:00 2001 From: Matthias Sohn Date: Fri, 28 Dec 2018 03:18:58 +0100 Subject: [PATCH] Suppress API errors and add missing @since tags caused by 6ea888a Change-Id: Id042d46ba078af35b9c22a079da4ae14fc5fa231 Signed-off-by: Matthias Sohn --- org.eclipse.jgit/.settings/.api_filters | 16 ++++++++++++++++ .../src/org/eclipse/jgit/lib/ObjectIdRef.java | 4 ++++ .../src/org/eclipse/jgit/lib/SymbolicRef.java | 1 + 3 files changed, 21 insertions(+) diff --git a/org.eclipse.jgit/.settings/.api_filters b/org.eclipse.jgit/.settings/.api_filters index 1e18de6647..c17bdda254 100644 --- a/org.eclipse.jgit/.settings/.api_filters +++ b/org.eclipse.jgit/.settings/.api_filters @@ -38,6 +38,22 @@ + + + + + + + + + + + + + + + + diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/lib/ObjectIdRef.java b/org.eclipse.jgit/src/org/eclipse/jgit/lib/ObjectIdRef.java index 747318170a..bcda53879a 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/lib/ObjectIdRef.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/lib/ObjectIdRef.java @@ -82,6 +82,7 @@ public abstract class ObjectIdRef implements Ref { * a ref that does not exist yet. * @param updateIndex * number increasing with each update to the reference. + * @since 5.3 */ public Unpeeled(@NonNull Storage st, @NonNull String name, @Nullable ObjectId id, long updateIndex) { @@ -136,6 +137,7 @@ public abstract class ObjectIdRef implements Ref { * the first non-tag object that tag {@code id} points to. * @param updateIndex * number increasing with each update to the reference. + * @since 5.3 */ public PeeledTag(@NonNull Storage st, @NonNull String name, @Nullable ObjectId id, @NonNull ObjectId p, long updateIndex) { @@ -185,6 +187,7 @@ public abstract class ObjectIdRef implements Ref { * a ref that does not exist yet. * @param updateIndex * number increasing with each update to the reference. + * @since 5.3 */ public PeeledNonTag(@NonNull Storage st, @NonNull String name, @Nullable ObjectId id, long updateIndex) { @@ -224,6 +227,7 @@ public abstract class ObjectIdRef implements Ref { * @param updateIndex * number that increases with each ref update. Set to -1 if the * storage doesn't support versioning. + * @since 5.3 */ protected ObjectIdRef(@NonNull Storage st, @NonNull String name, @Nullable ObjectId id, long updateIndex) { diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/lib/SymbolicRef.java b/org.eclipse.jgit/src/org/eclipse/jgit/lib/SymbolicRef.java index 0e9a23fe15..ee0eb2f6ae 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/lib/SymbolicRef.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/lib/SymbolicRef.java @@ -83,6 +83,7 @@ public class SymbolicRef implements Ref { * the ref we reference and derive our value from. * @param updateIndex * index that increases with each update of the reference + * @since 5.3 */ public SymbolicRef(@NonNull String refName, @NonNull Ref target, long updateIndex) { -- 2.39.5