RM-226: chunk empty string correctly
This commit is contained in:
parent
a6154b7b80
commit
7f145eb2e7
@ -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) {
|
||||
|
||||
@ -155,7 +155,6 @@ public class ScmReportService {
|
||||
return componentIndex;
|
||||
}
|
||||
|
||||
|
||||
private void addFileAttribute(Row row, FileModel fileModel, List<FileAttributeModel> fileAttributeModels) {
|
||||
|
||||
for (FileAttributeModel fileAttributeModel : fileAttributeModels) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user