# HG changeset patch # User dav # Date 1291308831 -10800 # Node ID 3a6d20cc859541373b62b24674da2c93f6e62770 # Parent 010ad57ed8d19475a768cc9eaf167782e4c12cba 7002173: java.awt package docs build warnings Reviewed-by: ant diff -r 010ad57ed8d1 -r 3a6d20cc8595 jdk/src/share/classes/java/awt/SecondaryLoop.java --- a/jdk/src/share/classes/java/awt/SecondaryLoop.java Wed Dec 01 17:25:12 2010 +0300 +++ b/jdk/src/share/classes/java/awt/SecondaryLoop.java Thu Dec 02 19:53:51 2010 +0300 @@ -30,15 +30,15 @@ *
* Objects that implement this interface are created with the * {@link EventQueue#createSecondaryLoop} method. The interface - * provides two methods, {@link enter} and {@link exit}, + * provides two methods, {@link #enter} and {@link #exit}, * which can be used to start and stop the event loop. *
- * When the {@link enter} method is called, the current + * When the {@link #enter} method is called, the current * thread is blocked until the loop is terminated by the - * {@link exit} method. Also, a new event loop is started + * {@link #exit} method. Also, a new event loop is started * on the event dispatch thread, which may or may not be * the current thread. The loop can be terminated on any - * thread by calling its {@link exit} method. After the + * thread by calling its {@link #exit} method. After the * loop is terminated, the {@code SecondaryLoop} object can * be reused to run a new nested event loop. *
@@ -102,7 +102,7 @@ *
* This method can be called by any thread including the event * dispatch thread. This thread will be blocked until the {@link - * exit} method is called or the loop is terminated. A new + * #exit} method is called or the loop is terminated. A new * secondary loop will be created on the event dispatch thread * for dispatching events in either case. *
@@ -123,23 +123,23 @@ /** * Unblocks the execution of the thread blocked by the {@link - * enter} method and exits the secondary loop. + * #enter} method and exits the secondary loop. *
- * This method resumes the thread that called the {@link enter} + * This method resumes the thread that called the {@link #enter} * method and exits the secondary loop that was created when - * the {@link enter} method was invoked. + * the {@link #enter} method was invoked. *
* Note that if any other secondary loop is started while this * loop is running, the blocked thread will not resume execution * until the nested loop is terminated. *
* If this secondary loop has not been started with the {@link - * enter} method, or this secondary loop has already finished - * with the {@link exit} method, this method returns {@code + * #enter} method, or this secondary loop has already finished + * with the {@link #exit} method, this method returns {@code * false}, otherwise {@code true} is returned. * * @return {@code true} if this loop was previously started and - * has not yet been finished with the {@link exit} method, + * has not yet been finished with the {@link #exit} method, * {@code false} otherwise */ public boolean exit();