am a4c5c54a: Merge "Remove unused method."

* commit 'a4c5c54a19fd3143ee838d9f1a472a73799ef514':
  Remove unused method.
main
Keisuke Kuroyanagi 2014-03-28 08:43:35 +00:00 committed by Android Git Automerger
commit 99b7839b0a
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) {