diff options
author | Dave Borowitz <dborowitz@google.com> | 2015-03-10 15:24:19 -0700 |
---|---|---|
committer | Dave Borowitz <dborowitz@google.com> | 2015-03-10 15:24:53 -0700 |
commit | a91f87d9e10a6b2df0804269a3d44590a7ded40c (patch) | |
tree | 45a5d1f0270d7bcb33045de42e8c33fcf97d531a /org.eclipse.jgit | |
parent | 019a21db273c382394f8f017cf0e87454a776f97 (diff) | |
download | jgit-a91f87d9e10a6b2df0804269a3d44590a7ded40c.tar.gz jgit-a91f87d9e10a6b2df0804269a3d44590a7ded40c.zip |
RevWalk: Stop using deprecated ObjectReader#release()
Change-Id: If4d34f18352bd17467aeded6fd3478f29244657b
Diffstat (limited to 'org.eclipse.jgit')
-rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/revwalk/RevWalk.java | 4 |
1 files changed, 2 insertions, 2 deletions
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<RevCommit>, 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); |