@@ -73,9+63,9 @@ public enum DictionaryApplication {
// Leave it enabled by default for correctness except
// for my known broken development/performance test device config.
//static public final boolean USE_COLLATOR = !android.os.Build.FINGERPRINT.equals("Samsung/cm_tassve/tassve:4.4.4/KTU84Q/20150211:userdebug/release-keys");
// Leave it enabled by default for correctness except
// for my known broken development/performance test device config.
//static public final boolean USE_COLLATOR = !android.os.Build.FINGERPRINT.equals("Samsung/cm_tassve/tassve:4.4.4/KTU84Q/20150211:userdebug/release-keys");
- static public final boolean USE_COLLATOR = true;
+ public static final boolean USE_COLLATOR = true;
- static public final TransliteratorManager.ThreadSetup threadBackground = new TransliteratorManager.ThreadSetup() {
+ public static final TransliteratorManager.ThreadSetup threadBackground = new TransliteratorManager.ThreadSetup() {
@Override
public void onThreadStart() {
// THREAD_PRIORITY_BACKGROUND seemed like a good idea, but it
@Override
public void onThreadStart() {
// THREAD_PRIORITY_BACKGROUND seemed like a good idea, but it
@@ -127,14+117,14 @@ public enum DictionaryApplication {
private static final long serialVersionUID = -1444177164708201263L;
// User-ordered list, persisted, just the ones that are/have been
// present.
private static final long serialVersionUID = -1444177164708201263L;
// User-ordered list, persisted, just the ones that are/have been
// present.
- final List<String> dictionaryFilesOrdered = new ArrayList<String>();
+ final List<String> dictionaryFilesOrdered = new ArrayList<>();
- final Map<String, DictionaryInfo> uncompressedFilenameToDictionaryInfo = new HashMap<String, DictionaryInfo>();
+ final Map<String, DictionaryInfo> uncompressedFilenameToDictionaryInfo = new HashMap<>();
/**
* Sometimes a deserialized version of this data structure isn't valid.
/**
* Sometimes a deserialized version of this data structure isn't valid.