aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzsxwing <zsxwing@gmail.com>2014-12-01 00:35:01 -0800
committerReynold Xin <rxin@databricks.com>2014-12-01 00:35:01 -0800
commit30a86acdefd5428af6d6264f59a037e0eefd74b4 (patch)
treedc286a627d21a82cf4d49ddf3def8baac39069ee
parent1d238f221c3e13c525b3af0c78eda95059ce9fc6 (diff)
downloadspark-30a86acdefd5428af6d6264f59a037e0eefd74b4.tar.gz
spark-30a86acdefd5428af6d6264f59a037e0eefd74b4.tar.bz2
spark-30a86acdefd5428af6d6264f59a037e0eefd74b4.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
-rw-r--r--core/src/main/scala/org/apache/spark/rdd/PipedRDD.scala2
-rw-r--r--core/src/test/scala/org/apache/spark/ShuffleSuite.scala1
-rw-r--r--sql/hive/src/main/scala/org/apache/spark/sql/hive/execution/HiveTableScan.scala2
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.
*/