8013413: javadoc warnings

Chris Hegarty chris.hegarty at oracle.com
Sun Apr 28 12:33:21 UTC 2013


On 28 Apr 2013, at 12:20, Lance Andersen <Lance.Andersen at oracle.com> wrote:

> Looks fine

+1 best to quash these whenever they're noticed.

-Chris.

> 
> --
> 
> Lance Andersen| Principal Member of Technical Staff | +1.781.442.2037
> Oracle Java Engineering 
> 1 Network Drive
> Burlington, MA 01803
> Lance.Andersen at oracle.com
> 
> Sent from my iPhone
> 
> On Apr 28, 2013, at 7:09 AM, Alan Bateman <Alan.Bateman at oracle.com> wrote:
> 
>> 
>> 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