mirror of
https://github.com/apache/commons-lang.git
synced 2025-02-12 13:05:06 +00:00
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:
parent
02bce06a5c
commit
bec8377596
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user