activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clebertsuco...@apache.org
Subject [2/2] activemq-artemis git commit: ARTEMIS-652 Incorrect null check in ActiveMQActivationSpec#toString for attribute connectionFactoryLookup
Date Mon, 25 Jul 2016 18:31:27 GMT
ARTEMIS-652 Incorrect null check in ActiveMQActivationSpec#toString for attribute connectionFactoryLookup

Changed null check to check correct attribute


Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/d281eb51
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/d281eb51
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/d281eb51

Branch: refs/heads/master
Commit: d281eb5140cda86f7338be54880f307a7e8c82aa
Parents: 7a0d3fe
Author: Martin Styk <mstyk@redhat.com>
Authored: Mon Jul 25 17:24:57 2016 +0200
Committer: Clebert Suconic <clebertsuconic@apache.org>
Committed: Mon Jul 25 14:31:19 2016 -0400

----------------------------------------------------------------------
 .../apache/activemq/artemis/ra/inflow/ActiveMQActivationSpec.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/d281eb51/artemis-ra/src/main/java/org/apache/activemq/artemis/ra/inflow/ActiveMQActivationSpec.java
----------------------------------------------------------------------
diff --git a/artemis-ra/src/main/java/org/apache/activemq/artemis/ra/inflow/ActiveMQActivationSpec.java
b/artemis-ra/src/main/java/org/apache/activemq/artemis/ra/inflow/ActiveMQActivationSpec.java
index d9b6954..7a8e8c4 100644
--- a/artemis-ra/src/main/java/org/apache/activemq/artemis/ra/inflow/ActiveMQActivationSpec.java
+++ b/artemis-ra/src/main/java/org/apache/activemq/artemis/ra/inflow/ActiveMQActivationSpec.java
@@ -769,7 +769,7 @@ public class ActiveMQActivationSpec extends ConnectionFactoryProperties
implemen
       StringBuffer buffer = new StringBuffer();
       buffer.append(ActiveMQActivationSpec.class.getName()).append('(');
       buffer.append("ra=").append(ra);
-      if (messageSelector != null) {
+      if (connectionFactoryLookup != null) {
          buffer.append(" connectionFactoryLookup=").append(connectionFactoryLookup);
       }
       buffer.append(" destination=").append(destination);


Mime
View raw message