Revert "Temporarily disable recognition of standard Map layer."
[gpl/argeo-suite.git] / org.argeo.app.ui / src / org / argeo / app / ui / SuiteApp.java
index 4c4f1bb968b1bf8e012575216256c1bbb147d8e9..e4d40cfa8f77c32a0a8e6f4372c679d368bb870e 100644 (file)
@@ -321,7 +321,6 @@ public class SuiteApp extends AbstractCmsApp implements EventHandler {
                        if (types.size() == 0)
                                throw new IllegalArgumentException("No type found for " + context + " (" + listTypes(context) + ")");
                        String type = types.iterator().next();
-                       // FIXME deals with multiple types
                        if (!byType.containsKey(type))
                                throw new IllegalArgumentException("No component found for " + context + " with type " + type);
                        return byType.get(type).get();