Skip to content

Commit 2d85a48

Browse files
committed
minor: fixed scalastyle issues reprise
1 parent 4e85f2c commit 2d85a48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mllib/src/main/scala/org/apache/spark/mllib/tree/DecisionTree.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -915,7 +915,7 @@ object DecisionTree extends Serializable with Logging {
915915
val result = array.foldLeft(-1, Double.MinValue, 0) {
916916
case ((maxIndex, maxValue, currentIndex), currentValue) =>
917917
if(currentValue > maxValue) (currentIndex, currentValue, currentIndex + 1)
918-
else (maxIndex, maxValue, currentIndex+1)
918+
else (maxIndex, maxValue, currentIndex + 1)
919919
}
920920
if (result._1 < 0) 0 else result._1
921921
}

0 commit comments

Comments
 (0)