changeset 25578:f9ecfa57b573

8050953: Fix raw and unchecked lint warnings in sun.text.normalizer.UnicodeSet Reviewed-by: okutsu
author darcy
date Wed, 16 Jul 2014 18:06:28 -0700
parents 1d036fa8c9c4
children 630405354c00
files jdk/src/share/classes/sun/text/normalizer/UnicodeSet.java
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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;