Fix Codacy warnings in MultiValuedCellSplitOperation
This commit is contained in:
parent
cccf1e55c9
commit
23b643426a
@ -33,7 +33,6 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||||||
|
|
||||||
package com.google.refine.operations.cell;
|
package com.google.refine.operations.cell;
|
||||||
|
|
||||||
import java.io.Serializable;
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Properties;
|
import java.util.Properties;
|
||||||
@ -170,8 +169,6 @@ public class MultiValuedCellSplitOperation extends AbstractOperation {
|
|||||||
if("lengths".equals(_mode)) {
|
if("lengths".equals(_mode)) {
|
||||||
//do split by lengths
|
//do split by lengths
|
||||||
if (_fieldLengths.length >= 0 && _fieldLengths[0] > 0) {
|
if (_fieldLengths.length >= 0 && _fieldLengths[0] > 0) {
|
||||||
Object o = _fieldLengths[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