RM-226: chunk empty string correctly

This commit is contained in:
Kilian Schüttler 2025-01-21 17:00:45 +01:00
parent a6154b7b80
commit 7f145eb2e7
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) {