From d36cbc44e427f38735fa6c991a3ccc756e46193c Mon Sep 17 00:00:00 2001 From: Jean Chalard Date: Thu, 20 Mar 2014 18:06:53 +0900 Subject: [PATCH] [CB13] Remove an unused method. Change-Id: If4d2fa9c6499ce9b2427cea424abd497ec4a966b --- java/src/com/android/inputmethod/latin/WordComposer.java | 7 ------- 1 file changed, 7 deletions(-) diff --git a/java/src/com/android/inputmethod/latin/WordComposer.java b/java/src/com/android/inputmethod/latin/WordComposer.java index 78990e011..a60ca3d41 100644 --- a/java/src/com/android/inputmethod/latin/WordComposer.java +++ b/java/src/com/android/inputmethod/latin/WordComposer.java @@ -167,13 +167,6 @@ public final class WordComposer { return mPrimaryKeyCodes[index]; } - public int getCodeBeforeCursor() { - if (mCursorPositionWithinWord < 1 || mCursorPositionWithinWord > mPrimaryKeyCodes.length) { - return Constants.NOT_A_CODE; - } - return mPrimaryKeyCodes[mCursorPositionWithinWord - 1]; - } - public InputPointers getInputPointers() { return mInputPointers; }