ICompressProgressInfo progress) throws IOException {
if (numInStreams != bindInfo.InStreams.size() || numOutStreams != bindInfo.OutStreams.size())
throw new IllegalArgumentException("internal error: numInStreams != _bindInfo.InStreams.size() || numOutStreams != _bindInfo.OutStreams.size()");
int mainCoderIndex = -1;
for (int i=0; i<coders.size(); i++)
<BUG>if (((STCoderInfo)coders.get(i)).IsMain) {
mainCoderIndex = i;</BUG>
break;
}
if (mainCoderIndex < 0)

ICompressProgressInfo progress) throws IOException {
if (numInStreams != bindInfo.InStreams.size() || numOutStreams != bindInfo.OutStreams.size())
throw new IllegalArgumentException("internal error: numInStreams != _bindInfo.InStreams.size() || numOutStreams != _bindInfo.OutStreams.size()");
int mainCoderIndex = -1;
for (int i=0; i<coders.size(); i++)
if ((coders.get(i)).IsMain) {
mainCoderIndex = i;
break;
}
if (mainCoderIndex < 0)
