--- old/src/share/classes/java/util/Calendar.java 2013-06-10 10:37:52.585879060 +0100 +++ new/src/share/classes/java/util/Calendar.java 2013-06-10 10:37:52.297879063 +0100 @@ -2681,9 +2681,9 @@ * Returns whether this Calendar represents a time * before the time represented by the specified * Object. This method is equivalent to: - *
+ *
{@code
      *         compareTo(when) < 0
-     * 
+ * } * if and only if when is a Calendar * instance. Otherwise, the method returns false. * @@ -2702,9 +2702,9 @@ * Returns whether this Calendar represents a time * after the time represented by the specified * Object. This method is equivalent to: - *
+ *
{@code
      *         compareTo(when) > 0
-     * 
+ * } * if and only if when is a Calendar * instance. Otherwise, the method returns false. *