Skip to content

Commit

Permalink
Style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pwendell committed Apr 5, 2014
1 parent 1ed27d2 commit 8452309
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 6 deletions.
1 change: 0 additions & 1 deletion core/src/main/scala/org/apache/spark/Aggregator.scala
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ import org.apache.spark.util.collection.{AppendOnlyMap, ExternalAppendOnlyMap}
* @param mergeValue function to merge a new value into the aggregation result.
* @param mergeCombiners function to merge outputs from multiple mergeValue function.
*/

case class Aggregator[K, V, C] (
createCombiner: V => C,
mergeValue: (C, V) => C,
Expand Down
3 changes: 0 additions & 3 deletions core/src/main/scala/org/apache/spark/SparkContext.scala
Original file line number Diff line number Diff line change
Expand Up @@ -667,7 +667,6 @@ class SparkContext(

/**
* <span class="badge" style="float: right; background-color: #44751E;">DEVELOPER API</span>
*
* Register a listener to receive up-calls from events that happen during execution.
*/
def addSparkListener(listener: SparkListener) {
Expand Down Expand Up @@ -980,7 +979,6 @@ class SparkContext(

/**
* <span class="badge" style="float: right; background-color: #44751E;">DEVELOPER API</span>
*
* Run a job that can return approximate results.
*/
def runApproximateJob[T, U, R](
Expand All @@ -999,7 +997,6 @@ class SparkContext(

/**
* <span class="badge" style="float: right; background-color: #257080;">EXPERIMENTAL API</span>
*
* Submit a job for execution and return a FutureJob holding the result.
*/
def submitJob[T, U, R](
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import scala.reflect.ClassTag
import org.apache.spark.{NarrowDependency, Partition, TaskContext}

private[spark] class PartitionPruningRDDPartition(idx: Int, val parentSplit: Partition)
extends Partition {
extends Partition {
override val index = idx
}

Expand Down
1 change: 0 additions & 1 deletion core/src/main/scala/org/apache/spark/rdd/RDD.scala
Original file line number Diff line number Diff line change
Expand Up @@ -856,7 +856,6 @@ abstract class RDD[T: ClassTag](

/**
* <span class="badge" style="float: right; background-color: #257080;">EXPERIMENTAL API</span>
*
* Return approximate number of distinct elements in the RDD.
*
* The accuracy of approximation can be controlled through the relative standard deviation
Expand Down

0 comments on commit 8452309

Please sign in to comment.