commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject [1/2] [text] Use final.
Date Sat, 23 Sep 2017 17:24:29 GMT
Repository: commons-text
Updated Branches:
  refs/heads/master 7134d81d9 -> 0be254ad1


http://git-wip-us.apache.org/repos/asf/commons-text/blob/0be254ad/src/test/java/org/apache/commons/text/translate/NumericEntityUnescaperTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/text/translate/NumericEntityUnescaperTest.java
b/src/test/java/org/apache/commons/text/translate/NumericEntityUnescaperTest.java
index 36a6430..74f1175 100644
--- a/src/test/java/org/apache/commons/text/translate/NumericEntityUnescaperTest.java
+++ b/src/test/java/org/apache/commons/text/translate/NumericEntityUnescaperTest.java
@@ -79,16 +79,16 @@ public class NumericEntityUnescaperTest  {
 
     @Test
     public void testCreatesNumericEntityUnescaperOne() {
-        NumericEntityUnescaper.OPTION[] numericEntityUnescaper_OPTIONArray = new NumericEntityUnescaper.OPTION[0];
-        NumericEntityUnescaper numericEntityUnescaper = new NumericEntityUnescaper(numericEntityUnescaper_OPTIONArray);
+        final NumericEntityUnescaper.OPTION[] numericEntityUnescaper_OPTIONArray = new NumericEntityUnescaper.OPTION[0];
+        final NumericEntityUnescaper numericEntityUnescaper = new NumericEntityUnescaper(numericEntityUnescaper_OPTIONArray);
 
         assertEquals("2|y|O7y`&#uVWj", numericEntityUnescaper.translate((CharSequence)
"2|y|O7y`&#uVWj"));
     }
 
     @Test
     public void testCreatesNumericEntityUnescaperTwo() {
-        NumericEntityUnescaper.OPTION[] numericEntityUnescaper_OPTIONArray = new NumericEntityUnescaper.OPTION[0];
-        NumericEntityUnescaper numericEntityUnescaper = new NumericEntityUnescaper(numericEntityUnescaper_OPTIONArray);
+        final NumericEntityUnescaper.OPTION[] numericEntityUnescaper_OPTIONArray = new NumericEntityUnescaper.OPTION[0];
+        final NumericEntityUnescaper numericEntityUnescaper = new NumericEntityUnescaper(numericEntityUnescaper_OPTIONArray);
 
         assertEquals("Ws2v8|O=7NR&#cB", numericEntityUnescaper.translate("Ws2v8|O=7NR&#cB"));
     }


Mime
View raw message