HIGUCHI Yuta
Committed by Gerrit Code Review

Workaround for old compiler

- Was failing on eclise built-in compiler

Change-Id: Ifd76449d0c1054876e447603aa3aff982c3a5e52
......@@ -213,7 +213,8 @@ public class ConsistentResourceStore extends AbstractStore<ResourceEvent, Resour
return lookup(childTxMap, x);
}
})
.flatMap(Tools::stream)
.filter(Optional::isPresent)
.map(Optional::get)
.collect(Collectors.toList());
// the order is preserved by LinkedHashMap
Map<DiscreteResourceId, List<Resource>> resourceMap = resources.stream()
......