You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by cl...@apache.org on 2019/02/20 22:12:12 UTC
[activemq-artemis] 03/06: NO-JIRA Simplify the assignment of the
initialConnectors
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 <an...@gmail.com>
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();