From 5f8308bdb9bb2bc9931b171e4b1957cf7c967f95 Mon Sep 17 00:00:00 2001 From: Matthias Sohn Date: Fri, 3 Apr 2015 00:58:50 +0200 Subject: [PATCH] Replace call to deprecated RevWalk.release() in DescribeCommand Change-Id: Ie4bfdeb37d345d6ff1525a737f3b7653b2f8e23e Signed-off-by: Matthias Sohn --- org.eclipse.jgit/src/org/eclipse/jgit/api/DescribeCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/api/DescribeCommand.java b/org.eclipse.jgit/src/org/eclipse/jgit/api/DescribeCommand.java index bf6da45ca..be456662d 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/api/DescribeCommand.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/api/DescribeCommand.java @@ -315,7 +315,7 @@ public class DescribeCommand extends GitCommand { throw new JGitInternalException(e.getMessage(), e); } finally { setCallable(false); - w.release(); + w.close(); } } }