Browse Source

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

stable-4.2
Matthias Sohn 9 years ago committed by Gerrit Code Review @ Eclipse.org
parent
commit
50d6fbcdae
  1. 1
      org.eclipse.jgit/src/org/eclipse/jgit/revwalk/RevWalk.java

1
org.eclipse.jgit/src/org/eclipse/jgit/revwalk/RevWalk.java

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

Loading…
Cancel
Save