GitHub user a1singh opened a pull request: https://github.com/apache/spark/pull/9456
Update LDAOptimizer.scala In file LDAOptimizer.scala: line 441: since "idx" was never used, replaced unrequired zipWithIndex.foreach with foreach. - nonEmptyDocs.zipWithIndex.foreach { case ((_, termCounts: Vector), idx: Int) => + nonEmptyDocs.foreach { case (_, termCounts: Vector) => You can merge this pull request into a Git repository by running: $ git pull https://github.com/a1singh/spark master Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/9456.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #9456 ---- commit ba0879bb8d9949146ca72401d195fcfb04edc3ba Author: a1singh <a1si...@ucsd.edu> Date: 2015-11-04T01:22:33Z Update LDAOptimizer.scala line 441: since idx was never used, replaced unrequired zipWithIndex.foreach with foreach ---- --- 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