]> granicus.if.org Git - icu/commitdiff
ICU-13177 Changed NoUnit constructor from protected @internal to package local.
authorYoshito Umaoka <y.umaoka@gmail.com>
Tue, 3 Oct 2017 14:10:13 +0000 (14:10 +0000)
committerYoshito Umaoka <y.umaoka@gmail.com>
Tue, 3 Oct 2017 14:10:13 +0000 (14:10 +0000)
X-SVN-Rev: 40533

icu4j/main/classes/core/src/com/ibm/icu/util/NoUnit.java

index 32beeb685d9aa37f4cdc2c58ef4540c1e7a35231..7a0aba84ae270300bb3b94ae8cd2dc7845923d0c 100644 (file)
@@ -42,11 +42,12 @@ public class NoUnit extends MeasureUnit {
 
 
     /**
-     * @internal
-     * @deprecated This API is ICU internal only.
+     * Package local constructor. This class is not designed for subclassing
+     * by ICU users.
+     *
+     * @param subType   The unit subtype.
      */
-    @Deprecated
-    protected NoUnit(String subType) {
+    NoUnit(String subType) {
         super("none", subType);
     }
 }