This is an automated email from the ASF dual-hosted git repository.
daim pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/jackrabbit-oak.git
The following commit(s) were added to refs/heads/trunk by this push:
new 812d5754ee OAK-12019 : replaced Guava's
MoreExecutors.getExitingExecutorService with oak-commons implementation (#2634)
812d5754ee is described below
commit 812d5754eedb14c9f448c7f4769ef2254ea10738
Author: Rishabh Kumar <[email protected]>
AuthorDate: Fri Nov 28 17:32:52 2025 +0530
OAK-12019 : replaced Guava's MoreExecutors.getExitingExecutorService with
oak-commons implementation (#2634)
---
.../java/org/apache/jackrabbit/oak/benchmark/HybridIndexTest.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/oak-benchmarks-lucene/src/main/java/org/apache/jackrabbit/oak/benchmark/HybridIndexTest.java
b/oak-benchmarks-lucene/src/main/java/org/apache/jackrabbit/oak/benchmark/HybridIndexTest.java
index db73c91aa5..a69ca8cdb4 100644
---
a/oak-benchmarks-lucene/src/main/java/org/apache/jackrabbit/oak/benchmark/HybridIndexTest.java
+++
b/oak-benchmarks-lucene/src/main/java/org/apache/jackrabbit/oak/benchmark/HybridIndexTest.java
@@ -42,13 +42,13 @@ import javax.jcr.query.Query;
import javax.jcr.query.QueryManager;
import javax.jcr.query.QueryResult;
-import org.apache.jackrabbit.guava.common.util.concurrent.MoreExecutors;
import org.apache.commons.io.FileUtils;
import org.apache.jackrabbit.oak.Oak;
import org.apache.jackrabbit.oak.api.Type;
import org.apache.jackrabbit.oak.api.jmx.IndexStatsMBean;
import org.apache.jackrabbit.oak.commons.collections.IteratorUtils;
import org.apache.jackrabbit.oak.commons.collections.ListUtils;
+import org.apache.jackrabbit.oak.commons.internal.concurrent.ExecutorUtils;
import org.apache.jackrabbit.oak.fixture.JcrCreator;
import org.apache.jackrabbit.oak.fixture.OakRepositoryFixture;
import org.apache.jackrabbit.oak.fixture.RepositoryFixture;
@@ -154,7 +154,7 @@ public class HybridIndexTest extends
AbstractTest<HybridIndexTest.TestContext> {
private List<TestContext> contexts = new ArrayList<>();
private final StatisticsProvider statsProvider;
private final Logger log = LoggerFactory.getLogger(getClass());
- private final ExecutorService executorService =
MoreExecutors.getExitingExecutorService(
+ private final ExecutorService executorService =
ExecutorUtils.getExitingExecutorService(
(ThreadPoolExecutor) Executors.newFixedThreadPool(5));
private final List<Registration> regs = new ArrayList<>();
private BackgroundObserver backgroundObserver;