GP-6238: filter

This commit is contained in:
d-millar
2025-12-16 19:55:59 +00:00
parent 7fa380f877
commit 1bed17a472
@@ -308,6 +308,7 @@ public class ObjectTreeModel implements DisplaysModified {
}
String key = p.key(pos);
AbstractNode matched = children().stream()
.filter(c -> c instanceof AbstractNode)
.map(c -> (AbstractNode) c)
.filter(c -> key.equals(c.getValue().getEntryKey()))
.findFirst()