A DESCRIPTION OF THE PROBLEM :
In the "Method Detail" section of the method "compareTo()" from the "Comparable" interface, the word "if" has been erroneously typed as "iff" as you could see from the following text that I've copied:
This implies that x.compareTo(y) must throw an exception iff y.compareTo(x) throws an exception.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Comparable.html
Click the link above and directly check the "Method Detail" section of the method "compareTo()", on the second paragraph of the description, you could easily see the erroneously typed word "iff".
CUSTOMER SUBMITTED WORKAROUND :
It's not a big one, simply changing "iff" to "if" would be fine.
In the "Method Detail" section of the method "compareTo()" from the "Comparable" interface, the word "if" has been erroneously typed as "iff" as you could see from the following text that I've copied:
This implies that x.compareTo(y) must throw an exception iff y.compareTo(x) throws an exception.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Comparable.html
Click the link above and directly check the "Method Detail" section of the method "compareTo()", on the second paragraph of the description, you could easily see the erroneously typed word "iff".
CUSTOMER SUBMITTED WORKAROUND :
It's not a big one, simply changing "iff" to "if" would be fine.