Skip to content

Commit

Permalink
Change a code style.
Browse files Browse the repository at this point in the history
  • Loading branch information
shenh062326 committed Feb 6, 2015
1 parent 07952f3 commit 6bab7aa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ private[spark] class HeartbeatReceiver(sc: SparkContext, scheduler: TaskSchedule
expireDeadHosts()
}

private def heartbeatReceived(executorId: String) = {
private def heartbeatReceived(executorId: String): Unit = {
executorLastSeen(executorId) = System.currentTimeMillis()
}

Expand Down

0 comments on commit 6bab7aa

Please sign in to comment.