Code review comment: Sorry to ask this, but can we change this one to be the same format (ie. using ifPresent lambda) so the code is all consistent.

Code under review:
private ConfigurationBuilder builderFromProperties(Properties properties) {
        
        ConfigurationBuilder builder = new ConfigurationBuilder();
        Object marshallerInstance = properties.remove(ConfigurationProperties.MARSHALLER);
        if (marshallerInstance != null) {
            if (marshallerInstance instanceof ProtoStreamMarshaller) {
                handleProtoStreamMarshaller((ProtoStreamMarshaller) marshallerInstance, properties, beanManager);
            }
            builder.marshaller((Marshaller) marshallerInstance);
        }

        if (infinispanClientRuntimeConfig != null) {
            
            Optional<String> runtimeServerList = infinispanClientRuntimeConfig.serverList;
            if (runtimeServerList.isPresent()) {
                properties.put(ConfigurationProperties.SERVER_LIST, runtimeServerList.get());
            }

            infinispanClientRuntimeConfig.clientIntelligence
                    .ifPresent(v -> properties.put(ConfigurationProperties.CLIENT_INTELLIGENCE, v));

            infinispanClientRuntimeConfig.useAuth
                    .ifPresent(v -> properties.put(ConfigurationProperties.USE_AUTH, v));
            infinispanClientRuntimeConfig.authUsername
                    .ifPresent(v -> properties.put(ConfigurationProperties.AUTH_USERNAME, v));
            infinispanClientRuntimeConfig.authPassword
                    .ifPresent(v -> properties.put(ConfigurationProperties.AUTH_PASSWORD, v));
            infinispanClientRuntimeConfig.authRealm
                    .ifPresent(v -> properties.put(ConfigurationProperties.AUTH_REALM, v));
            infinispanClientRuntimeConfig.authServerName
                    .ifPresent(v -> properties.put(ConfigurationProperties.AUTH_SERVER_NAME, v));
            infinispanClientRuntimeConfig.authClientSubject
                    .ifPresent(v -> properties.put(ConfigurationProperties.AUTH_CLIENT_SUBJECT, v));
            infinispanClientRuntimeConfig.authCallbackHandler
                    .ifPresent(v -> properties.put(ConfigurationProperties.AUTH_CALLBACK_HANDLER, v));

            infinispanClientRuntimeConfig.saslMechanism
                    .ifPresent(v -> properties.put(ConfigurationProperties.SASL_MECHANISM, v));

        }

        builder.withProperties(properties);

        return builder;
    }

Line commented on: Optional<String> runtimeServerList = infinispanClientRuntimeConfig.serverList;

Revised code:
private ConfigurationBuilder builderFromProperties(Properties properties) {
        
        ConfigurationBuilder builder = new ConfigurationBuilder();
        Object marshallerInstance = properties.remove(ConfigurationProperties.MARSHALLER);
        if (marshallerInstance != null) {
            if (marshallerInstance instanceof ProtoStreamMarshaller) {
                handleProtoStreamMarshaller((ProtoStreamMarshaller) marshallerInstance, properties, beanManager);
            }
            builder.marshaller((Marshaller) marshallerInstance);
        }

        if (infinispanClientRuntimeConfig != null) {

            infinispanClientRuntimeConfig.serverList
                    .ifPresent(v -> properties.put(ConfigurationProperties.SERVER_LIST, v));

            infinispanClientRuntimeConfig.clientIntelligence
                    .ifPresent(v -> properties.put(ConfigurationProperties.CLIENT_INTELLIGENCE, v));

            infinispanClientRuntimeConfig.useAuth
                    .ifPresent(v -> properties.put(ConfigurationProperties.USE_AUTH, v));
            infinispanClientRuntimeConfig.authUsername
                    .ifPresent(v -> properties.put(ConfigurationProperties.AUTH_USERNAME, v));
            infinispanClientRuntimeConfig.authPassword
                    .ifPresent(v -> properties.put(ConfigurationProperties.AUTH_PASSWORD, v));
            infinispanClientRuntimeConfig.authRealm
                    .ifPresent(v -> properties.put(ConfigurationProperties.AUTH_REALM, v));
            infinispanClientRuntimeConfig.authServerName
                    .ifPresent(v -> properties.put(ConfigurationProperties.AUTH_SERVER_NAME, v));
            infinispanClientRuntimeConfig.authClientSubject
                    .ifPresent(v -> properties.put(ConfigurationProperties.AUTH_CLIENT_SUBJECT, v));
            infinispanClientRuntimeConfig.authCallbackHandler
                    .ifPresent(v -> properties.put(ConfigurationProperties.AUTH_CALLBACK_HANDLER, v));

            infinispanClientRuntimeConfig.saslMechanism
                    .ifPresent(v -> properties.put(ConfigurationProperties.SASL_MECHANISM, v));
        }

        builder.withProperties(properties);

        return builder;
    }