Skip to content

Commit

Permalink
Reduce the scope of access control
Browse files Browse the repository at this point in the history
Signed-off-by: raccoonback <kosb15@naver.com>
  • Loading branch information
raccoonback committed Feb 2, 2025
1 parent 6044fc9 commit ec7fd2a
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
import reactor.util.annotation.Nullable;

import java.time.Duration;
import java.util.Objects;
import java.util.concurrent.ScheduledFuture;
import java.util.concurrent.ThreadLocalRandom;

Expand All @@ -51,7 +50,7 @@
* @author raccoonback
* @since 1.2.3
*/
public class Http2ConnectionLivenessHandler extends ChannelDuplexHandler {
final class Http2ConnectionLivenessHandler extends ChannelDuplexHandler {

private static final Logger log = Loggers.getLogger(Http2ConnectionLivenessHandler.class);

Expand All @@ -65,7 +64,6 @@ public class Http2ConnectionLivenessHandler extends ChannelDuplexHandler {
private boolean isPingAckPending;

public Http2ConnectionLivenessHandler(Http2ConnectionEncoder encoder, @Nullable Duration pingInterval) {
Objects.requireNonNull(encoder, "encoder");
this.encoder = encoder;

if (pingInterval != null) {
Expand Down

0 comments on commit ec7fd2a

Please sign in to comment.