From d608a0adcb8392892fa0bed2258b428fbbff0fc0 Mon Sep 17 00:00:00 2001 From: Clara Bayarri Date: Wed, 27 Apr 2016 11:53:22 +0100 Subject: [PATCH] Fix TextUtils#getReverse deprecated doc Note there is no alternative method to use. Bug: 28296055 Change-Id: I1e44c1dad6009434a92c6a53862e6f061114bc56 --- core/java/android/text/TextUtils.java | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/core/java/android/text/TextUtils.java b/core/java/android/text/TextUtils.java index 49cb8e2c0e721..71b53f1f42ae2 100644 --- a/core/java/android/text/TextUtils.java +++ b/core/java/android/text/TextUtils.java @@ -505,15 +505,14 @@ public class TextUtils { return false; } - /* - * @deprecated - * Do not use. This function only reverses individual {@code char}s and not their associated - * spans. It doesn't support surrogate pairs (that correspond to non-BMP code points), - * combining sequences or conjuncts either. + /** + * This function only reverses individual {@code char}s and not their associated + * spans. It doesn't support surrogate pairs (that correspond to non-BMP code points), combining + * sequences or conjuncts either. + * @deprecated Do not use. */ @Deprecated - public static CharSequence getReverse(CharSequence source, - int start, int end) { + public static CharSequence getReverse(CharSequence source, int start, int end) { return new Reverser(source, start, end); }