From 9bdbbd32ae02056f63657154aa32295f0c1f8c05 Mon Sep 17 00:00:00 2001 From: Andrey Loskutov Date: Sat, 10 Oct 2015 16:21:41 +0300 Subject: [PATCH] Don't call reader.close() 2 times on dispose() Bug: 479406 Change-Id: I6645a8f36ea349a5f04fd14d2c1ef2ecac2bcc37 Signed-off-by: Andrey Loskutov --- org.eclipse.jgit/src/org/eclipse/jgit/revwalk/RevWalk.java | 1 - 1 file changed, 1 deletion(-) 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 1176d958b..c8504937a 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/revwalk/RevWalk.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/revwalk/RevWalk.java @@ -1295,7 +1295,6 @@ public class RevWalk implements Iterable, AutoCloseable { retainOnReset = 0; carryFlags = UNINTERESTING; objects.clear(); - reader.close(); roots.clear(); queue = new DateRevQueue(); pending = new StartGenerator(this);