Browse Source

Replace call to deprecated release() by close() in PackParser

Change-Id: Ic2db051130059cce89486f55ecca32a7ce6715fd
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
stable-4.1
Matthias Sohn 10 years ago
parent
commit
e5a6290ac9
  1. 2
      org.eclipse.jgit/src/org/eclipse/jgit/transport/PackParser.java

2
org.eclipse.jgit/src/org/eclipse/jgit/transport/PackParser.java

@ -529,7 +529,7 @@ public abstract class PackParser {
} finally {
try {
if (readCurs != null)
readCurs.release();
readCurs.close();
} finally {
readCurs = null;
}

Loading…
Cancel
Save