mirror of
https://github.com/apache/commons-lang.git
synced 2025-02-12 04:55:14 +00:00
Statement unnecessarily nested within else clause.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1606060 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b52a49ab1c
commit
8e757f1138
@ -56,10 +56,9 @@ public int translate(final CharSequence input, final int index, final Writer out
|
||||
throw new IllegalArgumentException("Unable to parse unicode value: " + unicode, nfe);
|
||||
}
|
||||
return i + 4;
|
||||
} else {
|
||||
throw new IllegalArgumentException("Less than 4 hex digits in unicode value: '" + input.subSequence(index, input.length())
|
||||
+ "' due to end of CharSequence");
|
||||
}
|
||||
throw new IllegalArgumentException("Less than 4 hex digits in unicode value: '" + input.subSequence(index, input.length())
|
||||
+ "' due to end of CharSequence");
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user