From 951ab9d7ebc594c330e377b5155654949e978117 Mon Sep 17 00:00:00 2001 From: Ken Wakasa Date: Fri, 9 Mar 2012 19:18:59 +0900 Subject: [PATCH] Fix typo. Change-Id: Ia18cd090fd81022041854ce190e36eca49c6b04a --- native/src/unigram_dictionary.cpp | 2 +- .../src/com/android/inputmethod/latin/PendingAttribute.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/native/src/unigram_dictionary.cpp b/native/src/unigram_dictionary.cpp index 10aa7e296..6c2c89231 100644 --- a/native/src/unigram_dictionary.cpp +++ b/native/src/unigram_dictionary.cpp @@ -58,7 +58,7 @@ static inline unsigned int getCodesBufferSize(const int *codes, const int codesS return sizeof(*codes) * MAX_PROXIMITY_CHARS * codesSize; } -// TODO: This needs to take an const unsigned short* and not tinker with its contents +// TODO: This needs to take a const unsigned short* and not tinker with its contents static inline void addWord( unsigned short *word, int length, int frequency, WordsPriorityQueue *queue) { queue->push(frequency, word, length); diff --git a/tools/makedict/src/com/android/inputmethod/latin/PendingAttribute.java b/tools/makedict/src/com/android/inputmethod/latin/PendingAttribute.java index e50202184..cf66eef4b 100644 --- a/tools/makedict/src/com/android/inputmethod/latin/PendingAttribute.java +++ b/tools/makedict/src/com/android/inputmethod/latin/PendingAttribute.java @@ -19,7 +19,7 @@ package com.android.inputmethod.latin; /** * A not-yet-resolved attribute. * - * An attribute is either a bigram or an shortcut. + * An attribute is either a bigram or a shortcut. * All instances of this class are always immutable. */ public class PendingAttribute {