From d2bf02082f2198c4f64219ba8acff7615019383e Mon Sep 17 00:00:00 2001 From: "Otavio R. Piske" Date: Wed, 20 Feb 2019 21:04:29 +0100 Subject: [PATCH] NO-JIRA Simplify the assignment of the initialConnectors --- .../activemq/artemis/core/client/impl/ServerLocatorImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artemis-core-client/src/main/java/org/apache/activemq/artemis/core/client/impl/ServerLocatorImpl.java b/artemis-core-client/src/main/java/org/apache/activemq/artemis/core/client/impl/ServerLocatorImpl.java index 856affdc78..8fa0beb96c 100644 --- a/artemis-core-client/src/main/java/org/apache/activemq/artemis/core/client/impl/ServerLocatorImpl.java +++ b/artemis-core-client/src/main/java/org/apache/activemq/artemis/core/client/impl/ServerLocatorImpl.java @@ -333,7 +333,7 @@ public final class ServerLocatorImpl implements ServerLocatorInternal, Discovery this.discoveryGroupConfiguration = discoveryGroupConfiguration; - this.initialConnectors = transportConfigs != null ? transportConfigs : null; + this.initialConnectors = transportConfigs; this.nodeID = UUIDGenerator.getInstance().generateStringUUID();