Fix JMS message null byte array equality tests
This commit is contained in:
parent
0aa7dd1905
commit
fa191ba4c6
|
@ -71,7 +71,7 @@ public class JMSCorrelationIDHeaderTest extends MessageHeaderTestBase {
|
|||
// Private -------------------------------------------------------
|
||||
|
||||
private void assertByteArraysEqual(final byte[] bytes1, final byte[] bytes2) {
|
||||
if (bytes1 == null | bytes2 == null) {
|
||||
if (bytes1 == null || bytes2 == null) {
|
||||
ProxyAssertSupport.fail();
|
||||
}
|
||||
|
||||
|
|
|
@ -114,7 +114,7 @@ public class ForeignMessageTest extends MessageTestBase {
|
|||
}
|
||||
|
||||
private void assertByteArraysEqual(final byte[] bytes1, final byte[] bytes2) {
|
||||
if (bytes1 == null | bytes2 == null) {
|
||||
if (bytes1 == null || bytes2 == null) {
|
||||
ProxyAssertSupport.fail();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue