<BUG>if (matchIndex > -1) {metadataB = metadataListB.get(matchIndex);</BUG><CONTEXT>Metadata metadataA = metadataListA.get(i);Metadata metadataB = null;writeProfileData(fpsA, i, metadataA, fileId, containerID, numAttachmentsA, PROFILES_A);writeExceptionData(fileId, metadataA, EXCEPTION_TABLE_A);int matchIndex = getMatch(i, metadataListA, metadataListB);<extra_id_0>handledB.add(matchIndex);}if (metadataB != null) {</CONTEXT>
if (matchIndex > -1 && ! handledB.contains(matchIndex)) {metadataB = metadataListB.get(matchIndex);