Github user srowen commented on the pull request:

    https://github.com/apache/spark/pull/685#issuecomment-43172284
  
    @mengxr From those docs: "StringTokenizer is a legacy class that is 
retained for compatibility reasons although its use is discouraged in new 
code." `Splitter` is not (only) regex-based: 
http://grepcode.com/file/repo1.maven.org/maven2/com.google.guava/guava/14.0.1/com/google/common/base/Splitter.java
  It's good for matching a handful of characters directly. Minor point for 
sure, just seems funny to write manual parsing code. If it's 
performance-critical I could see needing to hand-tune it but is it?


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

Reply via email to