Merge branch 'RM-226' into 'master'

RM-226: chunk empty string correctly

Closes RM-226

See merge request redactmanager/redaction-report-service!115
This commit is contained in:
Kilian Schüttler 2025-01-21 17:00:46 +01:00
commit 418ac81465
2 changed files with 3 additions and 1 deletions

View File

@ -19,6 +19,9 @@ public class CellTextChunkingService {
}
int length = value.length();
if (length < MAX_CELL_TEXT_LENGTH) {
return List.of(value);
}
int startIndex = 0;
while (startIndex < length) {

View File

@ -155,7 +155,6 @@ public class ScmReportService {
return componentIndex;
}
private void addFileAttribute(Row row, FileModel fileModel, List<FileAttributeModel> fileAttributeModels) {
for (FileAttributeModel fileAttributeModel : fileAttributeModels) {