RED-242: Return sectionNumber for tests

This commit is contained in:
deiflaender 2020-08-12 15:46:33 +02:00
parent 96ba93f774
commit 8344b7ccaf
2 changed files with 2 additions and 0 deletions

View File

@ -17,5 +17,6 @@ public class RedactionLogEntry {
private String section;
private float[] color;
private List<Rectangle> positions = new ArrayList<>();
private int sectionNumber;
}

View File

@ -167,6 +167,7 @@ public class AnnotationHighlightService {
redactionLogEntry.setSection(entity.getHeadline());
redactionLogEntry.setHint(isHint(entity));
classifiedDoc.getRedactionLogEntities().add(redactionLogEntry);
redactionLogEntry.setSectionNumber(entity.getSectionNumber());
}
}