RED-242: Return sectionNumber for tests
This commit is contained in:
parent
96ba93f774
commit
8344b7ccaf
@ -17,5 +17,6 @@ public class RedactionLogEntry {
|
||||
private String section;
|
||||
private float[] color;
|
||||
private List<Rectangle> positions = new ArrayList<>();
|
||||
private int sectionNumber;
|
||||
|
||||
}
|
||||
|
||||
@ -167,6 +167,7 @@ public class AnnotationHighlightService {
|
||||
redactionLogEntry.setSection(entity.getHeadline());
|
||||
redactionLogEntry.setHint(isHint(entity));
|
||||
classifiedDoc.getRedactionLogEntities().add(redactionLogEntry);
|
||||
redactionLogEntry.setSectionNumber(entity.getSectionNumber());
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user