aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/LastComposedWord.java
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2014-03-27 08:41:25 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-03-27 08:41:25 +0000
commite769c13af4393a335ce9d91e2c9b11631a523149 (patch)
treeee1a7bcb1450694ea29a2d78fffa05b558c62d82 /java/src/com/android/inputmethod/latin/LastComposedWord.java
parent83ef574f5660dc487a66d213387a40d02f584e4f (diff)
parent5feda45a6fd89e95b07b0ff1cc9dcaf7de029da1 (diff)
downloadlatinime-e769c13af4393a335ce9d91e2c9b11631a523149.tar.gz
latinime-e769c13af4393a335ce9d91e2c9b11631a523149.tar.xz
latinime-e769c13af4393a335ce9d91e2c9b11631a523149.zip
am 5feda45a: Merge "[CB15] Remove a redundant variable."
* commit '5feda45a6fd89e95b07b0ff1cc9dcaf7de029da1': [CB15] Remove a redundant variable.
Diffstat (limited to 'java/src/com/android/inputmethod/latin/LastComposedWord.java')
-rw-r--r--java/src/com/android/inputmethod/latin/LastComposedWord.java8
1 files changed, 3 insertions, 5 deletions
diff --git a/java/src/com/android/inputmethod/latin/LastComposedWord.java b/java/src/com/android/inputmethod/latin/LastComposedWord.java
index 2a16ab5ab..a3b030626 100644
--- a/java/src/com/android/inputmethod/latin/LastComposedWord.java
+++ b/java/src/com/android/inputmethod/latin/LastComposedWord.java
@@ -44,7 +44,6 @@ public final class LastComposedWord {
public static final String NOT_A_SEPARATOR = "";
- public final int[] mPrimaryKeyCodes;
public final ArrayList<Event> mEvents;
public final String mTypedWord;
public final CharSequence mCommittedWord;
@@ -57,16 +56,15 @@ public final class LastComposedWord {
private boolean mActive;
public static final LastComposedWord NOT_A_COMPOSED_WORD =
- new LastComposedWord(null, new ArrayList<Event>(), null, "", "",
- NOT_A_SEPARATOR, null, WordComposer.CAPS_MODE_OFF);
+ new LastComposedWord(new ArrayList<Event>(), null, "", "",
+ NOT_A_SEPARATOR, null, WordComposer.CAPS_MODE_OFF);
// Warning: this is using the passed objects as is and fully expects them to be
// immutable. Do not fiddle with their contents after you passed them to this constructor.
- public LastComposedWord(final int[] primaryKeyCodes, final ArrayList<Event> events,
+ public LastComposedWord(final ArrayList<Event> events,
final InputPointers inputPointers, final String typedWord,
final CharSequence committedWord, final String separatorString,
final String prevWord, final int capitalizedMode) {
- mPrimaryKeyCodes = primaryKeyCodes;
if (inputPointers != null) {
mInputPointers.copy(inputPointers);
}