spark git commit: Fix bug in JavaRegressionMetricsExample.

2017-06-09 Thread srowen
Repository: spark Updated Branches: refs/heads/branch-2.2 714153c79 -> 869af5bcb Fix bug in JavaRegressionMetricsExample. the original code cant visit the last element of the"parts" array. so the v[v.length–1] always equals 0 ## What changes were proposed in this pull request? change the

spark git commit: Fix bug in JavaRegressionMetricsExample.

2017-06-09 Thread srowen
Repository: spark Updated Branches: refs/heads/master 033839559 -> 6491cbf06 Fix bug in JavaRegressionMetricsExample. the original code cant visit the last element of the"parts" array. so the v[v.length–1] always equals 0 ## What changes were proposed in this pull request? change the