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>
This commit is contained in:
parent
3091dc4348
commit
758124fa9c
|
@ -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())
|
||||
|
|
Loading…
Reference in New Issue