Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b639ae69 authored by Raph Levien's avatar Raph Levien Committed by Android (Google) Code Review
Browse files

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

parents 596a4a15 d608a0ad
Loading
Loading
Loading
Loading
+6 −7
Original line number Original line Diff line number Diff line
@@ -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);
    }
    }