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:
Idel Pivnitskiy 2020-08-02 22:55:13 -07:00 committed by GitHub
parent 8a567f4910
commit dd168f406e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -675,7 +675,7 @@ public class Http2FrameCodec extends Http2ConnectionHandler {
static class DefaultHttp2FrameStream implements Http2FrameStream {
private volatile int id = -1;
volatile Http2Stream stream;
private volatile Http2Stream stream;
final Http2FrameStreamEvent stateChanged = Http2FrameStreamEvent.stateChanged(this);
final Http2FrameStreamEvent writabilityChanged = Http2FrameStreamEvent.writabilityChanged(this);