From a859fffc0a9d64f281504e827e91978c0c5a71e5 Mon Sep 17 00:00:00 2001 From: Henri Yandell Date: Sun, 3 Apr 2011 21:45:35 +0000 Subject: [PATCH] Removing unnecessary code git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1088424 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/commons/lang3/text/translate/UnicodeEscaper.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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); } /**