]> source.dussan.org Git - jgit.git/commitdiff
Replace call to deprecated RevWalk.release() in DescribeCommand 90/45190/1
authorMatthias Sohn <matthias.sohn@sap.com>
Thu, 2 Apr 2015 22:58:50 +0000 (00:58 +0200)
committerMatthias Sohn <matthias.sohn@sap.com>
Thu, 2 Apr 2015 22:58:50 +0000 (00:58 +0200)
Change-Id: Ie4bfdeb37d345d6ff1525a737f3b7653b2f8e23e
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
org.eclipse.jgit/src/org/eclipse/jgit/api/DescribeCommand.java

index bf6da45caa7c122eacdf7e752bb1942af36be5f6..be456662dc1407f3a6b378f0bf673c489581aa35 100644 (file)
@@ -315,7 +315,7 @@ public class DescribeCommand extends GitCommand<String> {
                        throw new JGitInternalException(e.getMessage(), e);
                } finally {
                        setCallable(false);
-                       w.release();
+                       w.close();
                }
        }
 }