Github user pwendell commented on the pull request:

    https://github.com/apache/spark/pull/1463#issuecomment-49341909
  
    @ScrapCodes could you explain a bit more how this fixes SPARK-2497. If I 
look at the original false-positive the issue reported was not with a companion 
class. It was actually in a method of the object itself. Also the method was 
annotated, not the object.
    
    ```
    Source: 
https://github.com/apache/spark/pull/886/files#diff-0f907b47af6261abe00eb31097a9493bR41
    Error:
    [error]  * method calculate(Double,Double)Double in object 
org.apache.spark.mllib.tree.impurity.Gini's type has changed; was 
(Double,Double)Double, is now: (Array[Double],Double)Double
    [error]    filter with: 
ProblemFilters.exclude[IncompatibleMethTypeProblem]("org.apache.spark.mllib.tree.impurity.Gini.calculate")
    ```


---
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.
---

Reply via email to