mirror of
https://github.com/apache/commons-lang.git
synced 2025-02-07 10:38:22 +00:00
Statement unnecessarily nested within else clause.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1606059 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
38334883a6
commit
b52a49ab1c
@ -34,10 +34,9 @@ public boolean translate(final int codepoint, final Writer out) throws IOExcepti
|
||||
if (codepoint >= Character.MIN_SURROGATE && codepoint <= Character.MAX_SURROGATE) {
|
||||
// It's a surrogate. Write nothing and say we've translated.
|
||||
return true;
|
||||
} else {
|
||||
// It's not a surrogate. Don't translate it.
|
||||
return false;
|
||||
}
|
||||
// It's not a surrogate. Don't translate it.
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user