This commit is contained in:
deiflaender 2022-03-15 17:20:58 +01:00
parent 62958299d6
commit 56aeaea85e

View File

@ -136,13 +136,13 @@ public class DictionaryService {
private Set<DictionaryEntry> convertEntries(String typeId, Long fromVersion) {
var type = dictionaryClient.getDictionaryForType(typeId, fromVersion);
Set<DictionaryEntry> entries = new HashSet<>(type
.getEntries());
log.info("TypeId: {} From version is {} entries are {}", typeId, fromVersion, entries.stream().map(e -> e.getValue() + e.getVersion()).collect(Collectors.toList()));
log.info("TypeId: {} From version is {} entries are {}", typeId, fromVersion, entries.stream().map(e -> e.getValue() + e.getVersion() + e.isDeleted()).collect(Collectors.toList()));
if (type.isCaseInsensitive()) {
entries.forEach(entry -> entry.setValue(entry.getValue().toLowerCase(Locale.ROOT)));