Skip to content

Commit 927bc75

Browse files
committed
demo for an increase in method count
1 parent 6e7edff commit 927bc75

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
@@ -30,6 +30,7 @@
3030
import com.google.common.base.Supplier;
3131
import com.google.common.util.concurrent.ListenableFuture;
3232
import com.google.common.util.concurrent.SettableFuture;
33+
import com.google.gson.Gson;
3334
import io.grpc.Attributes;
3435
import io.grpc.CallOptions;
3536
import io.grpc.Channel;
@@ -105,6 +106,8 @@ final class ManagedChannelImpl extends ManagedChannel implements Instrumented<Ch
105106
static final Status SUBCHANNEL_SHUTDOWN_STATUS =
106107
Status.UNAVAILABLE.withDescription("Subchannel shutdown invoked");
107108

109+
private final Gson gson = new Gson();
110+
108111
private final LogId logId = LogId.allocate(getClass().getName());
109112
private final String target;
110113
private final NameResolver.Factory nameResolverFactory;

0 commit comments

Comments
 (0)