This is an automated email from the ASF dual-hosted git repository.

clebertsuconic pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/activemq-artemis.git

commit d2bf02082f2198c4f64219ba8acff7615019383e
Author: Otavio R. Piske <[email protected]>
AuthorDate: Wed Feb 20 21:04:29 2019 +0100

    NO-JIRA Simplify the assignment of the initialConnectors
---
 .../org/apache/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 856affd..8fa0beb 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();
 

Reply via email to