Don't initialize AtomicReference to its default value.

This commit is contained in:
Gary Gregory 2021-10-13 16:04:10 -04:00 committed by Oleg Kalnichevski
parent 8b73f6b83c
commit 238401731b
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}