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 <thomas.wolf@paranor.ch>
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 12e9f89..634ea4a 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 void setRetainBody(boolean retain) {
/**
* @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 boolean isFirstParent() {
*
* @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 @@ protected void assertNotStarted() {
* <p>
* 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())