]> granicus.if.org Git - icu/commitdiff
ICU-8807 cleanup warnings
authorMark Davis <mark@macchiato.com>
Thu, 8 Sep 2011 23:07:29 +0000 (23:07 +0000)
committerMark Davis <mark@macchiato.com>
Thu, 8 Sep 2011 23:07:29 +0000 (23:07 +0000)
X-SVN-Rev: 30640

icu4j/main/classes/core/src/com/ibm/icu/impl/UnicodeRegex.java
icu4j/main/classes/core/src/com/ibm/icu/text/UnicodeSet.java

index 252be8d981560eebb01c28a01ca6abffd0dd2b5f..cc2e67843f4e09079e2a455fccc9642263893a65 100644 (file)
@@ -15,7 +15,6 @@ import java.io.UnsupportedEncodingException;
 import java.text.ParsePosition;
 import java.util.Arrays;
 import java.util.Comparator;
-import java.util.Iterator;
 import java.util.LinkedHashSet;
 import java.util.List;
 import java.util.Map;
@@ -39,7 +38,6 @@ public class UnicodeRegex implements Cloneable, Freezable<UnicodeRegex>, StringT
     // particularly for the regex style supported.
 
     private SymbolTable symbolTable;
-    private ParsePosition parsePosition = new ParsePosition(0);
 
     /**
      * Set the symbol table for internal processing
index 6654e5cd398c399033dfaab465c77eec6cb63b09..dae9071d0dad94a20a40774169aee3a10bea9830 100644 (file)
@@ -4551,7 +4551,7 @@ public class UnicodeSet extends UnicodeFilter implements Iterable<String>, Compa
 
     /**
      * Get the default symbol table. Null means ordinary processing. For internal use only.
-     * @return
+     * @return the symbol table
      * @internal
      */
     public static XSymbolTable getDefaultXSymbolTable() {
@@ -4562,7 +4562,7 @@ public class UnicodeSet extends UnicodeFilter implements Iterable<String>, Compa
      * Set the default symbol table. Null means ordinary processing. For internal use only. Will affect all subsequent parsing
      * of UnicodeSets.
  * <p>
- * WARNING: If this function is used with a {@link UnicodeProperty}, and the
+ * WARNING: If this function is used with a UnicodeProperty, and the
  * Unassigned characters (gc=Cn) are different than in ICU other than in ICU, you MUST call
  * {@code UnicodeProperty.ResetCacheProperties} afterwards. If you then call {@code UnicodeSet.setDefaultXSymbolTable}
  * with null to clear the value, you MUST also call {@code UnicodeProperty.ResetCacheProperties}.