Github user mengxr commented on a diff in the pull request:

    https://github.com/apache/spark/pull/6562#discussion_r31541397
  
    --- Diff: mllib/src/test/java/org/apache/spark/ml/param/JavaTestParams.java 
---
    @@ -72,15 +72,31 @@ public JavaTestParams setMyStringParam(String value) {
         set(myStringParam_, value); return this;
       }
     
    +  private DoubleArrayParam myDoubleArrayParam_;
    +  public DoubleArrayParam myDoubleArrayParam() { return 
myDoubleArrayParam_; }
    +
    +  public double[] getMyDoubleArrayParam() { return 
getOrDefault(myDoubleArrayParam_); }
    +
    +  public JavaTestParams setMyDoubleArrayParam(double[] value) {
    +    set(myDoubleArrayParam_, value); return this;
    +  }
    +
       private void init() {
    -    myIntParam_ = new IntParam(this, "myIntParam", "this is an int param", 
ParamValidators.gt(0));
    +    myIntParam_ = new IntParam(this, "myIntParam", "this is an int param",
    +      ParamValidators.gt(0));
    --- End diff --
    
    Was the line too wide?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to