You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "reschke (via GitHub)" <gi...@apache.org> on 2023/04/12 07:39:53 UTC

[GitHub] [jackrabbit-oak] reschke commented on a diff in pull request #890: OAK-10180: switch oak-core-spi to shaded guava

reschke commented on code in PR #890:
URL: https://github.com/apache/jackrabbit-oak/pull/890#discussion_r1163745268


##########
oak-core-spi/src/main/java/org/apache/jackrabbit/oak/spi/lock/LockConstants.java:
##########
@@ -16,14 +16,15 @@
  */
 package org.apache.jackrabbit.oak.spi.lock;
 
+import java.util.Arrays;
+import java.util.Collections;
+import java.util.HashSet;
 import java.util.Set;
 
-import com.google.common.collect.ImmutableSet;
 import org.apache.jackrabbit.JcrConstants;
 
 public interface LockConstants extends JcrConstants {
 
-    Set<String> LOCK_PROPERTY_NAMES = ImmutableSet.of(
-            JCR_LOCKISDEEP,
-            JCR_LOCKOWNER);
+    Set<String> LOCK_PROPERTY_NAMES = Collections

Review Comment:
   I believe we should avoid use of Guava where we can; maybe at some later point of time we might decide to remove it.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@jackrabbit.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org