1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-08 18:26:01 +02:00

Documentation improvement

This commit is contained in:
John Cortell 2010-02-24 23:04:25 +00:00
parent f2eb63309f
commit 1bc4846ffb

View file

@ -68,10 +68,12 @@ public class ServiceEventWaitor<V> {
if (fEventTypeClass != null) fSession.removeServiceEventListener(this); 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 * Block until 'timeout' or the previously specified event has been
* is that we must be ready for the event to occur event before * received. The reason we don's specify the event as a parameter is that we
* this method is called. * 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 { public synchronized V waitForEvent(int timeout) throws Exception {
if (fEventTypeClass == null) { if (fEventTypeClass == null) {