Merge "Fix TextUtils#getReverse deprecated doc" into nyc-dev

am: b639ae6

* commit 'b639ae697a07fd1a3755a9d3b3a264c24d685d35':
  Fix TextUtils#getReverse deprecated doc

Change-Id: Id33e49d9f11d47d0bf6badd101b5b08ffeb9150c
This commit is contained in:
Clara Bayarri
2016-04-27 19:41:09 +00:00
committed by android-build-merger

View File

@@ -505,15 +505,14 @@ public class TextUtils {
return false; return false;
} }
/* /**
* @deprecated * This function only reverses individual {@code char}s and not their associated
* 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
* spans. It doesn't support surrogate pairs (that correspond to non-BMP code points), * sequences or conjuncts either.
* combining sequences or conjuncts either. * @deprecated Do not use.
*/ */
@Deprecated @Deprecated
public static CharSequence getReverse(CharSequence source, public static CharSequence getReverse(CharSequence source, int start, int end) {
int start, int end) {
return new Reverser(source, start, end); return new Reverser(source, start, end);
} }