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
8a567f4910
commit
dd168f406e
@ -675,7 +675,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