mirror of https://github.com/grpc/grpc-java.git
core: Remove unnecessary SuppressWarnings("deprecation") (#12052)
This commit is contained in:
parent
be0247f501
commit
3f5fdf1266
|
@ -1212,7 +1212,6 @@ final class ManagedChannelImpl extends ManagedChannel implements
|
|||
}
|
||||
|
||||
@Override
|
||||
@SuppressWarnings("deprecation")
|
||||
public ConnectivityState getState(boolean requestConnection) {
|
||||
ConnectivityState savedChannelState = channelStateManager.getState();
|
||||
if (requestConnection && savedChannelState == IDLE) {
|
||||
|
@ -1558,7 +1557,6 @@ final class ManagedChannelImpl extends ManagedChannel implements
|
|||
|
||||
checkState(!terminated, "Channel is terminated");
|
||||
|
||||
@SuppressWarnings("deprecation")
|
||||
ResolvingOobChannelBuilder builder = new ResolvingOobChannelBuilder();
|
||||
|
||||
return builder
|
||||
|
|
Loading…
Reference in New Issue