commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bay...@apache.org
Subject svn commit: r1088424 - /commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/text/translate/UnicodeEscaper.java
Date Sun, 03 Apr 2011 21:45:35 GMT
Author: bayard
Date: Sun Apr  3 21:45:35 2011
New Revision: 1088424

URL: http://svn.apache.org/viewvc?rev=1088424&view=rev
Log:
Removing unnecessary code

Modified:
    commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/text/translate/UnicodeEscaper.java

Modified: commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/text/translate/UnicodeEscaper.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/text/translate/UnicodeEscaper.java?rev=1088424&r1=1088423&r2=1088424&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/text/translate/UnicodeEscaper.java
(original)
+++ commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/text/translate/UnicodeEscaper.java
Sun Apr  3 21:45:35 2011
@@ -83,8 +83,7 @@ public class UnicodeEscaper extends Code
      * @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 Code
      * @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);
     }
 
     /**



Mime
View raw message