Github user mengxr commented on the pull request:

    https://github.com/apache/spark/pull/6556#issuecomment-107719469
  
    The Java unit test is the same as the Scala unit test, but the example code 
in the user guide is different. I thought about this difference. One reason is 
that the unit test is for API coverage while the example code is for hands-on. 
So it would be too much if we show, e.g., both sparse vectors and dense vectors 
in the example code. But it would be nice to have some level of similarity.


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