diff --git a/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/cow/BranchNodeStore.java b/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/cow/BranchNodeStore.java index 784db8108ca..7ccbedfb6b6 100644 --- a/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/cow/BranchNodeStore.java +++ b/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/cow/BranchNodeStore.java @@ -39,7 +39,6 @@ import java.util.UUID; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.TimeUnit; -import static org.apache.jackrabbit.guava.common.collect.Lists.newArrayList; import static java.util.Collections.emptyMap; import static java.util.Collections.singletonMap; @@ -127,7 +126,7 @@ public String checkpoint(long lifetime) { @Override public Iterable checkpoints() { List result = new ArrayList<>(inheritedCheckpoints); - result.retainAll(newArrayList(nodeStore.checkpoints())); + result.retainAll(CollectionUtils.toList(nodeStore.checkpoints())); checkpointMapping.entrySet().stream() .filter(e -> memoryNodeStore.listCheckpoints().contains(e.getValue()))