commit | 870fd9b66c51b18966fb18ec65705efab9cf0d50 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Tue Aug 25 12:55:27 2009 -0700 |
committer | Elliott Hughes <enh@google.com> | Tue Aug 25 15:45:54 2009 -0700 |
tree | 127bdd2324dc8ad7abb3f20fab7e50fe1d8fc08b | |
parent | 0083d37b0e1c9e542f671cbca2e9db6819ecccba [diff] |
Fix "whatever".split(".") behavior. Two special cases in Pattern.split's behavior had been incorrectly combined into one. Separate the two cases, and add tests. I've run the tests against Java 1.5 and 1.6 too. Bug: 1957900