8013413: javadoc warnings
Alan Bateman
Alan.Bateman at oracle.com
Sun Apr 28 11:09:36 UTC 2013
I need a reviewer to fix two trivial javadoc warnings that sneaked in
recently.
-Alan.
diff --git a/src/share/classes/java/nio/file/attribute/FileTime.java
b/src/share/classes/java/nio/file/attribute/FileTime.java
--- a/src/share/classes/java/nio/file/attribute/FileTime.java
+++ b/src/share/classes/java/nio/file/attribute/FileTime.java
@@ -219,8 +219,8 @@
*
* <p> {@code FileTime} can store points on the time-line further
in the
* future and further in the past than {@code Instant}. Conversion
- * from such further time points saturates to {@link Instant.MIN} if
- * earlier than {@code Instant.MIN} or {@link Instant.MAX} if later
+ * from such further time points saturates to {@link Instant#MIN} if
+ * earlier than {@code Instant.MIN} or {@link Instant#MAX} if later
* than {@code Instant.MAX}.
*
* @return an instant representing the same point on the time-line as
diff --git a/src/share/classes/java/util/Spliterator.java
b/src/share/classes/java/util/Spliterator.java
--- a/src/share/classes/java/util/Spliterator.java
+++ b/src/share/classes/java/util/Spliterator.java
@@ -438,7 +438,7 @@
/**
* If this Spliterator's source is {@link #SORTED} by a {@link
Comparator},
* returns that {@code Comparator}. If the source is {@code SORTED} in
- * {@linkplain Comparable natural order, returns {@code null}.
Otherwise,
+ * {@linkplain Comparable natural order}, returns {@code null}.
Otherwise,
* if the source is not {@code SORTED}, throws {@link
IllegalStateException}.
*
* @implSpec
More information about the core-libs-dev
mailing list