Map<ComponentDemoId, Set<IComponentDemoVariantId>> variantsAdded = new HashMap<ComponentDemoId, Set<IComponentDemoVariantId>>();
Iterator<IComponentDemoCategory> categories = registry.getDemoCategories().iterator();
while (categories.hasNext()) {
IComponentDemoCategory aCategory = categories.next();
Iterator<IComponentDemo> componentDemos = aCategory.getComponentDemos().iterator();
while (componentDemos.hasNext()) {
IComponentDemo aComponentDemo = componentDemos.next();
Set<IComponentDemoVariantId> alreadyAddedVariants = variantsAdded.get(aComponentDemo.getId());
if (alreadyAddedVariants == null) {