Skip to content

Commit 4a8f791

Browse files
committed
demo for an increase in method count
1 parent b0634bb commit 4a8f791

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
import com.google.common.base.Supplier;
3030
import com.google.common.util.concurrent.ListenableFuture;
3131
import com.google.common.util.concurrent.SettableFuture;
32+
import com.google.gson.Gson;
3233
import io.grpc.Attributes;
3334
import io.grpc.CallOptions;
3435
import io.grpc.Channel;
@@ -111,6 +112,8 @@ public final class ManagedChannelImpl extends ManagedChannel implements Instrume
111112
static final Status SUBCHANNEL_SHUTDOWN_STATUS =
112113
Status.UNAVAILABLE.withDescription("Subchannel shutdown invoked");
113114

115+
private final Gson gson = new Gson();
116+
114117
private final LogId logId = LogId.allocate(getClass().getName());
115118
private final String target;
116119
private final NameResolver.Factory nameResolverFactory;

0 commit comments

Comments
 (0)