This commit is contained in:
deiflaender 2022-03-15 17:41:16 +01:00
parent af70fd8ecd
commit ac7e390858

View File

@ -105,7 +105,7 @@ public class DictionaryService {
// add old entries from existing DictionaryModel // add old entries from existing DictionaryModel
oldModel.ifPresent(dictionaryModel -> entries.addAll(dictionaryModel.getEntries().stream().filter( oldModel.ifPresent(dictionaryModel -> entries.addAll(dictionaryModel.getEntries().stream().filter(
f -> newValues.contains(f.getValue())).collect(Collectors.toList()) f -> !newValues.contains(f.getValue())).collect(Collectors.toList())
)); ));
// Add Increments // Add Increments
entries.addAll(convertEntries(t.getId(), currentVersion)); entries.addAll(convertEntries(t.getId(), currentVersion));