]> granicus.if.org Git - icu/commitdiff
ICU-7645 Fix some dangling non@internals
authorMark Davis <mark@macchiato.com>
Thu, 6 Dec 2012 17:58:22 +0000 (17:58 +0000)
committerMark Davis <mark@macchiato.com>
Thu, 6 Dec 2012 17:58:22 +0000 (17:58 +0000)
X-SVN-Rev: 32932

icu4j/main/classes/core/src/com/ibm/icu/text/IdentifierInfo.java
icu4j/main/classes/core/src/com/ibm/icu/text/SpoofChecker.java

index a46143897c5b61e66b4c3f850b6c32a82f2561cf..508bd55b03f212508725dd6547f66646adb9a291 100644 (file)
@@ -49,6 +49,15 @@ public class IdentifierInfo {
     private final UnicodeSet numerics = new UnicodeSet();
     private final UnicodeSet identifierProfile = new UnicodeSet(0, 0x10FFFF);
 
+    /**
+     * Create an identifier info object. Subsequently, call {@link #setIdentifier(String)}, etc.
+     * {@link #setIdentifierProfile(UnicodeSet)}
+     * @internal
+     */
+    public IdentifierInfo() {
+        super();
+    }
+
     private IdentifierInfo clear() {
         requiredScripts.clear();
         scriptSetSet.clear();
@@ -274,6 +283,7 @@ public class IdentifierInfo {
      * Find out which scripts are in common among the alternates.
      * 
      * @return the set of scripts that are in common among the alternates.
+     * @internal
      */
     public BitSet getCommonAmongAlternates() {
         return (BitSet) commonAmongAlternates.clone();
@@ -323,6 +333,10 @@ public class IdentifierInfo {
         return RestrictionLevel.MINIMALLY_RESTRICTIVE;
     }
 
+    /**
+     * See Object.toString()
+     * @internal
+     */
     @Override
     public String toString() {
         return identifier + ", " + identifierProfile.toPattern(false) + ", " + getRestrictionLevel() + ", "
@@ -470,7 +484,8 @@ public class IdentifierInfo {
         }
         return bitset;
     }
-
+    
+    
     // public static final class FreezableBitSet extends BitSet implements Freezable<FreezableBitSet> {
     // private boolean frozen;
     //
index 5c988290ed3b331466e123431335983e6bf7e369..09c0c98d84c998c4f16c986826d2643d1f79955f 100644 (file)
@@ -143,6 +143,10 @@ import com.ibm.icu.util.ULocale;
  */
 public class SpoofChecker {
     
+    /**
+     * Constants from UAX 31 for use in setRestrictionLevel.
+     * @internal
+     */
     public enum RestrictionLevel {
         /**
          * Only ASCII characters: U+0000..U+007F
@@ -1482,7 +1486,7 @@ public class SpoofChecker {
         /**
          * The restriction level that the text meets, if RESTRICTION_LEVEL is set; otherwise null.
          * 
-         * @stable ICU 4.6
+         * @internal
          */
         public RestrictionLevel restrictionLevel;