Skip to content

Commit

Permalink
Added // instead of /** for commenting in code
Browse files Browse the repository at this point in the history
  • Loading branch information
Neelesh Srinivas Salian committed Jul 7, 2015
1 parent 92fa04b commit a665965
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -575,9 +575,7 @@ class StreamingContext private[streaming] (
* @throws IllegalStateException if the StreamingContext is already stopped.
*/
def start(): Unit = synchronized {
/**
* Registering Streaming Metrics at the start of the StreamingContext
*/
//Registering Streaming Metrics at the start of the StreamingContext
assert(env != null)
assert(env.metricsSystem != null)
env.metricsSystem.registerSource(streamingSource)
Expand Down Expand Up @@ -692,9 +690,7 @@ class StreamingContext private[streaming] (
} finally {
// The state should always be Stopped after calling `stop()`, even if we haven't started yet
state = STOPPED
/**
* De-registering Streaming Metrics at the stop of the StreamingContext
*/
// De-registering Streaming Metrics of the StreamingContext
env.metricsSystem.removeSource(streamingSource)
}
}
Expand Down

0 comments on commit a665965

Please sign in to comment.