fix wrong iteration when getting back terms

This commit is contained in:
kimchy 2010-02-25 21:34:41 +02:00
parent a8af609eba
commit e70bec79cd
1 changed files with 1 additions and 1 deletions

View File

@ -101,9 +101,9 @@ public class ShardTermsResponse extends BroadcastShardOperationResponse {
out.writeUTF(entry.getKey());
out.writeInt(entry.getValue().size());
for (TObjectIntIterator<String> it = entry.getValue().iterator(); it.hasNext();) {
it.advance();
out.writeUTF(it.key());
out.writeInt(it.value());
it.advance();
}
}
}