ARTEMIS-1257 Fixing hashCode
ResourceAdapterTest had a few failures with a NPE
This commit is contained in:
parent
14fe149fa5
commit
08d8c08ed3
|
@ -897,7 +897,7 @@ public class ActiveMQActivationSpec extends ConnectionFactoryProperties implemen
|
|||
result = 31 * result + acknowledgeMode;
|
||||
result = 31 * result + (subscriptionDurability ? 1 : 0);
|
||||
result = 31 * result + (subscriptionName != null ? subscriptionName.hashCode() : 0);
|
||||
result = 31 * result + (shareSubscriptions ? 1 : 0);
|
||||
result = 31 * result + (shareSubscriptions != null && shareSubscriptions ? 1 : 0);
|
||||
result = 31 * result + (user != null ? user.hashCode() : 0);
|
||||
result = 31 * result + (password != null ? password.hashCode() : 0);
|
||||
result = 31 * result + (maxSession != null ? maxSession.hashCode() : 0);
|
||||
|
|
Loading…
Reference in New Issue