From 758124fa9c085f10e47e2e8a03416d96bc5962f7 Mon Sep 17 00:00:00 2001 From: Thomas Wolf Date: Sat, 6 Jul 2019 17:34:35 +0200 Subject: [PATCH] Correct @since in RevWalk for the --first-parent methods Fixes PDE API checks complaining: the methods were added in JGit 5.5.0. Change-Id: I9ff860c3408c6bb3891fa0da7547394d0fe9d0b6 Signed-off-by: Thomas Wolf --- .../src/org/eclipse/jgit/revwalk/RevWalk.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/revwalk/RevWalk.java b/org.eclipse.jgit/src/org/eclipse/jgit/revwalk/RevWalk.java index 12e9f892b..634ea4a0c 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/revwalk/RevWalk.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/revwalk/RevWalk.java @@ -664,7 +664,8 @@ public class RevWalk implements Iterable, AutoCloseable { /** * @return whether only first-parent links should be followed when walking. - * @since 5.4 + * + * @since 5.5 */ public boolean isFirstParent() { return firstParent; @@ -679,7 +680,8 @@ public class RevWalk implements Iterable, AutoCloseable { * * @param enable * true to walk only first-parent links. - * @since 5.4 + * + * @since 5.5 */ public void setFirstParent(boolean enable) { assertNotStarted(); @@ -1456,6 +1458,8 @@ public class RevWalk implements Iterable, AutoCloseable { *

* If {@link #markStart(RevCommit)} has already been called, * {@link #reset()} can be called to satisfy this condition. + * + * @since 5.5 */ protected void assertNoCommitsMarkedStart() { if (roots.isEmpty())