diff options
author | Xiangrui Meng <meng@databricks.com> | 2015-05-21 13:06:53 -0700 |
---|---|---|
committer | Xiangrui Meng <meng@databricks.com> | 2015-05-21 13:06:53 -0700 |
commit | cdc7c055c931c4c931a11b510de473455f3256da (patch) | |
tree | 5cd76b87f521bead720f66a4bd4332d95e1bd74e /mllib/src/test/java | |
parent | 6d75ed7e5ccf6c58143de4608115f9a2b3ff6cf4 (diff) | |
download | spark-cdc7c055c931c4c931a11b510de473455f3256da.tar.gz spark-cdc7c055c931c4c931a11b510de473455f3256da.tar.bz2 spark-cdc7c055c931c4c931a11b510de473455f3256da.zip |
[SPARK-7498] [MLLIB] add varargs back to setDefault
We removed `varargs` due to Java compilation issues. That was a false alarm because I didn't run `build/sbt clean`. So this PR reverts the changes. jkbradley
Author: Xiangrui Meng <meng@databricks.com>
Closes #6320 from mengxr/SPARK-7498 and squashes the following commits:
74a7259 [Xiangrui Meng] add varargs back to setDefault
Diffstat (limited to 'mllib/src/test/java')
-rw-r--r-- | mllib/src/test/java/org/apache/spark/ml/param/JavaTestParams.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mllib/src/test/java/org/apache/spark/ml/param/JavaTestParams.java b/mllib/src/test/java/org/apache/spark/ml/param/JavaTestParams.java index 3a41890b92..947ae3a2ce 100644 --- a/mllib/src/test/java/org/apache/spark/ml/param/JavaTestParams.java +++ b/mllib/src/test/java/org/apache/spark/ml/param/JavaTestParams.java @@ -81,5 +81,6 @@ public class JavaTestParams extends JavaParams { ParamValidators.inArray(validStrings)); setDefault(myIntParam_, 1); setDefault(myDoubleParam_, 0.5); + setDefault(myIntParam().w(1), myDoubleParam().w(0.5)); } } |