diff --git a/src/main/java/org/apache/commons/lang3/text/translate/UnicodeEscaper.java b/src/main/java/org/apache/commons/lang3/text/translate/UnicodeEscaper.java index b5fb6819f..3d56d5fdc 100644 --- a/src/main/java/org/apache/commons/lang3/text/translate/UnicodeEscaper.java +++ b/src/main/java/org/apache/commons/lang3/text/translate/UnicodeEscaper.java @@ -83,8 +83,7 @@ public class UnicodeEscaper extends CodePointTranslator { * @return the newly created {@code UnicodeEscaper} instance */ public static UnicodeEscaper outsideOf(int codepointLow, int codepointHigh) { - UnicodeEscaper escaper = new UnicodeEscaper(codepointLow, codepointHigh, false); - return escaper; + return new UnicodeEscaper(codepointLow, codepointHigh, false); } /** @@ -95,8 +94,7 @@ public class UnicodeEscaper extends CodePointTranslator { * @return the newly created {@code UnicodeEscaper} instance */ public static UnicodeEscaper between(int codepointLow, int codepointHigh) { - UnicodeEscaper escaper = new UnicodeEscaper(codepointLow, codepointHigh, true); - return escaper; + return new UnicodeEscaper(codepointLow, codepointHigh, true); } /**