Added debug log
This commit is contained in:
parent
34dc4f4a98
commit
8086b95eb1
@ -137,11 +137,15 @@ public class DictionaryService {
|
||||
|
||||
private Set<DictionaryEntry> convertEntries(String typeId, Long fromVersion) {
|
||||
|
||||
log.info("TypeId: {} From version is {}", typeId, 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()));
|
||||
|
||||
if (type.isCaseInsensitive()) {
|
||||
entries.forEach(entry -> entry.setValue(entry.getValue().toLowerCase(Locale.ROOT)));
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user