Browse Source

Don't call reader.close() 2 times on dispose()

Bug: 479406
Change-Id: I6645a8f36ea349a5f04fd14d2c1ef2ecac2bcc37
Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
tags/v4.2.0.201511101648-m1
Andrey Loskutov 8 years ago
parent
commit
9bdbbd32ae
1 changed files with 0 additions and 1 deletions
  1. 0
    1
      org.eclipse.jgit/src/org/eclipse/jgit/revwalk/RevWalk.java

+ 0
- 1
org.eclipse.jgit/src/org/eclipse/jgit/revwalk/RevWalk.java View File

@@ -1295,7 +1295,6 @@ public class RevWalk implements Iterable<RevCommit>, AutoCloseable {
retainOnReset = 0;
carryFlags = UNINTERESTING;
objects.clear();
reader.close();
roots.clear();
queue = new DateRevQueue();
pending = new StartGenerator(this);

Loading…
Cancel
Save