In the statement A.equals(B), if B is a constant/Java enum, it is recommended to use B.equals(A). This help to avoid NPE at runtime which Findbugs can't detect.
Bill - see RFE3026970
Log in to post a comment.
Bill - see RFE3026970