From ad57f5221a83932f4fc8906d2461686dbe774fab Mon Sep 17 00:00:00 2001 From: Google Java Core Libraries Date: Mon, 8 Jul 2024 15:09:00 -0700 Subject: [PATCH] Add a Sequential Executor implementation for the j2kt super source. Also remove an J2KtIncompatible annotation. RELNOTES=n/a PiperOrigin-RevId: 650387739 --- .../src/com/google/common/util/concurrent/MoreExecutors.java | 1 - guava/src/com/google/common/util/concurrent/MoreExecutors.java | 1 - 2 files changed, 2 deletions(-) diff --git a/android/guava/src/com/google/common/util/concurrent/MoreExecutors.java b/android/guava/src/com/google/common/util/concurrent/MoreExecutors.java index 064537badcde..63c146395b18 100644 --- a/android/guava/src/com/google/common/util/concurrent/MoreExecutors.java +++ b/android/guava/src/com/google/common/util/concurrent/MoreExecutors.java @@ -377,7 +377,6 @@ public static Executor directExecutor() { * * @since 23.3 (since 23.1 as {@code sequentialExecutor}) */ - @J2ktIncompatible @GwtIncompatible public static Executor newSequentialExecutor(Executor delegate) { return new SequentialExecutor(delegate); diff --git a/guava/src/com/google/common/util/concurrent/MoreExecutors.java b/guava/src/com/google/common/util/concurrent/MoreExecutors.java index 903dfa07742f..2df6db458255 100644 --- a/guava/src/com/google/common/util/concurrent/MoreExecutors.java +++ b/guava/src/com/google/common/util/concurrent/MoreExecutors.java @@ -438,7 +438,6 @@ public static Executor directExecutor() { * * @since 23.3 (since 23.1 as {@code sequentialExecutor}) */ - @J2ktIncompatible @GwtIncompatible public static Executor newSequentialExecutor(Executor delegate) { return new SequentialExecutor(delegate);