Merge pull request #2176 from viniciusbds/master
Fix bug when accessing empty list
This commit is contained in:
commit
52ea417309
@ -184,7 +184,7 @@ public class MultiValuedCellSplitOperation extends AbstractOperation {
|
|||||||
String s = value instanceof String ? ((String) value) : value.toString();
|
String s = value instanceof String ? ((String) value) : value.toString();
|
||||||
String[] values = null;
|
String[] values = null;
|
||||||
if("lengths".equals(_mode)) {
|
if("lengths".equals(_mode)) {
|
||||||
if (_fieldLengths.length >= 0 && _fieldLengths[0] > 0) {
|
if (_fieldLengths.length > 0 && _fieldLengths[0] > 0) {
|
||||||
values = new String[_fieldLengths.length];
|
values = new String[_fieldLengths.length];
|
||||||
|
|
||||||
int lastIndex = 0;
|
int lastIndex = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user