Skip to content

Commit

Permalink
Correct indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
tedyu committed Sep 10, 2015
1 parent 70eb93e commit 63dfe11
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -294,8 +294,8 @@ private[spark] class ExternalSorter[K, V, C](
if (partitionId < 0) {
throw new IllegalArgumentException("Encountered negative partition Id: " + partitionId)
}
if (partitionId >= numPartitions) {
throw new IllegalArgumentException("Encountered partition Id: " + partitionId + " which is >= " + numPartitions)
if (partitionId >= numPartitions) {
throw new IllegalArgumentException("Encountered partition Id: " + partitionId + " which is >= " + numPartitions)
}
it.writeNext(writer)
elementsPerPartition(partitionId) += 1
Expand Down

0 comments on commit 63dfe11

Please sign in to comment.