Skip to content

Commit b7dee46

Browse files
committed
fix: move assignments together
1 parent 33043e1 commit b7dee46

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

netty/src/main/java/io/grpc/netty/NettyClientHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,7 @@ private NettyClientHandler(
315315
this.authority = authority;
316316
this.attributes = Attributes.newBuilder()
317317
.set(GrpcAttributes.ATTR_CLIENT_EAG_ATTRS, eagAttributes).build();
318+
this.tcpMetrics = new TcpMetrics(metricRecorder);
318319

319320
// Set the frame listener on the decoder.
320321
decoder().frameListener(new FrameListener());
@@ -357,7 +358,6 @@ public void onStreamClosed(Http2Stream stream) {
357358
}
358359
}
359360
});
360-
this.tcpMetrics = new TcpMetrics(metricRecorder);
361361
}
362362

363363
/**

0 commit comments

Comments
 (0)