--- old/src/share/classes/java/util/OptionalLong.java 2013-07-05 14:22:42.758155861 -0700
+++ new/src/share/classes/java/util/OptionalLong.java 2013-07-05 14:22:42.590155864 -0700
@@ -186,10 +186,10 @@
}
/**
- * Indicates whether some other object is "equal to" this Optional. The
+ * Indicates whether some other object is "equal to" this OptionalLong. The
* other object is considered equal if:
*
- * - it is also an {@code OptionalInt} and;
+ *
- it is also an {@code OptionalLong} and;
*
- both instances have no value present or;
*
- the present values are "equal to" each other via {@code ==}.
*
@@ -226,12 +226,14 @@
}
/**
- * Returns a non-empty string representation of this OptionalLong suitable for
+ * {@inheritDoc}
+ *
+ * Returns a non-empty string representation of this object suitable for
* debugging. The exact presentation format is unspecified and may vary
* between implementations and versions.
*
* @implSpec If a value is present the result must include its string
- * representation in the result. Empty and present OptionalLongs must be
+ * representation in the result. Empty and present instances must be
* unambiguously differentiable.
*
* @return the string representation of this instance