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/11/26 18:36:59 UTC
(jackrabbit-oak) branch OAK-11278 updated: OAK-11278: remove ImmutableMap.of - multiple argument case - oak-store-document
This is an automated email from the ASF dual-hosted git repository.
reschke pushed a commit to branch OAK-11278
in repository https://gitbox.apache.org/repos/asf/jackrabbit-oak.git
The following commit(s) were added to refs/heads/OAK-11278 by this push:
new 08e7528359 OAK-11278: remove ImmutableMap.of - multiple argument case - oak-store-document
08e7528359 is described below
commit 08e7528359e1074302b50ff47588a6968f9e66ec
Author: Julian Reschke <ju...@gmx.de>
AuthorDate: Tue Nov 26 19:36:50 2024 +0100
OAK-11278: remove ImmutableMap.of - multiple argument case - oak-store-document
---
.../org/apache/jackrabbit/oak/plugins/document/InitializerTest.java | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/oak-store-document/src/test/java/org/apache/jackrabbit/oak/plugins/document/InitializerTest.java b/oak-store-document/src/test/java/org/apache/jackrabbit/oak/plugins/document/InitializerTest.java
index 48388b745c..5007439333 100644
--- a/oak-store-document/src/test/java/org/apache/jackrabbit/oak/plugins/document/InitializerTest.java
+++ b/oak-store-document/src/test/java/org/apache/jackrabbit/oak/plugins/document/InitializerTest.java
@@ -18,7 +18,6 @@ package org.apache.jackrabbit.oak.plugins.document;
import java.util.Map;
-import org.apache.jackrabbit.guava.common.collect.ImmutableMap;
import org.apache.jackrabbit.oak.api.CommitFailedException;
import org.apache.jackrabbit.oak.security.internal.SecurityProviderBuilder;
import org.apache.jackrabbit.oak.InitialContent;
@@ -39,7 +38,7 @@ public class InitializerTest extends AbstractMongoConnectionTest {
SecurityProvider provider = SecurityProviderBuilder.newBuilder().with(
ConfigurationParameters.of(Map.of(UserConfiguration.NAME,
- ConfigurationParameters.of(ImmutableMap.of("anonymousId", "anonymous",
+ ConfigurationParameters.of(Map.of("anonymousId", "anonymous",
"adminId", "admin",
"usersPath", "/home/users",
"groupsPath", "/home/groups",
@@ -58,7 +57,7 @@ public class InitializerTest extends AbstractMongoConnectionTest {
SecurityProvider provider = SecurityProviderBuilder.newBuilder().with(
ConfigurationParameters.of(Map.of(UserConfiguration.NAME,
- ConfigurationParameters.of(ImmutableMap.of("anonymousId", "anonymous",
+ ConfigurationParameters.of(Map.of("anonymousId", "anonymous",
"adminId", "admin",
"usersPath", "/home/users",
"groupsPath", "/home/groups",