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

    https://github.com/apache/spark/pull/8904#discussion_r40377349
  
    --- Diff: 
mllib/src/main/scala/org/apache/spark/mllib/fpm/AssociationRules.scala ---
    @@ -142,5 +142,13 @@ object AssociationRules {
         def javaConsequent: java.util.List[Item] = {
           consequent.toList.asJava
         }
    +
    +    /**
    +     * @return [antecedent] => [consequent]: [confidence]
    --- End diff --
    
    For each method, there should be a summary sentence at the beginning, which 
shows up in the API doc by default. Other details are hidden by default. I 
think this is Scala specific. You can find the official guide at 
http://docs.scala-lang.org/style/scaladoc.html:
    
    ~~~
    If the documentation of a method is a one line description of
    what that method returns, do not repeat it with an @return annotation.
    ~~~


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to