diff options
author | 2012-09-27 03:28:57 -0700 | |
---|---|---|
committer | 2012-09-27 03:28:57 -0700 | |
commit | 337274a01558b40135ecb1de0b4fe2b67c607958 (patch) | |
tree | 946755db07ee5808be32ae16424dee6dac4abdad /java/src/com/android/inputmethod/latin/spellcheck/AndroidSpellCheckerService.java | |
parent | b2c1cd08661dc400c00d2545e24e22397f06281b (diff) | |
parent | e7bdd9910141c11701751be32bfed67956a950b6 (diff) | |
download | latinime-337274a01558b40135ecb1de0b4fe2b67c607958.tar.gz latinime-337274a01558b40135ecb1de0b4fe2b67c607958.tar.xz latinime-337274a01558b40135ecb1de0b4fe2b67c607958.zip |
am e7bdd991: am a28a05e9: Cleanup: Make some classes as final
* commit 'e7bdd9910141c11701751be32bfed67956a950b6':
Cleanup: Make some classes as final
Diffstat (limited to 'java/src/com/android/inputmethod/latin/spellcheck/AndroidSpellCheckerService.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/spellcheck/AndroidSpellCheckerService.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/java/src/com/android/inputmethod/latin/spellcheck/AndroidSpellCheckerService.java b/java/src/com/android/inputmethod/latin/spellcheck/AndroidSpellCheckerService.java index eef7a51f2..5a11ae534 100644 --- a/java/src/com/android/inputmethod/latin/spellcheck/AndroidSpellCheckerService.java +++ b/java/src/com/android/inputmethod/latin/spellcheck/AndroidSpellCheckerService.java @@ -50,7 +50,7 @@ import java.util.TreeMap; /** * Service for spell checking, using LatinIME's dictionaries and mechanisms. */ -public class AndroidSpellCheckerService extends SpellCheckerService +public final class AndroidSpellCheckerService extends SpellCheckerService implements SharedPreferences.OnSharedPreferenceChangeListener { private static final String TAG = AndroidSpellCheckerService.class.getSimpleName(); private static final boolean DBG = false; @@ -201,8 +201,8 @@ public class AndroidSpellCheckerService extends SpellCheckerService } // TODO: remove this class and replace it by storage local to the session. - public static class SuggestionsGatherer { - public static class Result { + public static final class SuggestionsGatherer { + public static final class Result { public final String[] mSuggestions; public final boolean mHasRecommendedSuggestions; public Result(final String[] gatheredSuggestions, |