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 class UnicodeUnpairedSurrogateRemover extends CodePointTranslator {
|
||||||
if (codepoint >= Character.MIN_SURROGATE && codepoint <= Character.MAX_SURROGATE) {
|
if (codepoint >= Character.MIN_SURROGATE && codepoint <= Character.MAX_SURROGATE) {
|
||||||
// It's a surrogate. Write nothing and say we've translated.
|
// It's a surrogate. Write nothing and say we've translated.
|
||||||
return true;
|
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…
Reference in New Issue