Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[SPARK-22465][Core][WIP] Scala style checks
  • Loading branch information
sujithjay committed Dec 23, 2017
commit 8b3545265b534e511ac947071e416360184d740e
3 changes: 2 additions & 1 deletion core/src/main/scala/org/apache/spark/Partitioner.scala
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ object Partitioner {
* less than and within a single order of magnitude of the max number of upstream partitions;
* otherwise, returns false
*/
private def isEligiblePartitioner(hasMaxPartitioner: Option[RDD[_]], rdds: Seq[RDD[_]]): Boolean = {
private def isEligiblePartitioner(hasMaxPartitioner: Option[RDD[_]],
rdds: Seq[RDD[_]]): Boolean = {
if(hasMaxPartitioner.isEmpty){
return false
}
Expand Down