Statement unnecessarily nested within else clause.

This commit is contained in:
ggregory 2016-02-24 13:42:45 -08:00
parent 0432e83a42
commit ddcf6aa50b
1 changed files with 1592 additions and 1593 deletions

View File

@ -1509,9 +1509,8 @@ public static boolean isParsable(final String str) {
}
if( StringUtils.startsWith( str, "-" ) ) {
return isDigits( StringUtils.replaceOnce( str.substring(1), ".", StringUtils.EMPTY ) );
} else {
return isDigits( StringUtils.replaceOnce( str, ".", StringUtils.EMPTY ) );
}
return isDigits( StringUtils.replaceOnce( str, ".", StringUtils.EMPTY ) );
}
/**