Remove unneeded code in KeywordSearchJobSettings

This commit is contained in:
Richard Cordovano 2014-09-24 15:40:53 -04:00
parent 5aff0e07f8
commit c42e7bcf97

View File

@ -66,9 +66,6 @@ final class KeywordSearchJobSettings implements IngestModuleIngestJobSettings {
* compatible, version of this class is de-serialized. * compatible, version of this class is de-serialized.
*/ */
private void upgradeFromOlderVersions() { private void upgradeFromOlderVersions() {
if (null == this.namesOfEnabledKeywordLists) {
this.namesOfEnabledKeywordLists = new HashSet<>();
}
if (null == this.namesOfDisabledKeywordLists) { if (null == this.namesOfDisabledKeywordLists) {
this.namesOfDisabledKeywordLists = new HashSet<>(); this.namesOfDisabledKeywordLists = new HashSet<>();
} }