Merge "Remove unused method."
commit
a4c5c54a19
|
@ -261,11 +261,6 @@ public class ContactsBinaryDictionary extends ExpandableBinaryDictionary {
|
|||
return end;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected boolean needsToReloadAfterCreation() {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected boolean haveContentsChanged() {
|
||||
final long startTime = SystemClock.uptimeMillis();
|
||||
|
|
|
@ -488,12 +488,6 @@ abstract public class ExpandableBinaryDictionary extends Dictionary {
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Abstract method for checking if it is required to reload the dictionary before writing
|
||||
* a binary dictionary.
|
||||
*/
|
||||
abstract protected boolean needsToReloadAfterCreation();
|
||||
|
||||
/**
|
||||
* Create a new binary dictionary and load initial contents.
|
||||
*/
|
||||
|
|
|
@ -269,9 +269,4 @@ public class UserBinaryDictionary extends ExpandableBinaryDictionary {
|
|||
protected boolean haveContentsChanged() {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected boolean needsToReloadAfterCreation() {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -91,11 +91,6 @@ public abstract class DecayingExpandableBinaryDictionaryBase extends ExpandableB
|
|||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected boolean needsToReloadAfterCreation() {
|
||||
return false;
|
||||
}
|
||||
|
||||
public void addMultipleDictionaryEntriesToDictionary(
|
||||
final ArrayList<LanguageModelParam> languageModelParams,
|
||||
final ExpandableBinaryDictionary.AddMultipleDictionaryEntriesCallback callback) {
|
||||
|
|
Loading…
Reference in New Issue