From 56a2799dc06ea1c2289cf3ea7dd82d17ea7e6eae Mon Sep 17 00:00:00 2001 From: John Cortell Date: Mon, 29 Mar 2010 16:00:01 +0000 Subject: [PATCH] javadoc enhancement --- .../dsf/gdb/framework/AsyncCompletionWaitor.java | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/src/org/eclipse/cdt/tests/dsf/gdb/framework/AsyncCompletionWaitor.java b/dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/src/org/eclipse/cdt/tests/dsf/gdb/framework/AsyncCompletionWaitor.java index 073232f7df1..28629643bf5 100644 --- a/dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/src/org/eclipse/cdt/tests/dsf/gdb/framework/AsyncCompletionWaitor.java +++ b/dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/src/org/eclipse/cdt/tests/dsf/gdb/framework/AsyncCompletionWaitor.java @@ -37,11 +37,15 @@ public class AsyncCompletionWaitor { public AsyncCompletionWaitor() { waitReset(); } - - /* - * A timeout of WAIT_FOREVER indicates we wait until the operation is - * completed by a call to waitFinished. Or if we are interrupted - * with an exception. + + /** + * A timeout of WAIT_FOREVER indicates we wait until the operation is + * completed by a call to waitFinished. Or if we are interrupted with an + * exception. + * + * @param timeout the maximum time to wait in milliseconds + * + * @throws InterruptedException */ public synchronized void waitUntilDone(int timeout) throws InterruptedException { if (fWaitFinished) return; @@ -50,7 +54,7 @@ public class AsyncCompletionWaitor { } - /* + /** * Indicates that we are done with the operation and the code * waiting ( waitUntilDone ) will be allowed to continue. */