@ -762,23 +762,20 @@ public class RowCollection implements Iterable<Row.Entry> {
inti=chunkcount-2;
inti=chunkcount-2;
finallongt=System.currentTimeMillis();// for time-out
finallongt=System.currentTimeMillis();// for time-out
intd=0;
intd=0;
booleanu=true;
try{
try{
while(i>=0){
while(i>=0){
if(match(i,i+1)){
if(match(i,i+1)){
removeRow(i+1,true);
removeRow(i+1,true);
d++;
d++;
if(i+1<chunkcount-1)u=false;
}
}
i--;
i--;
if(System.currentTimeMillis()-t>60000){
if(System.currentTimeMillis()-t>60000){
thrownewRuntimeException("uniq() time-out at "+i+" (backwards) from "+chunkcount+" elements after "+(System.currentTimeMillis()-t)+" milliseconds; "+d+" deletions so far");
Log.logWarning("RowCollection","uniq() time-out at "+i+" (backwards) from "+chunkcount+" elements after "+(System.currentTimeMillis()-t)+" milliseconds; "+d+" deletions so far");