opendj-sdk/opendj-cli/src/main/java/com/forgerock/opendj/cli/AuthenticatedConnectionFactory.java
@@ -219,7 +219,7 @@ /** {@inheritDoc} */ @Override public Promise<Connection, LdapException> getConnectionAsync() { final AtomicReference<Connection> connectionHolder = new AtomicReference<Connection>(); final AtomicReference<Connection> connectionHolder = new AtomicReference<>(); return parentFactory.getConnectionAsync() .thenAsync( new AsyncFunction<Connection, BindResult, LdapException>() {