Second log

This commit is contained in:
deiflaender 2022-03-15 16:49:51 +01:00
parent 8086b95eb1
commit 9af432768d
2 changed files with 3 additions and 3 deletions

View File

@ -133,6 +133,8 @@ public class AnalyzeService {
DictionaryIncrement dictionaryIncrement = dictionaryService.getDictionaryIncrements(analyzeRequest.getDossierTemplateId(), new DictionaryVersion(redactionLog.getDictionaryVersion(), redactionLog.getDossierDictionaryVersion()), analyzeRequest.getDossierId()); DictionaryIncrement dictionaryIncrement = dictionaryService.getDictionaryIncrements(analyzeRequest.getDossierTemplateId(), new DictionaryVersion(redactionLog.getDictionaryVersion(), redactionLog.getDossierDictionaryVersion()), analyzeRequest.getDossierId());
log.info("DictionaryIncremet: {}", dictionaryIncrement.getValues().stream().map(v -> v.getValue()).collect(Collectors.toList()));
Set<Integer> sectionsToReanalyse = !analyzeRequest.getSectionsToReanalyse() Set<Integer> sectionsToReanalyse = !analyzeRequest.getSectionsToReanalyse()
.isEmpty() ? analyzeRequest.getSectionsToReanalyse() : findSectionsToReanalyse(dictionaryIncrement, redactionLog, text, analyzeRequest); .isEmpty() ? analyzeRequest.getSectionsToReanalyse() : findSectionsToReanalyse(dictionaryIncrement, redactionLog, text, analyzeRequest);

View File

@ -137,8 +137,6 @@ public class DictionaryService {
private Set<DictionaryEntry> convertEntries(String typeId, Long fromVersion) { private Set<DictionaryEntry> convertEntries(String typeId, Long fromVersion) {
log.info("TypeId: {} From version is {}", typeId, 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