diff options
author | vichang <vichang@google.com> | 2018-06-06 19:33:49 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2018-06-06 19:33:49 +0000 |
commit | 247d7ee588f9ca6d113a0268542a712de8d8e28b (patch) | |
tree | 5855c7c5f571e8cdfc3757b8a40bf2168de9c941 /icu4j/main | |
parent | 1e7f4cbbd7fddd7e7b8717b43856e27c5d4703a2 (diff) | |
parent | 410d5a5ce44e3885b04e331e3cb488ec49d1a45b (diff) | |
download | icu-android-n-iot-release-polk-at1.tar.gz |
Merge "Android patch: ticket: 13801: Doc change in BreakIterator"android-n-iot-release-polk-at1
Diffstat (limited to 'icu4j/main')
-rw-r--r-- | icu4j/main/classes/core/src/com/ibm/icu/text/BreakIterator.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/icu4j/main/classes/core/src/com/ibm/icu/text/BreakIterator.java b/icu4j/main/classes/core/src/com/ibm/icu/text/BreakIterator.java index a8a953ba9..1876a08d0 100644 --- a/icu4j/main/classes/core/src/com/ibm/icu/text/BreakIterator.java +++ b/icu4j/main/classes/core/src/com/ibm/icu/text/BreakIterator.java @@ -81,7 +81,10 @@ import com.ibm.icu.util.ULocale; * * BreakIterator accesses the text it analyzes through a CharacterIterator, which makes * it possible to use BreakIterator to analyze text in any text-storage vehicle that - * provides a CharacterIterator interface. + * provides a CharacterIterator interface. When BreakIterator.setText(CharacterIterator) or + * getText() was called, the CharacterIterator must not be modified, or else the BreakIterator + * behavior is undefined. In particular, call BreakIterator.setText(), + * not CharacterIterator.setText(). * * <b>Note:</b> Some types of BreakIterator can take a long time to create, and * instances of BreakIterator are not currently cached by the system. For |