File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
reactor-netty-http/src/main/java/reactor/netty/http/client Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change 28
28
import reactor .util .annotation .Nullable ;
29
29
30
30
import java .time .Duration ;
31
- import java .util .Objects ;
32
31
import java .util .concurrent .ScheduledFuture ;
33
32
import java .util .concurrent .ThreadLocalRandom ;
34
33
51
50
* @author raccoonback
52
51
* @since 1.2.3
53
52
*/
54
- public class Http2ConnectionLivenessHandler extends ChannelDuplexHandler {
53
+ final class Http2ConnectionLivenessHandler extends ChannelDuplexHandler {
55
54
56
55
private static final Logger log = Loggers .getLogger (Http2ConnectionLivenessHandler .class );
57
56
@@ -65,7 +64,6 @@ public class Http2ConnectionLivenessHandler extends ChannelDuplexHandler {
65
64
private boolean isPingAckPending ;
66
65
67
66
public Http2ConnectionLivenessHandler (Http2ConnectionEncoder encoder , @ Nullable Duration pingInterval ) {
68
- Objects .requireNonNull (encoder , "encoder" );
69
67
this .encoder = encoder ;
70
68
71
69
if (pingInterval != null ) {
You can’t perform that action at this time.
0 commit comments