/** * Save the dictionary as it is. * More often you should consider using its alternative trySaveNewDict to save dict space */ public DictionaryInfo forceSave(Dictionary<String> newDict, DictionaryInfo newDictInfo) throws IOException { initDictInfo(newDict, newDictInfo); logger.info("force to save dict directly"); return saveNewDict(newDictInfo); }
initDictInfo(newDict, newDictInfo);
/** * Save the dictionary as it is. * More often you should consider using its alternative trySaveNewDict to save dict space */ public DictionaryInfo forceSave(Dictionary<String> newDict, DictionaryInfo newDictInfo) throws IOException { initDictInfo(newDict, newDictInfo); logger.info("force to save dict directly"); return saveNewDict(newDictInfo); }
initDictInfo(newDict, newDictInfo);