diff --git a/src/share/classes/java/nio/file/attribute/FileTime.java b/src/share/classes/java/nio/file/attribute/FileTime.java index 6ad8ae49e8bab1a55a168ad50915bf23ccd35152..00b22b03bd372b4bd42e447b235b6bc9d8cacd1c 100644 --- a/src/share/classes/java/nio/file/attribute/FileTime.java +++ b/src/share/classes/java/nio/file/attribute/FileTime.java @@ -219,8 +219,8 @@ public final class FileTime * *

{@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 index bb3532673e4eb64572ed60b22ae2f642d5fde33d..588b8176d4741c0973a7ac8bf040b973cbc0b156 100644 --- a/src/share/classes/java/util/Spliterator.java +++ b/src/share/classes/java/util/Spliterator.java @@ -438,7 +438,7 @@ public interface Spliterator { /** * 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