diff options
author | 2014-07-29 13:32:03 +0000 | |
---|---|---|
committer | 2014-07-29 13:32:03 +0000 | |
commit | 6bc87b96ce25887bb8bfe561308a65204152c577 (patch) | |
tree | fedb8aa316f7383304192b1bbb51fb9ab3bd8b1e /java/src/com/android/inputmethod/event/DeadKeyCombiner.java | |
parent | 8c6778f9ca6c09fa1034168ae13b68cea93f9420 (diff) | |
parent | 8c932cbd0a9563d03e914051e6447728875e6c2b (diff) | |
download | latinime-6bc87b96ce25887bb8bfe561308a65204152c577.tar.gz latinime-6bc87b96ce25887bb8bfe561308a65204152c577.tar.xz latinime-6bc87b96ce25887bb8bfe561308a65204152c577.zip |
am 8c932cbd: am 3c7cb523: Merge "[HW7.5] Introduce the @Nonnull annotation" into lmp-dev
* commit '8c932cbd0a9563d03e914051e6447728875e6c2b':
[HW7.5] Introduce the @Nonnull annotation
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()) { |