Browse Source

Replace deprecated release() methods by close() in NoteMapMerger

Change-Id: Iaa76f0e853bb82cd7f231fd2f462a319f4196d8c
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
stable-4.1
Matthias Sohn 10 years ago
parent
commit
f777ed1d24
  1. 4
      org.eclipse.jgit/src/org/eclipse/jgit/notes/NoteMapMerger.java

4
org.eclipse.jgit/src/org/eclipse/jgit/notes/NoteMapMerger.java

@ -135,8 +135,8 @@ public class NoteMapMerger {
inserter.flush();
return NoteMap.newMap(mergedBucket, reader);
} finally {
reader.release();
inserter.release();
reader.close();
inserter.close();
}
}

Loading…
Cancel
Save