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

am: 4852f67

* commit '4852f67ccdf4f7b9bf82455ae83ddd95b87724ad':
  Fix TextUtils#getReverse deprecated doc

Change-Id: Ic446f4a3650c11751dbee2cff187b83838e8475c
This commit is contained in:
Raph Levien
2016-04-27 19:46:13 +00:00
committed by android-build-merger

View File

@@ -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);
}