RED-6098: Fixed bug in method isRedactionPlaceholder
This commit is contained in:
parent
22b57bb191
commit
6f58882654
@ -352,7 +352,7 @@ public class ExcelReportGenerationService {
|
||||
|
||||
private boolean isRedactionPlaceholder(String text) {
|
||||
|
||||
return prefixRedactionPlaceholders.stream().anyMatch(text::startsWith) || redactionPlaceholders.contains(text);
|
||||
return prefixRedactionPlaceholders.stream().anyMatch(text::startsWith) || redactionPlaceholders.stream().anyMatch(text::contains);
|
||||
}
|
||||
|
||||
|
||||
@ -419,7 +419,7 @@ public class ExcelReportGenerationService {
|
||||
anchor.setRow1(cell.getRowIndex());
|
||||
|
||||
//Creates the top-level drawing patriarch.
|
||||
Drawing drawing = sheet.createDrawingPatriarch();
|
||||
Drawing<?> drawing = sheet.createDrawingPatriarch();
|
||||
|
||||
Picture picture = drawing.createPicture(anchor, pictureIdx);
|
||||
picture.resize(factor);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user