Skip to main content
$X == $X or $X != $X is always true. (Unless the value compared is a float or double). To test if $X is not-a-number, use Double.isNaN($X).
This if statement will always have the same behavior and is therefore unnecessary.
Strings should not be compared with ’==’. This is a reference comparison operator. Use ‘.equals()’ instead.
The value of $X is being ignored and will be used in the conditional test
I