Pull request #22: RED-242: Return sectionNumber for tests
Merge in RED/redaction-service from RED-242 to master * commit '8344b7ccafcf98e7376c53a0a79708c51daa6d0a': RED-242: Return sectionNumber for tests
This commit is contained in:
commit
98e0bf5606
@ -17,5 +17,6 @@ public class RedactionLogEntry {
|
|||||||
private String section;
|
private String section;
|
||||||
private float[] color;
|
private float[] color;
|
||||||
private List<Rectangle> positions = new ArrayList<>();
|
private List<Rectangle> positions = new ArrayList<>();
|
||||||
|
private int sectionNumber;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -167,6 +167,7 @@ public class AnnotationHighlightService {
|
|||||||
redactionLogEntry.setSection(entity.getHeadline());
|
redactionLogEntry.setSection(entity.getHeadline());
|
||||||
redactionLogEntry.setHint(isHint(entity));
|
redactionLogEntry.setHint(isHint(entity));
|
||||||
classifiedDoc.getRedactionLogEntities().add(redactionLogEntry);
|
classifiedDoc.getRedactionLogEntities().add(redactionLogEntry);
|
||||||
|
redactionLogEntry.setSectionNumber(entity.getSectionNumber());
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user