Make DefaultHttp2FrameStream.stream
private (#10442)
Motivation: `DefaultHttp2FrameStream.stream` is not used outside of its class and therefore can be private. Modifications: - Make `DefaultHttp2FrameStream.stream` private; Result: Correct visibility scoping for `DefaultHttp2FrameStream.stream`.
This commit is contained in:
parent
f23704736d
commit
e919708edc
@ -659,7 +659,7 @@ public class Http2FrameCodec extends Http2ConnectionHandler {
|
|||||||
static class DefaultHttp2FrameStream implements Http2FrameStream {
|
static class DefaultHttp2FrameStream implements Http2FrameStream {
|
||||||
|
|
||||||
private volatile int id = -1;
|
private volatile int id = -1;
|
||||||
volatile Http2Stream stream;
|
private volatile Http2Stream stream;
|
||||||
|
|
||||||
final Http2FrameStreamEvent stateChanged = Http2FrameStreamEvent.stateChanged(this);
|
final Http2FrameStreamEvent stateChanged = Http2FrameStreamEvent.stateChanged(this);
|
||||||
final Http2FrameStreamEvent writabilityChanged = Http2FrameStreamEvent.writabilityChanged(this);
|
final Http2FrameStreamEvent writabilityChanged = Http2FrameStreamEvent.writabilityChanged(this);
|
||||||
|
Loading…
Reference in New Issue
Block a user