Fix JMS message null byte array equality tests

This commit is contained in:
Ville Skyttä 2016-07-28 23:12:53 +03:00
parent 0aa7dd1905
commit fa191ba4c6
2 changed files with 2 additions and 2 deletions

View File

@ -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();
}

View File

@ -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();
}