Skip to content

Commit 74ad9b8

Browse files
klueverGoogle Java Core Libraries
authored and
Google Java Core Libraries
committedMay 12, 2023
Remove @Beta from various concurrent testing APIs.
RELNOTES=`concurrent`: Remove `@Beta` from various `concurrent` testing APIs. PiperOrigin-RevId: 531554997
1 parent 98820c7 commit 74ad9b8

File tree

6 files changed

+2
-10
lines changed

6 files changed

+2
-10
lines changed
 

‎android/guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java

-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
import static java.util.concurrent.TimeUnit.MILLISECONDS;
2020
import static java.util.concurrent.TimeUnit.SECONDS;
2121

22-
import com.google.common.annotations.Beta;
2322
import com.google.common.annotations.GwtIncompatible;
2423
import com.google.common.util.concurrent.ListenableFuture;
2524
import java.util.concurrent.CancellationException;
@@ -40,7 +39,6 @@
4039
* @author Sven Mawson
4140
* @since 10.0
4241
*/
43-
@Beta
4442
@GwtIncompatible
4543
public abstract class AbstractListenableFutureTest extends TestCase {
4644

‎android/guava-testlib/src/com/google/common/util/concurrent/testing/MockFutureListener.java

-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
import static com.google.common.util.concurrent.MoreExecutors.directExecutor;
2020
import static java.util.concurrent.TimeUnit.SECONDS;
2121

22-
import com.google.common.annotations.Beta;
2322
import com.google.common.annotations.GwtIncompatible;
2423
import com.google.common.util.concurrent.ListenableFuture;
2524
import java.util.concurrent.CountDownLatch;
@@ -32,7 +31,6 @@
3231
* @author Nishant Thakkar
3332
* @since 10.0
3433
*/
35-
@Beta
3634
@GwtIncompatible
3735
public class MockFutureListener implements Runnable {
3836
private final CountDownLatch countDownLatch;

‎android/guava-testlib/src/com/google/common/util/concurrent/testing/TestingExecutors.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@
4242
* @author Chris Nokleberg
4343
* @since 14.0
4444
*/
45-
@Beta
4645
@GwtIncompatible
4746
public final class TestingExecutors {
4847
private TestingExecutors() {}
@@ -93,6 +92,7 @@ public static ListeningScheduledExecutorService noOpScheduledExecutor() {
9392
*
9493
* @since NEXT (taking the place of a method with a different return type from 15.0)
9594
*/
95+
@Beta
9696
public static ListeningScheduledExecutorService sameThreadScheduledExecutor() {
9797
return new SameThreadScheduledExecutorService();
9898
}

‎guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java

-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
import static java.util.concurrent.TimeUnit.MILLISECONDS;
2020
import static java.util.concurrent.TimeUnit.SECONDS;
2121

22-
import com.google.common.annotations.Beta;
2322
import com.google.common.annotations.GwtIncompatible;
2423
import com.google.common.util.concurrent.ListenableFuture;
2524
import java.util.concurrent.CancellationException;
@@ -40,7 +39,6 @@
4039
* @author Sven Mawson
4140
* @since 10.0
4241
*/
43-
@Beta
4442
@GwtIncompatible
4543
public abstract class AbstractListenableFutureTest extends TestCase {
4644

‎guava-testlib/src/com/google/common/util/concurrent/testing/MockFutureListener.java

-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
import static com.google.common.util.concurrent.MoreExecutors.directExecutor;
2020
import static java.util.concurrent.TimeUnit.SECONDS;
2121

22-
import com.google.common.annotations.Beta;
2322
import com.google.common.annotations.GwtIncompatible;
2423
import com.google.common.util.concurrent.ListenableFuture;
2524
import java.util.concurrent.CountDownLatch;
@@ -32,7 +31,6 @@
3231
* @author Nishant Thakkar
3332
* @since 10.0
3433
*/
35-
@Beta
3634
@GwtIncompatible
3735
public class MockFutureListener implements Runnable {
3836
private final CountDownLatch countDownLatch;

‎guava-testlib/src/com/google/common/util/concurrent/testing/TestingExecutors.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@
4242
* @author Chris Nokleberg
4343
* @since 14.0
4444
*/
45-
@Beta
4645
@GwtIncompatible
4746
public final class TestingExecutors {
4847
private TestingExecutors() {}
@@ -93,6 +92,7 @@ public static ListeningScheduledExecutorService noOpScheduledExecutor() {
9392
*
9493
* @since NEXT (taking the place of a method with a different return type from 15.0)
9594
*/
95+
@Beta
9696
public static ListeningScheduledExecutorService sameThreadScheduledExecutor() {
9797
return new SameThreadScheduledExecutorService();
9898
}

0 commit comments

Comments
 (0)
Please sign in to comment.