question: public static String [ ] split ( String text , Pattern pattern ) { if ( text . length ( ) == 0 ) { return EMPTY_STRING_ARRAY ; } else { return pattern . split ( text , - 1 ) ; } }
target:  Splits a string on a pattern. String.split() returns [''] when the string to be split is empty. This returns []. This does not remove any empty strings from the result.