if (existing == null)
fileSpecMap.put(mappingKey, existing = new HashSet<>());
existing.add(contentType);
}
private int collectMatchingByContents(int valid, IContentType[] subset, List<ContentType> destination, ILazySource contents, Map<String, Object> properties) throws IOException {
<BUG>for (int i = 0; i < subset.length; i++) {
ContentType current = (ContentType) subset[i];
</BUG>
IContentDescriber describer = current.getDescriber();
int status = IContentDescriber.INDETERMINATE;

if (existing == null)
fileSpecMap.put(mappingKey, existing = new HashSet<>());
existing.add(contentType);
}
private int collectMatchingByContents(int valid, IContentType[] subset, List<ContentType> destination, ILazySource contents, Map<String, Object> properties) throws IOException {
for (IContentType element : subset) {
ContentType current = (ContentType) element;
IContentDescriber describer = current.getDescriber();
int status = IContentDescriber.INDETERMINATE;
