O'Reilly logo
  • Fabian Engels thinks this is interesting:

if​ (rawMessage != ​null​​  && rawMessage.length() != Transmission.MESSAGE_LENGTH) {​ throw​ ​new​ IllegalArgumentException(​"Bad message received!"​);​  }

From

Cover of Java By Comparison

Note

This condition should be "rawMessage == null"