Skip to content

Commit 40e2b16

Browse files
authored
Make once-set fields of AbstractClientStream final (#11389)
1 parent 18d73a3 commit 40e2b16

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,8 @@ void writeFrame(
9292

9393
private final TransportTracer transportTracer;
9494
private final Framer framer;
95-
private boolean shouldBeCountedForInUse;
96-
private boolean useGet;
95+
private final boolean shouldBeCountedForInUse;
96+
private final boolean useGet;
9797
private Metadata headers;
9898
/**
9999
* Whether cancel() has been called. This is not strictly necessary, but removes the delay between

0 commit comments

Comments
 (0)