diff options
author | zsxwing <zsxwing@gmail.com> | 2014-12-01 00:35:01 -0800 |
---|---|---|
committer | Reynold Xin <rxin@databricks.com> | 2014-12-01 00:35:08 -0800 |
commit | 67a2c138c0932ba15617b05c41ee5a8807244790 (patch) | |
tree | 2c1ac0902cb5b57b81a912892d5cc476bce0ac97 | |
parent | 9b8a769187e30f8521cecad92a3a6c7f490d507b (diff) | |
download | spark-67a2c138c0932ba15617b05c41ee5a8807244790.tar.gz spark-67a2c138c0932ba15617b05c41ee5a8807244790.tar.bz2 spark-67a2c138c0932ba15617b05c41ee5a8807244790.zip |
[SPARK-4661][Core] Minor code and docs cleanup
Author: zsxwing <zsxwing@gmail.com>
Closes #3521 from zsxwing/SPARK-4661 and squashes the following commits:
03cbe3f [zsxwing] Minor code and docs cleanup
(cherry picked from commit 30a86acdefd5428af6d6264f59a037e0eefd74b4)
Signed-off-by: Reynold Xin <rxin@databricks.com>
3 files changed, 2 insertions, 3 deletions
diff --git a/core/src/main/scala/org/apache/spark/rdd/PipedRDD.scala b/core/src/main/scala/org/apache/spark/rdd/PipedRDD.scala index 56ac7a69be..ed79032893 100644 --- a/core/src/main/scala/org/apache/spark/rdd/PipedRDD.scala +++ b/core/src/main/scala/org/apache/spark/rdd/PipedRDD.scala @@ -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 = { diff --git a/core/src/test/scala/org/apache/spark/ShuffleSuite.scala b/core/src/test/scala/org/apache/spark/ShuffleSuite.scala index 85e5f9ab44..5d20b4dc15 100644 --- a/core/src/test/scala/org/apache/spark/ShuffleSuite.scala +++ b/core/src/test/scala/org/apache/spark/ShuffleSuite.scala @@ -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] { diff --git a/sql/hive/src/main/scala/org/apache/spark/sql/hive/execution/HiveTableScan.scala b/sql/hive/src/main/scala/org/apache/spark/sql/hive/execution/HiveTableScan.scala index d39413a44a..8bbcd6fec1 100644 --- a/sql/hive/src/main/scala/org/apache/spark/sql/hive/execution/HiveTableScan.scala +++ b/sql/hive/src/main/scala/org/apache/spark/sql/hive/execution/HiveTableScan.scala @@ -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. */ |