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 2025/01/08 07:44:57 UTC

(jackrabbit-oak) branch OAK-10685 updated: OAK-10685: remove usage of Guava Ints.contains()

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

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


The following commit(s) were added to refs/heads/OAK-10685 by this push:
     new a351f704ba OAK-10685: remove usage of Guava Ints.contains()
a351f704ba is described below

commit a351f704ba7a65959f6a6c4ccc5732c9fcd964d7
Author: Julian Reschke <ju...@gmx.de>
AuthorDate: Wed Jan 8 08:44:47 2025 +0100

    OAK-10685: remove usage of Guava Ints.contains()
---
 .../org/apache/jackrabbit/oak/plugins/index/lucene/FieldFactory.java     | 1 +
 1 file changed, 1 insertion(+)

diff --git a/oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/FieldFactory.java b/oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/FieldFactory.java
index 9b9ef65e8c..592f38a468 100644
--- a/oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/FieldFactory.java
+++ b/oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/FieldFactory.java
@@ -50,6 +50,7 @@ public final class FieldFactory {
 
     private static final FieldType OAK_TYPE_NOT_STORED = new FieldType();
 
+    // create an ordered, immutable list of Type tags
     private static final List<Integer> TYPABLE_TAGS = Collections.unmodifiableList(List.of(
             Type.DATE.tag(),
             Type.BOOLEAN.tag(),