Remove unused method.

Change-Id: Iefb75136080e73c357511df045816f18cec767a6
main
Keisuke Kuroyanagi 2014-03-27 15:03:04 +09:00
parent a785fa8edd
commit c17311cefe
4 changed files with 0 additions and 21 deletions

View File

@ -261,11 +261,6 @@ public class ContactsBinaryDictionary extends ExpandableBinaryDictionary {
return end; return end;
} }
@Override
protected boolean needsToReloadAfterCreation() {
return true;
}
@Override @Override
protected boolean haveContentsChanged() { protected boolean haveContentsChanged() {
final long startTime = SystemClock.uptimeMillis(); final long startTime = SystemClock.uptimeMillis();

View File

@ -482,12 +482,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. * Create a new binary dictionary and load initial contents.
*/ */

View File

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

View File

@ -91,11 +91,6 @@ public abstract class DecayingExpandableBinaryDictionaryBase extends ExpandableB
return false; return false;
} }
@Override
protected boolean needsToReloadAfterCreation() {
return false;
}
public void addMultipleDictionaryEntriesToDictionary( public void addMultipleDictionaryEntriesToDictionary(
final ArrayList<LanguageModelParam> languageModelParams, final ArrayList<LanguageModelParam> languageModelParams,
final ExpandableBinaryDictionary.AddMultipleDictionaryEntriesCallback callback) { final ExpandableBinaryDictionary.AddMultipleDictionaryEntriesCallback callback) {