Remove unnecessary parens.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1144922 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
fa4f5d8019
commit
18adf4f0fb
|
@ -197,7 +197,7 @@ public class WordUtils {
|
|||
* @since 2.1
|
||||
*/
|
||||
public static String capitalize(String str, char... delimiters) {
|
||||
int delimLen = (delimiters == null ? -1 : delimiters.length);
|
||||
int delimLen = delimiters == null ? -1 : delimiters.length;
|
||||
if (str == null || str.length() == 0 || delimLen == 0) {
|
||||
return str;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue