/** * 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); }
} else if (newDict.contains(largestDictObject)) { logger.info("dictionary content " + newDict + " is by far the largest, save it"); return saveNewDict(newDictInfo); } else { logger.info("merge dict and save..."); return saveNewDict(newDictInfo); return saveNewDict(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); }
} else if (newDict.contains(largestDictObject)) { logger.info("dictionary content " + newDict + " is by far the largest, save it"); return saveNewDict(newDictInfo); } else { logger.info("merge dict and save..."); return saveNewDict(newDictInfo); return saveNewDict(newDictInfo);