You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-commits@jackrabbit.apache.org by re...@apache.org on 2024/12/14 13:05:05 UTC

(jackrabbit-oak) branch OAK-11311 updated: OAK-11311: Remove usage of Guava ImmutableList - oak-upgrade

This is an automated email from the ASF dual-hosted git repository.

reschke pushed a commit to branch OAK-11311
in repository https://gitbox.apache.org/repos/asf/jackrabbit-oak.git


The following commit(s) were added to refs/heads/OAK-11311 by this push:
     new 095bda65e7 OAK-11311: Remove usage of Guava ImmutableList - oak-upgrade
095bda65e7 is described below

commit 095bda65e78e4922bf2ed2723a55a2e7efde6c23
Author: Julian Reschke <re...@apache.org>
AuthorDate: Sat Dec 14 14:04:54 2024 +0100

    OAK-11311: Remove usage of Guava ImmutableList - oak-upgrade
---
 .../java/org/apache/jackrabbit/oak/upgrade/JackrabbitNodeState.java    | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/oak-upgrade/src/main/java/org/apache/jackrabbit/oak/upgrade/JackrabbitNodeState.java b/oak-upgrade/src/main/java/org/apache/jackrabbit/oak/upgrade/JackrabbitNodeState.java
index 106a79af12..db5bf90ebf 100644
--- a/oak-upgrade/src/main/java/org/apache/jackrabbit/oak/upgrade/JackrabbitNodeState.java
+++ b/oak-upgrade/src/main/java/org/apache/jackrabbit/oak/upgrade/JackrabbitNodeState.java
@@ -57,7 +57,6 @@ import javax.jcr.Binary;
 import javax.jcr.PropertyType;
 import javax.jcr.RepositoryException;
 
-import org.apache.jackrabbit.guava.common.collect.ImmutableList;
 import org.apache.jackrabbit.api.ReferenceBinary;
 import org.apache.jackrabbit.core.RepositoryContext;
 import org.apache.jackrabbit.core.id.NodeId;
@@ -137,7 +136,7 @@ class JackrabbitNodeState extends AbstractNodeState {
 
     private final Map<NodeId, JackrabbitNodeState> nodeStateCache;
 
-    private final List<String> ignoredPaths = ImmutableList.of("/jcr:system/jcr:nodeTypes");
+    private final List<String> ignoredPaths = List.of("/jcr:system/jcr:nodeTypes");
 
     public static JackrabbitNodeState createRootNodeState(
             RepositoryContext context,