mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-14 17:24:01 +00:00
ICU-22789 Mark getNewBreakIterator internal until we can remove it
This commit is contained in:
parent
d9445d2aca
commit
9efe2df23f
3 changed files with 11 additions and 2 deletions
|
@ -27,8 +27,8 @@ public class LocalizedSegmenter implements Segmenter {
|
|||
}
|
||||
|
||||
/**
|
||||
* @Deprecated internal
|
||||
* @return
|
||||
* @internal
|
||||
* @deprecated This API is ICU internal only.
|
||||
*/
|
||||
@Override
|
||||
@Deprecated
|
||||
|
|
|
@ -23,7 +23,12 @@ public class RuleBasedSegmenter implements Segmenter {
|
|||
this.rules = rules;
|
||||
}
|
||||
|
||||
/**
|
||||
* @internal
|
||||
* @deprecated This API is ICU internal only.
|
||||
*/
|
||||
@Override
|
||||
@Deprecated
|
||||
public RuleBasedBreakIterator getNewBreakIterator() {
|
||||
return new RuleBasedBreakIterator(this.rules);
|
||||
}
|
||||
|
|
|
@ -5,6 +5,10 @@ import com.ibm.icu.text.BreakIterator;
|
|||
public interface Segmenter {
|
||||
Segments segment(CharSequence s);
|
||||
|
||||
/**
|
||||
* @internal
|
||||
* @deprecated This API is ICU internal only.
|
||||
*/
|
||||
@Deprecated
|
||||
BreakIterator getNewBreakIterator();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue