Selaa lähdekoodia

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 vuotta sitten
vanhempi
commit
9bdbbd32ae
1 muutettua tiedostoa jossa 0 lisäystä ja 1 poistoa
  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 Näytä tiedosto

@@ -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…
Peruuta
Tallenna