Add finals

Change-Id: Ib81be9a0df34c5e9fc49d2b5d9bf02297ea2b499
main
Jean Chalard 2012-02-08 11:51:29 +09:00
parent 6a800b253f
commit 8ff0564f6a
1 changed files with 3 additions and 2 deletions

View File

@ -2118,8 +2118,9 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar
}
// "ic" must not be null
private static boolean sameAsTextBeforeCursor(final InputConnection ic, CharSequence text) {
CharSequence beforeText = ic.getTextBeforeCursor(text.length(), 0);
private static boolean sameAsTextBeforeCursor(final InputConnection ic,
final CharSequence text) {
final CharSequence beforeText = ic.getTextBeforeCursor(text.length(), 0);
return TextUtils.equals(text, beforeText);
}