Fix bug when accessing empty list
This commit is contained in:
parent
6743d5c878
commit
496f1fd2d0
@ -184,7 +184,7 @@ public class MultiValuedCellSplitOperation extends AbstractOperation {
|
||||
String s = value instanceof String ? ((String) value) : value.toString();
|
||||
String[] values = null;
|
||||
if("lengths".equals(_mode)) {
|
||||
if (_fieldLengths.length >= 0 && _fieldLengths[0] > 0) {
|
||||
if (_fieldLengths.length > 0 && _fieldLengths[0] > 0) {
|
||||
values = new String[_fieldLengths.length];
|
||||
|
||||
int lastIndex = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user