diff --git a/annotation/.classpath b/annotation/.classpath index fd7ad7fbda7..cfd1a843be6 100644 --- a/annotation/.classpath +++ b/annotation/.classpath @@ -1,18 +1,19 @@ - + - + + - + @@ -22,5 +23,22 @@ + + + + + + + + + + + + + + + + + diff --git a/docs/bugpattern/EqualsNaN.md b/docs/bugpattern/EqualsNaN.md index b375262d3ff..174482e4cd2 100644 --- a/docs/bugpattern/EqualsNaN.md +++ b/docs/bugpattern/EqualsNaN.md @@ -1,2 +1,2 @@ -As per JLS 15.21.1, == NaN comparisons always return false, even NaN == NaN. -Instead, use the isNaN methods to check for NaN. +As per the Java Language Specification, == comparisions with NaN always return false, including NaN == NaN. +Instead, use the isNaN methods to test for NaN values. \ No newline at end of file