Skip to content

Commit

Permalink
Fix spacing per code review
Browse files Browse the repository at this point in the history
  • Loading branch information
David McGuire committed Apr 20, 2015
1 parent 90e98b9 commit 8be6934
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ private[receiver] abstract class RateLimiter(conf: SparkConf) extends Logging {
private lazy val rateLimiter = GuavaRateLimiter.create(desiredRate)

def waitToPush() {
if( desiredRate > 0 ) {
if (desiredRate > 0) {
rateLimiter.acquire()
}
}
Expand Down

0 comments on commit 8be6934

Please sign in to comment.