Log 10
This commit is contained in:
parent
62958299d6
commit
56aeaea85e
@ -136,13 +136,13 @@ public class DictionaryService {
|
|||||||
|
|
||||||
|
|
||||||
private Set<DictionaryEntry> convertEntries(String typeId, Long fromVersion) {
|
private Set<DictionaryEntry> convertEntries(String typeId, Long fromVersion) {
|
||||||
|
|
||||||
var type = dictionaryClient.getDictionaryForType(typeId, fromVersion);
|
var type = dictionaryClient.getDictionaryForType(typeId, fromVersion);
|
||||||
|
|
||||||
Set<DictionaryEntry> entries = new HashSet<>(type
|
Set<DictionaryEntry> entries = new HashSet<>(type
|
||||||
.getEntries());
|
.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()) {
|
if (type.isCaseInsensitive()) {
|
||||||
entries.forEach(entry -> entry.setValue(entry.getValue().toLowerCase(Locale.ROOT)));
|
entries.forEach(entry -> entry.setValue(entry.getValue().toLowerCase(Locale.ROOT)));
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user