Skip to content

Commit

Permalink
ARTEMIS-652 Incorrect null check in ActiveMQActivationSpec#toString f…
Browse files Browse the repository at this point in the history
…or attribute connectionFactoryLookup

Changed null check to check correct attribute

(cherry picked from commit d281eb5)

https://issues.jboss.org/browse/JBEAP-5394
  • Loading branch information
MartinStyk committed Aug 16, 2016
1 parent 04acde0 commit ec5e2ce
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -761,7 +761,7 @@ public String toString() {
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);
Expand Down

0 comments on commit ec5e2ce

Please sign in to comment.