corda/classpath
Joel Dice 250a77dc13 handle empty strings properly in Pattern.split
We were incorrectly returning an empty array when the input was empty,
whereas we ought to return an array containing a single empty string.
When the pattern to match was empty, we went into a loop to create an
infinite list of empty strings, only to crash once we've run out of
memory.  This commit addresses both problems.
2010-09-06 11:16:27 -06:00
..
2010-08-16 09:23:48 -06:00
2009-12-02 19:08:29 -07:00
2009-12-02 19:08:29 -07:00