From f777ed1d24d1d227fff7bcd0e08d138b9f1c1aba Mon Sep 17 00:00:00 2001 From: Matthias Sohn Date: Sat, 4 Apr 2015 00:36:28 +0200 Subject: [PATCH] Replace deprecated release() methods by close() in NoteMapMerger Change-Id: Iaa76f0e853bb82cd7f231fd2f462a319f4196d8c Signed-off-by: Matthias Sohn --- .../src/org/eclipse/jgit/notes/NoteMapMerger.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/notes/NoteMapMerger.java b/org.eclipse.jgit/src/org/eclipse/jgit/notes/NoteMapMerger.java index 061447666c..19ec1a13db 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/notes/NoteMapMerger.java +++ b/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(); } } -- 2.39.5