catalog.addContentType(ContentType.createContentType(catalog, id,
node.get(ContentType.PREF_USER_DEFINED__NAME, ContentType.EMPTY_STRING),
(byte) 0, new String[0], new String[0], node.get(ContentType.PREF_USER_DEFINED__BASE_TYPE_ID, null), null, Collections.emptyMap(),
null));
}
<BUG>for (int i = 0; i < allContentTypeCEs.length; i++)
if (allContentTypeCEs[i].getName().equals("file-association")) //$NON-NLS-1$
registerFileAssociation(allContentTypeCEs[i]);
applyPreferences();</BUG>
}

catalog.addContentType(ContentType.createContentType(catalog, id,
node.get(ContentType.PREF_USER_DEFINED__NAME, ContentType.EMPTY_STRING),
(byte) 0, new String[0], new String[0], node.get(ContentType.PREF_USER_DEFINED__BASE_TYPE_ID, null), null, Collections.emptyMap(),
null));
}
for (IConfigurationElement allContentTypeCE : allContentTypeCEs)
if (allContentTypeCE.getName().equals("file-association")) //$NON-NLS-1$
registerFileAssociation(allContentTypeCE);
applyPreferences();
}
