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