From 593a9fd5890548a4894806a8200c00ba768a7641 Mon Sep 17 00:00:00 2001 From: Andy Heninger Date: Mon, 11 Feb 2013 21:55:06 +0000 Subject: [PATCH] ICU-9842 Incorporate review comments. X-SVN-Rev: 33174 --- .../src/com/ibm/icu/text/AlphabeticIndex.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/icu4j/main/classes/collate/src/com/ibm/icu/text/AlphabeticIndex.java b/icu4j/main/classes/collate/src/com/ibm/icu/text/AlphabeticIndex.java index ff9e83a94b..d8a0b4a503 100644 --- a/icu4j/main/classes/collate/src/com/ibm/icu/text/AlphabeticIndex.java +++ b/icu4j/main/classes/collate/src/com/ibm/icu/text/AlphabeticIndex.java @@ -247,27 +247,27 @@ public final class AlphabeticIndex implements Iterable> { /** -  * Create an AlphabeticIndex that uses a specific collator. +  *

Create an AlphabeticIndex that uses a specific collator.

 * -  * The index will be created with no labels; the addLabels() function must be called -  * after creation to add the desired labels to the index. +  *

The index will be created with no labels; the addLabels() function must be called +  * after creation to add the desired labels to the index.

 * -  * The index will work directly with the supplied collator. If the caller will need to +  *

The index will work directly with the supplied collator. If the caller will need to  * continue working with the collator it should be cloned first, so that the -  * collator provided to the AlphabeticIndex remains unchanged after creation of the index. +  * collator provided to the AlphabeticIndex remains unchanged after creation of the index.

  *   * @param collator The collator to use to order the contents of this index.     * @draft ICU 51 + * @provisional This API might change or be removed in a future release.    */ public AlphabeticIndex(RuleBasedCollator collator) { this(null, collator, new UnicodeSet()); } /** - * @internal - * @deprecated This API is ICU internal only, for testing purposes and use with CLDR. + * Internal constructor containing implementation used by public constructors. */ - public AlphabeticIndex(ULocale locale, RuleBasedCollator collator, UnicodeSet exemplarChars) { + private AlphabeticIndex(ULocale locale, RuleBasedCollator collator, UnicodeSet exemplarChars) { collatorOriginal = collator != null ? collator : (RuleBasedCollator) Collator.getInstance(locale); try { collatorPrimaryOnly = (RuleBasedCollator) (collatorOriginal.clone());