Skip to content

Commit f59e717

Browse files
authored
fix: remove @BetaApi from ApiFutures and ApiService (#2454)
fixes #2098
1 parent c8d145b commit f59e717

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

api-common-java/src/main/java/com/google/api/core/ApiFutures.java

-1
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,6 @@ public static <V, X extends Throwable> ApiFuture<V> catching(
161161
* callback}
162162
* @see Futures#catchingAsync(ListenableFuture, Class, AsyncFunction, Executor)
163163
*/
164-
@BetaApi
165164
public static <V, X extends Throwable> ApiFuture<V> catchingAsync(
166165
ApiFuture<V> input,
167166
Class<X> exceptionType,

api-common-java/src/main/java/com/google/api/core/ApiService.java

-2
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,6 @@ public interface ApiService {
165165
* {@code A.compareTo(B) < 0} then there is <b>not</b> guaranteed to be a valid state transition
166166
* {@code A -> B}.
167167
*/
168-
@BetaApi
169168
enum State {
170169
/**
171170
* A service in this state has encountered a problem and may not be operational. It cannot be
@@ -198,7 +197,6 @@ enum State {
198197
*
199198
* <p>All methods are no-ops by default, implementors should override the ones they care about.
200199
*/
201-
@BetaApi
202200
abstract class Listener {
203201
/**
204202
* Called when the service transitions to the {@linkplain State#FAILED FAILED} state. The

0 commit comments

Comments
 (0)