RFR(xxs): 8143858: typo in Timer.purge() doc

joe darcy joe.darcy at oracle.com
Wed Dec 2 06:26:39 UTC 2015


Look good,

-Joe

On 12/1/2015 10:25 PM, Stuart Marks wrote:
> Hi all,
>
> Please review this tiny fix for a typo in the
> the documentation of the Timer.purge() method.
>
> Diff appended below.
>
> Thanks!
>
> s'marks
>
> # HG changeset patch
> # User smarks
> # Date 1449025313 28800
> #      Tue Dec 01 19:01:53 2015 -0800
> # Node ID 01aa186248334bf669f075dd7913391b07387747
> # Parent  8c9484fe1bb22b13e873ef8fcaeeff234e4dabca
> 8143858: typo in Timer.purge() doc
> Reviewed-by: XXX
>
> diff -r 8c9484fe1bb2 -r 01aa18624833 
> src/java.base/share/classes/java/util/Timer.java
> --- a/src/java.base/share/classes/java/util/Timer.java    Tue Dec 01 
> 09:22:01 2015 +0100
> +++ b/src/java.base/share/classes/java/util/Timer.java    Tue Dec 01 
> 19:01:53 2015 -0800
> @@ -447,7 +447,7 @@
>       * is the number of tasks in the queue and c is the number of 
> cancelled
>       * tasks.
>       *
> -     * <p>Note that it is permissible to call this method from within a
> +     * <p>Note that it is permissible to call this method from within
>       * a task scheduled on this timer.
>       *
>       * @return the number of tasks removed from the queue.




More information about the core-libs-dev mailing list