Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
0.13.0
-
None
Description
@Override public boolean equals(java.lang.Object that) { if (that == null) return false; if (that instanceof CrossPlatformResource) return this.equals((CrossPlatformResource)that); return false; }
There is a null check before instanceof. This check is superfluous:
https://stackoverflow.com/questions/2950319/is-null-check-needed-before-calling-instanceof
Attachments
Issue Links
- links to