From 1bc4846ffb081d8b8c6a64ca0e2243227e490e5d Mon Sep 17 00:00:00 2001 From: John Cortell Date: Wed, 24 Feb 2010 23:04:25 +0000 Subject: [PATCH] Documentation improvement --- .../tests/dsf/gdb/framework/ServiceEventWaitor.java | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/src/org/eclipse/cdt/tests/dsf/gdb/framework/ServiceEventWaitor.java b/dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/src/org/eclipse/cdt/tests/dsf/gdb/framework/ServiceEventWaitor.java index 50266210273..f1e2f3b73ed 100644 --- a/dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/src/org/eclipse/cdt/tests/dsf/gdb/framework/ServiceEventWaitor.java +++ b/dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/src/org/eclipse/cdt/tests/dsf/gdb/framework/ServiceEventWaitor.java @@ -68,10 +68,12 @@ public class ServiceEventWaitor { if (fEventTypeClass != null) fSession.removeServiceEventListener(this); } - /* Block until 'timeout' or the previously specified event has been - * received. The reason we don's specify the event as a parameter - * is that we must be ready for the event to occur event before - * this method is called. + /* + * Block until 'timeout' or the previously specified event has been + * received. The reason we don's specify the event as a parameter is that we + * must be ready for the event to occur even before this method is called. + * + * @param timeout the maximum time to wait in milliseconds. */ public synchronized V waitForEvent(int timeout) throws Exception { if (fEventTypeClass == null) {