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:
Gary D. Gregory 2014-06-27 12:32:45 +00:00
parent 38334883a6
commit b52a49ab1c
1 changed files with 2 additions and 3 deletions

View File

@ -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;
} }
} }