Skip to content

Commit

Permalink
Fix visibility of abstract methods (java-native-access#697)
Browse files Browse the repository at this point in the history
Motivation:

These methods should be marked as private-package as its arguments are
also package-private

Modifications:

Fix visibility

Result:

Cleanup
  • Loading branch information
normanmaurer authored Mar 14, 2024
1 parent 7ad7a82 commit acfbcfe
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public QuicClientCodecBuilder clone() {
}

@Override
protected ChannelHandler build(QuicheConfig config,
ChannelHandler build(QuicheConfig config,
Function<QuicChannel, ? extends QuicSslEngine> sslEngineProvider,
Executor sslTaskExecutor,
int localConnIdLength, FlushStrategy flushStrategy) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@ public final ChannelHandler build() {
* @param flushStrategy the {@link FlushStrategy} that should be used.
* @return the {@link ChannelHandler} which acts as codec.
*/
protected abstract ChannelHandler build(QuicheConfig config,
abstract ChannelHandler build(QuicheConfig config,
Function<QuicChannel, ? extends QuicSslEngine> sslContextProvider,
Executor sslTaskExecutor,
int localConnIdLength, FlushStrategy flushStrategy);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ protected void validate() {
}

@Override
protected ChannelHandler build(QuicheConfig config,
ChannelHandler build(QuicheConfig config,
Function<QuicChannel, ? extends QuicSslEngine> sslEngineProvider,
Executor sslTaskExecutor,
int localConnIdLength, FlushStrategy flushStrategy) {
Expand Down

0 comments on commit acfbcfe

Please sign in to comment.