aboutsummaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit
diff options
context:
space:
mode:
authorMatthias Sohn <matthias.sohn@sap.com>2024-09-16 08:30:39 +0200
committerMatthias Sohn <matthias.sohn@sap.com>2024-10-01 21:20:31 +0200
commit17882b1cd8e66a174468633b1b8eb695c86011cf (patch)
tree9f7fa81e7e026cb344de38f747752e8b964f02c9 /org.eclipse.jgit
parent36fa55a4cf14f35eeb04cbea23d678f7a34b5a70 (diff)
downloadjgit-17882b1cd8e66a174468633b1b8eb695c86011cf.tar.gz
jgit-17882b1cd8e66a174468633b1b8eb695c86011cf.zip
NoteMapMerger: remove unnecessary cast
Change-Id: I3be4963f506529bbadc5b6dfc0b625ee85effc1f
Diffstat (limited to 'org.eclipse.jgit')
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/notes/NoteMapMerger.java2
1 files changed, 1 insertions, 1 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 79ceb1316a..30512c17b8 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/notes/NoteMapMerger.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/notes/NoteMapMerger.java
@@ -199,7 +199,7 @@ public class NoteMapMerger {
if (child == null)
return;
if (child instanceof InMemoryNoteBucket)
- b.setBucket(cell, ((InMemoryNoteBucket) child).writeTree(inserter));
+ b.setBucket(cell, child.writeTree(inserter));
else
b.setBucket(cell, child.getTreeId());
}