jdk/src/share/classes/java/lang/Comparable.java
changeset 18156 edb590d448c5
parent 15647 314007859004
child 21307 d9d1ad598db1
--- a/jdk/src/share/classes/java/lang/Comparable.java	Mon Jun 10 12:26:20 2013 +0200
+++ b/jdk/src/share/classes/java/lang/Comparable.java	Mon Jun 10 12:58:32 2013 +0100
@@ -56,7 +56,7 @@
  * method.<p>
  *
  * For example, if one adds two keys <tt>a</tt> and <tt>b</tt> such that
- * <tt>(!a.equals(b) && a.compareTo(b) == 0)</tt> to a sorted
+ * {@code (!a.equals(b) && a.compareTo(b) == 0)} to a sorted
  * set that does not use an explicit comparator, the second <tt>add</tt>
  * operation returns false (and the size of the sorted set does not increase)
  * because <tt>a</tt> and <tt>b</tt> are equivalent from the sorted set's