core: Remove unnecessary SuppressWarnings("deprecation") (#12052)

This commit is contained in:
Eric Anderson 2025-05-06 21:44:48 -07:00 committed by GitHub
parent be0247f501
commit 3f5fdf1266
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 2 deletions

View File

@ -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