Skip to content

Commit ddf77f5

Browse files
committed
core: Fix experimental API issue for channel state API
The earlier issue was for the feature itself, not the stabilization.
1 parent 934c2e2 commit ddf77f5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

core/src/main/java/io/grpc/ConnectivityState.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
* @see <a href="https://github.com/grpc/grpc/blob/master/doc/connectivity-semantics-and-api.md">
2323
* more information</a>
2424
*/
25-
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/28")
25+
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/4359")
2626
public enum ConnectivityState {
2727
/**
2828
* The channel is trying to establish a connection and is waiting to make progress on one of the

core/src/main/java/io/grpc/ManagedChannel.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ public abstract class ManagedChannel extends Channel {
7878
* @throws UnsupportedOperationException if not supported by implementation
7979
* @since 1.1.0
8080
*/
81-
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/28")
81+
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/4359")
8282
public ConnectivityState getState(boolean requestConnection) {
8383
throw new UnsupportedOperationException("Not implemented");
8484
}
@@ -101,7 +101,7 @@ public ConnectivityState getState(boolean requestConnection) {
101101
* @throws UnsupportedOperationException if not supported by implementation
102102
* @since 1.1.0
103103
*/
104-
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/28")
104+
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/4359")
105105
public void notifyWhenStateChanged(ConnectivityState source, Runnable callback) {
106106
throw new UnsupportedOperationException("Not implemented");
107107
}

0 commit comments

Comments
 (0)