JDK 8 code review request for doclint fixes in java.time.format

Lance Andersen Lance.Andersen at oracle.com
Mon Jul 1 21:24:14 UTC 2013


+1 joe

--

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 Jul 1, 2013, at 4:55 PM, Joe Darcy <joe.darcy at oracle.com> wrote:

> Hello,
> 
> The patch below resolves the two remaining doclint issues in java.time.format.
> 
> Thanks,
> 
> -Joe
> 
> --- a/src/share/classes/java/time/format/DateTimeFormatter.java Mon Jul 01 13:42:03 2013 -0700
> +++ b/src/share/classes/java/time/format/DateTimeFormatter.java Mon Jul 01 13:53:45 2013 -0700
> @@ -1304,6 +1304,7 @@
>      *  LocalTime time = parsed.query(LocalTime::from);
>      *  Period extraDays = parsed.query(DateTimeFormatter.parsedExcessDays());
>      * </pre>
> +     * @return a query that provides access to the excess days that were parsed
>      */
>     public static final TemporalQuery<Period> parsedExcessDays() {
>         return PARSED_EXCESS_DAYS;
> @@ -1344,6 +1345,7 @@
>      *    // validate leap-second is correct and apply correct smoothing
>      *  }
>      * </pre>
> +     * @return a query that provides access to whether a leap-second was parsed
>      */
>     public static final TemporalQuery<Boolean> parsedLeapSecond() {
>         return PARSED_LEAP_SECOND;
> 



More information about the core-libs-dev mailing list