Fixing the StringUtils.split javadoc per Samurel Tardieu in LANG-783

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1225104 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Henri Yandell 2011-12-28 05:58:31 +00:00
parent 02bce06a5c
commit bec8377596

View File

@ -2610,8 +2610,8 @@ public static String[] split(String str, String separatorChars) {
* <pre>
* StringUtils.split(null, *, *) = null
* StringUtils.split("", *, *) = []
* StringUtils.split("ab de fg", null, 0) = ["ab", "cd", "ef"]
* StringUtils.split("ab de fg", null, 0) = ["ab", "cd", "ef"]
* StringUtils.split("ab cd ef", null, 0) = ["ab", "cd", "ef"]
* StringUtils.split("ab cd ef", null, 0) = ["ab", "cd", "ef"]
* StringUtils.split("ab:cd:ef", ":", 0) = ["ab", "cd", "ef"]
* StringUtils.split("ab:cd:ef", ":", 2) = ["ab", "cd:ef"]
* </pre>