diff --git a/mllib/src/main/scala/org/apache/spark/ml/recommendation/ALS.scala b/mllib/src/main/scala/org/apache/spark/ml/recommendation/ALS.scala index 8dc7437d4747cf1fcfce2a37987bbe4160122d24..2404a69e9e8b5c00c33713af1c73436699c553e6 100644 --- a/mllib/src/main/scala/org/apache/spark/ml/recommendation/ALS.scala +++ b/mllib/src/main/scala/org/apache/spark/ml/recommendation/ALS.scala @@ -430,15 +430,11 @@ class ALS(@Since("1.4.0") override val uid: String) extends Estimator[ALSModel] /** @group expertSetParam */ @Since("2.0.0") - def setIntermediateStorageLevel(value: String): this.type = { - set(intermediateStorageLevel, value) - } + def setIntermediateStorageLevel(value: String): this.type = set(intermediateStorageLevel, value) /** @group expertSetParam */ @Since("2.0.0") - def setFinalStorageLevel(value: String): this.type = { - set(finalStorageLevel, value) - } + def setFinalStorageLevel(value: String): this.type = set(finalStorageLevel, value) /** * Sets both numUserBlocks and numItemBlocks to the specific value.