From dd2fac88bf7921ea33bcee76278b12ea46a6de9f Mon Sep 17 00:00:00 2001 From: cpovirk Date: Fri, 17 May 2024 10:09:51 -0700 Subject: [PATCH] Remove `@Beta` from `TestingExecutors.sameThreadScheduledExecutor`. We'd kept `@Beta` a year ago (cl/531554997) just in case there was any unexpected fallout from a small signature change at the time. As expected, all has gone well, so we can feel safe removing `@Beta`. RELNOTES=n/a PiperOrigin-RevId: 634813359 --- .../google/common/util/concurrent/testing/TestingExecutors.java | 2 -- .../google/common/util/concurrent/testing/TestingExecutors.java | 2 -- 2 files changed, 4 deletions(-) diff --git a/android/guava-testlib/src/com/google/common/util/concurrent/testing/TestingExecutors.java b/android/guava-testlib/src/com/google/common/util/concurrent/testing/TestingExecutors.java index ffbf3842f29d..e70572b046f5 100644 --- a/android/guava-testlib/src/com/google/common/util/concurrent/testing/TestingExecutors.java +++ b/android/guava-testlib/src/com/google/common/util/concurrent/testing/TestingExecutors.java @@ -18,7 +18,6 @@ import static java.util.concurrent.TimeUnit.NANOSECONDS; -import com.google.common.annotations.Beta; import com.google.common.annotations.GwtIncompatible; import com.google.common.collect.ImmutableList; import com.google.common.primitives.Longs; @@ -92,7 +91,6 @@ public static ListeningScheduledExecutorService noOpScheduledExecutor() { * * @since 32.0.0 (taking the place of a method with a different return type from 15.0) */ - @Beta public static ListeningScheduledExecutorService sameThreadScheduledExecutor() { return new SameThreadScheduledExecutorService(); } diff --git a/guava-testlib/src/com/google/common/util/concurrent/testing/TestingExecutors.java b/guava-testlib/src/com/google/common/util/concurrent/testing/TestingExecutors.java index ffbf3842f29d..e70572b046f5 100644 --- a/guava-testlib/src/com/google/common/util/concurrent/testing/TestingExecutors.java +++ b/guava-testlib/src/com/google/common/util/concurrent/testing/TestingExecutors.java @@ -18,7 +18,6 @@ import static java.util.concurrent.TimeUnit.NANOSECONDS; -import com.google.common.annotations.Beta; import com.google.common.annotations.GwtIncompatible; import com.google.common.collect.ImmutableList; import com.google.common.primitives.Longs; @@ -92,7 +91,6 @@ public static ListeningScheduledExecutorService noOpScheduledExecutor() { * * @since 32.0.0 (taking the place of a method with a different return type from 15.0) */ - @Beta public static ListeningScheduledExecutorService sameThreadScheduledExecutor() { return new SameThreadScheduledExecutorService(); }