diff options
author | 2014-07-30 17:11:36 +0000 | |
---|---|---|
committer | 2014-07-30 17:11:36 +0000 | |
commit | 818d3ee923ccdeab9c5091b781ea1bab1987bf69 (patch) | |
tree | 3e177c1ce14b7ed7d24268bab218599b07b4bf79 /java/src/com/android/inputmethod/event/DeadKeyCombiner.java | |
parent | 1f9ece1ca9046a00c4d6208a296c52beadce42fc (diff) | |
parent | ec8472b5f5e478ba4eb830a7603da9c5a4637461 (diff) | |
download | latinime-818d3ee923ccdeab9c5091b781ea1bab1987bf69.tar.gz latinime-818d3ee923ccdeab9c5091b781ea1bab1987bf69.tar.xz latinime-818d3ee923ccdeab9c5091b781ea1bab1987bf69.zip |
am ec8472b5: am 7f545a57: [HW7.5] Introduce the @Nonnull annotation (take 2)
* commit 'ec8472b5f5e478ba4eb830a7603da9c5a4637461':
[HW7.5] Introduce the @Nonnull annotation (take 2)
Diffstat (limited to 'java/src/com/android/inputmethod/event/DeadKeyCombiner.java')
-rw-r--r-- | java/src/com/android/inputmethod/event/DeadKeyCombiner.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/java/src/com/android/inputmethod/event/DeadKeyCombiner.java b/java/src/com/android/inputmethod/event/DeadKeyCombiner.java index 342f499c9..d816247d8 100644 --- a/java/src/com/android/inputmethod/event/DeadKeyCombiner.java +++ b/java/src/com/android/inputmethod/event/DeadKeyCombiner.java @@ -23,6 +23,8 @@ import com.android.inputmethod.latin.Constants; import java.util.ArrayList; +import javax.annotation.Nonnull; + /** * A combiner that handles dead keys. */ @@ -31,6 +33,7 @@ public class DeadKeyCombiner implements Combiner { final StringBuilder mDeadSequence = new StringBuilder(); @Override + @Nonnull public Event processEvent(final ArrayList<Event> previousEvents, final Event event) { if (TextUtils.isEmpty(mDeadSequence)) { if (event.isDead()) { |