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.
|
* @return whether only first-parent links should be followed when walking.
|
||||||
* @since 5.4
|
*
|
||||||
|
* @since 5.5
|
||||||
*/
|
*/
|
||||||
public boolean isFirstParent() {
|
public boolean isFirstParent() {
|
||||||
return firstParent;
|
return firstParent;
|
||||||
|
@ -679,7 +680,8 @@ public boolean isFirstParent() {
|
||||||
*
|
*
|
||||||
* @param enable
|
* @param enable
|
||||||
* true to walk only first-parent links.
|
* true to walk only first-parent links.
|
||||||
* @since 5.4
|
*
|
||||||
|
* @since 5.5
|
||||||
*/
|
*/
|
||||||
public void setFirstParent(boolean enable) {
|
public void setFirstParent(boolean enable) {
|
||||||
assertNotStarted();
|
assertNotStarted();
|
||||||
|
@ -1456,6 +1458,8 @@ protected void assertNotStarted() {
|
||||||
* <p>
|
* <p>
|
||||||
* If {@link #markStart(RevCommit)} has already been called,
|
* If {@link #markStart(RevCommit)} has already been called,
|
||||||
* {@link #reset()} can be called to satisfy this condition.
|
* {@link #reset()} can be called to satisfy this condition.
|
||||||
|
*
|
||||||
|
* @since 5.5
|
||||||
*/
|
*/
|
||||||
protected void assertNoCommitsMarkedStart() {
|
protected void assertNoCommitsMarkedStart() {
|
||||||
if (roots.isEmpty())
|
if (roots.isEmpty())
|
||||||
|
|
Loading…
Reference in New Issue