Don't initialize AtomicReference to its default value.
This commit is contained in:
parent
8b73f6b83c
commit
238401731b
|
@ -79,7 +79,7 @@ class InternalHttpAsyncExecRuntime implements AsyncExecRuntime {
|
|||
this.connectionInitiator = connectionInitiator;
|
||||
this.pushHandlerFactory = pushHandlerFactory;
|
||||
this.tlsConfig = tlsConfig;
|
||||
this.endpointRef = new AtomicReference<>(null);
|
||||
this.endpointRef = new AtomicReference<>();
|
||||
this.validDuration = TimeValue.NEG_ONE_MILLISECOND;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue