Merge "Remove unused method."

main
Keisuke Kuroyanagi 2014-03-28 08:07:42 +00:00 committed by Android (Google) Code Review
commit a4c5c54a19
4 changed files with 0 additions and 21 deletions

View File

@ -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();

View File

@ -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.
*/

View File

@ -269,9 +269,4 @@ public class UserBinaryDictionary extends ExpandableBinaryDictionary {
protected boolean haveContentsChanged() {
return true;
}
@Override
protected boolean needsToReloadAfterCreation() {
return true;
}
}

View File

@ -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) {