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:
Gary D. Gregory 2011-07-10 18:02:50 +00:00
parent fa4f5d8019
commit 18adf4f0fb
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}