Skip to content

Commit

Permalink
[SPARK-4661][Core] Minor code and docs cleanup
Browse files Browse the repository at this point in the history
Author: zsxwing <zsxwing@gmail.com>

Closes apache#3521 from zsxwing/SPARK-4661 and squashes the following commits:

03cbe3f [zsxwing] Minor code and docs cleanup
  • Loading branch information
zsxwing authored and rxin committed Dec 1, 2014
1 parent 1d238f2 commit 30a86ac
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion core/src/main/scala/org/apache/spark/rdd/PipedRDD.scala
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ private[spark] class PipedRDD[T: ClassTag](

/**
* A FilenameFilter that accepts anything that isn't equal to the name passed in.
* @param name of file or directory to leave out
* @param filterName of file or directory to leave out
*/
class NotEqualsFileNameFilter(filterName: String) extends FilenameFilter {
def accept(dir: File, name: String): Boolean = {
Expand Down
1 change: 0 additions & 1 deletion core/src/test/scala/org/apache/spark/ShuffleSuite.scala
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,6 @@ object ShuffleSuite {

def mergeCombineException(x: Int, y: Int): Int = {
throw new SparkException("Exception for map-side combine.")
x + y
}

class NonJavaSerializableClass(val value: Int) extends Comparable[NonJavaSerializableClass] {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ import org.apache.spark.sql.hive._
* :: DeveloperApi ::
* The Hive table scan operator. Column and partition pruning are both handled.
*
* @param attributes Attributes to be fetched from the Hive table.
* @param requestedAttributes Attributes to be fetched from the Hive table.
* @param relation The Hive table be be scanned.
* @param partitionPruningPred An optional partition pruning predicate for partitioned table.
*/
Expand Down

0 comments on commit 30a86ac

Please sign in to comment.