8050953: Fix raw and unchecked lint warnings in sun.text.normalizer.UnicodeSet
authordarcy
Wed, 16 Jul 2014 18:06:28 -0700
changeset 25578 f9ecfa57b573
parent 25577 1d036fa8c9c4
child 25579 630405354c00
8050953: Fix raw and unchecked lint warnings in sun.text.normalizer.UnicodeSet Reviewed-by: okutsu
jdk/src/share/classes/sun/text/normalizer/UnicodeSet.java
--- a/jdk/src/share/classes/sun/text/normalizer/UnicodeSet.java	Wed Jul 16 17:45:13 2014 -0700
+++ b/jdk/src/share/classes/sun/text/normalizer/UnicodeSet.java	Wed Jul 16 18:06:28 2014 -0700
@@ -367,6 +367,7 @@
      * copied to this object
      * @stable ICU 2.0
      */
+    @SuppressWarnings("unchecked") // Casting result of clone of a collection
     public UnicodeSet set(UnicodeSet other) {
         list = other.list.clone();
         len = other.len;