]> granicus.if.org Git - icu/commitdiff
ICU-9138 Fixed compiler warnings - corrected invalid java doc tags, deleted unused...
authorYoshito Umaoka <y.umaoka@gmail.com>
Mon, 27 Feb 2012 23:18:44 +0000 (23:18 +0000)
committerYoshito Umaoka <y.umaoka@gmail.com>
Mon, 27 Feb 2012 23:18:44 +0000 (23:18 +0000)
X-SVN-Rev: 31527

icu4j/main/classes/core/src/com/ibm/icu/text/CompactDecimalFormat.java
icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/RbnfTest.java

index 97b316aeeaf4a8af35a080ec90bb51500d2b5ba3..5265bb655f39f29641160becaf4ee0ca8f63975e 100644 (file)
@@ -179,7 +179,7 @@ public class CompactDecimalFormat extends DecimalFormat {
     }
 
     /**
-     * @inheritDoc
+     * {@inheritDoc}
      * @draft ICU 49
      * @provisional This API might change or be removed in a future release.
      */
@@ -189,7 +189,7 @@ public class CompactDecimalFormat extends DecimalFormat {
     }
 
     /**
-     * @inheritDoc
+     * {@inheritDoc}
      * @draft ICU 49
      * @provisional This API might change or be removed in a future release.
      */
@@ -199,7 +199,7 @@ public class CompactDecimalFormat extends DecimalFormat {
     }
 
     /**
-     * @inheritDoc
+     * {@inheritDoc}
      * @draft ICU 49
      * @provisional This API might change or be removed in a future release.
      */
@@ -209,7 +209,7 @@ public class CompactDecimalFormat extends DecimalFormat {
     }
 
     /**
-     * @inheritDoc
+     * {@inheritDoc}
      * @draft ICU 49
      * @provisional This API might change or be removed in a future release.
      */
index 2f0c88a6b13f2d22449b38a29271a0d194c23e0d..60b3a3014e52e88679b1f4c8c57ebb146218d789 100644 (file)
@@ -1281,23 +1281,22 @@ public class RbnfTest extends TestFmwk {
     
     public void TestSetDecimalFormatSymbols() {
         RuleBasedNumberFormat rbnf = new RuleBasedNumberFormat(Locale.ENGLISH, RuleBasedNumberFormat.ORDINAL);
-        
+
         DecimalFormatSymbols dfs = new DecimalFormatSymbols(Locale.ENGLISH);
-        
+
         double number = 1001;
-        
-        char newSeparator = '&';
+
         String[] expected = { "1,001st", "1&001st" };
-        
+
         String result = rbnf.format(number);
         if (!result.equals(expected[0])) {
             errln("Format Error - Got: " + result + " Expected: " + expected[0]);
         }
-        
+
         /* Set new symbol for testing */
         dfs.setGroupingSeparator('&');
         rbnf.setDecimalFormatSymbols(dfs);
-        
+
         result = rbnf.format(number);
         if (!result.equals(expected[1])) {
             errln("Format Error - Got: " + result + " Expected: " + expected[1]);