Skip to content

Commit

Permalink
Remove @Beta from ExecutionSequencer, `MoreExecutors.newSequentia…
Browse files Browse the repository at this point in the history
…lExecutor`, and `Monitor`.

RELNOTES=`util.concurrent`: Removed `@Beta` from `ExecutionSequencer`, `MoreExecutors.newSequentialExecutor`, and `Monitor`.
PiperOrigin-RevId: 416833591
  • Loading branch information
cpovirk authored and Google Java Core Libraries committed Dec 16, 2021
1 parent 8eff3ed commit 189d668
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
import static com.google.common.util.concurrent.MoreExecutors.directExecutor;
import static java.util.Objects.requireNonNull;

import com.google.common.annotations.Beta;
import java.util.concurrent.Callable;
import java.util.concurrent.Executor;
import java.util.concurrent.atomic.AtomicReference;
Expand Down Expand Up @@ -84,7 +83,6 @@
*
* @since 26.0
*/
@Beta
@ElementTypesAreNonnullByDefault
public final class ExecutionSequencer {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

import static com.google.common.base.Preconditions.checkNotNull;

import com.google.common.annotations.Beta;
import com.google.common.annotations.GwtIncompatible;
import com.google.common.primitives.Longs;
import com.google.errorprone.annotations.concurrent.GuardedBy;
Expand Down Expand Up @@ -197,7 +196,6 @@
* @author Martin Buchholz
* @since 10.0
*/
@Beta
@GwtIncompatible
@SuppressWarnings("GuardedBy") // TODO(b/35466881): Fix or suppress.
@ElementTypesAreNonnullByDefault
Expand Down Expand Up @@ -301,7 +299,6 @@ public final class Monitor {
*
* @since 10.0
*/
@Beta
public abstract static class Guard {

@Weak final Monitor monitor;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,6 @@ public static Executor directExecutor() {
*
* @since 23.3 (since 23.1 as {@code sequentialExecutor})
*/
@Beta
@GwtIncompatible
public static Executor newSequentialExecutor(Executor delegate) {
return new SequentialExecutor(delegate);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
import static com.google.common.util.concurrent.MoreExecutors.directExecutor;
import static java.util.Objects.requireNonNull;

import com.google.common.annotations.Beta;
import java.util.concurrent.Callable;
import java.util.concurrent.Executor;
import java.util.concurrent.atomic.AtomicReference;
Expand Down Expand Up @@ -84,7 +83,6 @@
*
* @since 26.0
*/
@Beta
@ElementTypesAreNonnullByDefault
public final class ExecutionSequencer {

Expand Down
3 changes: 0 additions & 3 deletions guava/src/com/google/common/util/concurrent/Monitor.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
import static com.google.common.base.Preconditions.checkNotNull;
import static com.google.common.util.concurrent.Internal.toNanosSaturated;

import com.google.common.annotations.Beta;
import com.google.common.annotations.GwtIncompatible;
import com.google.common.primitives.Longs;
import com.google.errorprone.annotations.concurrent.GuardedBy;
Expand Down Expand Up @@ -200,7 +199,6 @@
* @author Martin Buchholz
* @since 10.0
*/
@Beta
@GwtIncompatible
@SuppressWarnings("GuardedBy") // TODO(b/35466881): Fix or suppress.
@ElementTypesAreNonnullByDefault
Expand Down Expand Up @@ -304,7 +302,6 @@ public final class Monitor {
*
* @since 10.0
*/
@Beta
public abstract static class Guard {

@Weak final Monitor monitor;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,6 @@ public static Executor directExecutor() {
*
* @since 23.3 (since 23.1 as {@code sequentialExecutor})
*/
@Beta
@GwtIncompatible
public static Executor newSequentialExecutor(Executor delegate) {
return new SequentialExecutor(delegate);
Expand Down

0 comments on commit 189d668

Please sign in to comment.