construction method of http2serverupgradecodec to be public#15484
construction method of http2serverupgradecodec to be public#15484normanmaurer merged 1 commit intonetty:mainfrom
Conversation
| } | ||
|
|
||
| private Http2ServerUpgradeCodec(String handlerName, Http2ConnectionHandler connectionHandler, | ||
| public Http2ServerUpgradeCodec(String handlerName, Http2ConnectionHandler connectionHandler, |
There was a problem hiding this comment.
| public Http2ServerUpgradeCodec(String handlerName, Http2ConnectionHandler connectionHandler, | |
| protected Http2ServerUpgradeCodec(String handlerName, Http2ConnectionHandler connectionHandler, |
All other methods are set to public, why only set this one to protected? Is there any concern? |
You mentioned you only need it to extend the class so I think protected is fine for now. |
Sorry, I need to use the Java |
|
@brucelwl thanks! |
) Motivation: The last construction method of Http2ServerUpgradeCodec should also be set to public Modifications: - Change constructor to public Result: Fixes #15483
for issue: #15483