From a91f87d9e10a6b2df0804269a3d44590a7ded40c Mon Sep 17 00:00:00 2001 From: Dave Borowitz Date: Tue, 10 Mar 2015 15:24:19 -0700 Subject: RevWalk: Stop using deprecated ObjectReader#release() Change-Id: If4d34f18352bd17467aeded6fd3478f29244657b --- org.eclipse.jgit/src/org/eclipse/jgit/revwalk/RevWalk.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'org.eclipse.jgit') diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/revwalk/RevWalk.java b/org.eclipse.jgit/src/org/eclipse/jgit/revwalk/RevWalk.java index 55ffac7c5a..1dbdc98cea 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/revwalk/RevWalk.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/revwalk/RevWalk.java @@ -1284,13 +1284,13 @@ public class RevWalk implements Iterable, AutoCloseable { * All RevFlag instances are also invalidated, and must not be reused. */ public void dispose() { - reader.release(); + reader.close(); freeFlags = APP_FLAGS; delayFreeFlags = 0; retainOnReset = 0; carryFlags = UNINTERESTING; objects.clear(); - reader.release(); + reader.close(); roots.clear(); queue = new DateRevQueue(); pending = new StartGenerator(this); -- cgit v1.2.3