Skip to content
Snippets Groups Projects
Commit 3f7e9b26 authored by Kay Ousterhout's avatar Kay Ousterhout
Browse files

Fixed comment to use javadoc style

parent a34a4e81
No related branches found
No related tags found
No related merge requests found
...@@ -71,11 +71,11 @@ private[spark] class SparkListenerBus() extends Logging { ...@@ -71,11 +71,11 @@ private[spark] class SparkListenerBus() extends Logging {
} }
} }
/** Waits until there are no more events in the queue, or until the specified time has elapsed. /**
* * Waits until there are no more events in the queue, or until the specified time has elapsed.
* Used for testing only. Returns true if the queue has emptied and false is the specified time * Used for testing only. Returns true if the queue has emptied and false is the specified time
* elapsed before the queue emptied. * elapsed before the queue emptied.
*/ */
def waitUntilEmpty(timeoutMillis: Int): Boolean = { def waitUntilEmpty(timeoutMillis: Int): Boolean = {
val finishTime = System.currentTimeMillis + timeoutMillis val finishTime = System.currentTimeMillis + timeoutMillis
while (!eventQueue.isEmpty()) { while (!eventQueue.isEmpty()) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment