Skip to content

Commit 192f9ee

Browse files
committed
Changed RebalanceDatasetTask to have map called as (map(Chunk[]) instead of map(Chk...) to avoid compile warning.
1 parent fc11b8d commit 192f9ee

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/java/water/fvec/RebalanceDataSet.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,9 @@ private void rebalanceChunk(Vec srcVec, Chunk chk){
118118
assert dst._len2 == chk._len:"len2 = " + dst._len2 + ", _len = " + chk._len;
119119
dst.close(dst.cidx(),_fs);
120120
}
121-
@Override public void map(Chunk... chk){
122-
for(int i = 0; i < chk.length; ++i)
123-
rebalanceChunk(_srcVecs[i],chk[i]);
121+
@Override public void map(Chunk [] chks){
122+
for(int i = 0; i < chks.length; ++i)
123+
rebalanceChunk(_srcVecs[i],chks[i]);
124124
}
125125
}
126126
}

0 commit comments

Comments
 (0)