Replace call to deprecated RevWalk.release() in DescribeCommand
Change-Id: Ie4bfdeb37d345d6ff1525a737f3b7653b2f8e23e Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
This commit is contained in:
parent
81c84c088f
commit
5f8308bdb9
|
@ -315,7 +315,7 @@ public int compare(Candidate o1, Candidate o2) {
|
||||||
throw new JGitInternalException(e.getMessage(), e);
|
throw new JGitInternalException(e.getMessage(), e);
|
||||||
} finally {
|
} finally {
|
||||||
setCallable(false);
|
setCallable(false);
|
||||||
w.release();
|
w.close();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue