src/main/java/io/axoniq/axonserver/connector/AxonServerConnectionFactory.java
/**
         * Validates the state of the builder, setting defaults where necessary.
         * <p>
         * This method is protected to allow overriding by subclasses. Subclasses are recommended to call this method as
         * part of their own validation process.
         */
Validates the state of the builder, setting defaults where necessary.

This method is protected to allow overriding by subclasses. Subclasses are recommended to call this method as
part of their own validation process.
Validates the state of the builder setting defaults where necessary . This method is protected to allow overriding by subclasses . Subclasses are recommended to call this method as part of their own validation process .
protected void validate() {
            if (routingServers == null) {
                routingServers = Collections.singletonList(new ServerAddress());
            }
            if (executorService == null) {
                executorService = new ScheduledThreadPoolExecutor(
                        executorPoolSize, AxonConnectorThreadFactory.forInstanceId(clientInstanceId)
                );
            }
        }
protected void validate ( ) { if ( routingServers == null ) { routingServers = Collections . singletonList ( new ServerAddress ( ) ) ; } if ( executorService == null ) { executorService = new ScheduledThreadPoolExecutor ( executorPoolSize , AxonConnectorThreadFactory . forInstanceId ( clientInstanceId ) ) ; } }
Validates the state of the builder, setting defaults where necessary.
Validates the state of the builder setting defaults where necessary .