+1, thanks, Devanshu!

Regards,

Michael

Am 09.01.17 um 10:22 schrieb Devanshu Vyas:
Hello Devs,

I found an inconsistency in the code for string comparison
*statusId.equals("PRUN_COMPLETED")* whereas it should be written as
*"PRUN_COMPLETED".equals(statusId)*
cause the former can throw NullPointerException if the variable found to be
NULL.

This code pattern can be found at several places and if you all agree with
this I can provide a patch for correcting code.

Let me know your thoughts.

Thanks & Regards,
Devanshu Vyas.



Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to