Skip to content
Permalink
Browse files
Statement unnecessarily nested within else clause.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/trunk@1677452 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
garydgregory committed May 3, 2015
1 parent 700f052 commit 206de8c8edac008d279903696bba7c3799bda45b
Showing 1 changed file with 1 addition and 4 deletions.
@@ -149,10 +149,7 @@ public static Number createNumber(String str) throws ParseException
{
return Double.valueOf(str);
}
else
{
return Long.valueOf(str);
}
return Long.valueOf(str);
}
catch (NumberFormatException e)
{

0 comments on commit 206de8c

Please sign in to comment.