You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by srowen <gi...@git.apache.org> on 2016/03/05 09:35:25 UTC

[GitHub] spark pull request: [SPARK-13692][CORE][SQL] Fix trivial Coverity/...

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

    https://github.com/apache/spark/pull/11530#discussion_r55117995
  
    --- Diff: examples/src/main/java/org/apache/spark/examples/mllib/JavaGaussianMixtureExample.java ---
    @@ -44,8 +44,9 @@ public static void main(String[] args) {
             public Vector call(String s) {
               String[] sarray = s.trim().split(" ");
               double[] values = new double[sarray.length];
    -          for (int i = 0; i < sarray.length; i++)
    +          for (int i = 0; i < sarray.length; i++) {
    --- End diff --
    
    This is fine, but it wasn't the analysis problem. A lot of the examples don't `stop()` the context at the end, and this was one of about 30.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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