From 2af0451d93a69525c1dc08c0079cc6d0d00191d0 Mon Sep 17 00:00:00 2001 From: Yoshito Umaoka Date: Fri, 22 Jan 2010 21:53:44 +0000 Subject: [PATCH] ICU-7035 Updated UnicodeSet add(Collection) and addAll(Collection) to @stable ICU 4.4. Formerly, these methods returned Object instead of UnicodeSet. Because these are stable API, but return type had changed, I use @stable ICU 4.4. Also refreshed the API report. X-SVN-Rev: 27384 --- icu4j/APIChangeReport.html | 39 +++++++++---------- .../core/src/com/ibm/icu/text/UnicodeSet.java | 4 +- 2 files changed, 21 insertions(+), 22 deletions(-) diff --git a/icu4j/APIChangeReport.html b/icu4j/APIChangeReport.html index c5cb6bb199..93ba4830d9 100644 --- a/icu4j/APIChangeReport.html +++ b/icu4j/APIChangeReport.html @@ -134,9 +134,9 @@ UTF16.StringComparator UnicodeSet UnicodeSet HebrewCalendar LocaleData
-

Contents generated by ReportAPI tool on Fri Jan 22 00:48:44 EST 2010
Copyright (C) 2010, International Business Machines Corporation, All Rights Reserved.

+

Contents generated by ReportAPI tool on Fri Jan 22 16:46:37 EST 2010
Copyright (C) 2010, International Business Machines Corporation, All Rights Reserved.

diff --git a/icu4j/main/classes/core/src/com/ibm/icu/text/UnicodeSet.java b/icu4j/main/classes/core/src/com/ibm/icu/text/UnicodeSet.java index fc9601debb..7ee3a3051d 100644 --- a/icu4j/main/classes/core/src/com/ibm/icu/text/UnicodeSet.java +++ b/icu4j/main/classes/core/src/com/ibm/icu/text/UnicodeSet.java @@ -2747,7 +2747,7 @@ public class UnicodeSet extends UnicodeFilter implements Iterable, Compa * Add the contents of the collection (as strings) into this UnicodeSet. * @param source the collection to add * @return a reference to this object - * @stable ICU 2.8 + * @stable ICU 4.4 */ public UnicodeSet add(Collection source) { return addAll(source); @@ -2758,7 +2758,7 @@ public class UnicodeSet extends UnicodeFilter implements Iterable, Compa * Uses standard naming convention. * @param source collection to add into * @return a reference to this object - * @stable ICU 4.2 + * @stable ICU 4.4 */ public UnicodeSet addAll(Collection source) { checkFrozen();