for (j=0; j<numInStreams; j++, packStreamIndex++) {
final long packSizesPointer;
final int bindPairIndex = folderInfo.FindBindPairForInStream(packStreamIndex);
final int index;
if (bindPairIndex >= 0) {
<BUG>index = ((BindPair)folderInfo.BindPairs.get(bindPairIndex)).OutIndex;
packSizesPointer = folderInfo.UnPackSizes.get(index);</BUG>
} else {
index = folderInfo.FindPackStreamArrayIndex(packStreamIndex);
if (index < 0)

for (j=0; j<numInStreams; j++, packStreamIndex++) {
final long packSizesPointer;
final int bindPairIndex = folderInfo.FindBindPairForInStream(packStreamIndex);
final int index;
if (bindPairIndex >= 0) {
index = (folderInfo.BindPairs.get(bindPairIndex)).OutIndex;
packSizesPointer = folderInfo.UnPackSizes.get(index);
} else {
index = folderInfo.FindPackStreamArrayIndex(packStreamIndex);
if (index < 0)
