Skip to content

Commit 954dd1a

Browse files
ejona86AgraVator
authored andcommitted
core: Remove unnecessary SuppressWarnings("deprecation") (grpc#12052)
1 parent 90a15b7 commit 954dd1a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

core/src/main/java/io/grpc/internal/ManagedChannelImpl.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1212,7 +1212,6 @@ private void handleInternalSubchannelState(ConnectivityStateInfo newState) {
12121212
}
12131213

12141214
@Override
1215-
@SuppressWarnings("deprecation")
12161215
public ConnectivityState getState(boolean requestConnection) {
12171216
ConnectivityState savedChannelState = channelStateManager.getState();
12181217
if (requestConnection && savedChannelState == IDLE) {
@@ -1558,7 +1557,6 @@ protected ManagedChannelBuilder<?> delegate() {
15581557

15591558
checkState(!terminated, "Channel is terminated");
15601559

1561-
@SuppressWarnings("deprecation")
15621560
ResolvingOobChannelBuilder builder = new ResolvingOobChannelBuilder();
15631561

15641562
return builder

0 commit comments

Comments
 (0)