X-Git-Url: https://git.argeo.org/?a=blobdiff_plain;f=org.argeo.app.ui%2Fsrc%2Forg%2Fargeo%2Fapp%2Fui%2FSuiteApp.java;h=e4d40cfa8f77c32a0a8e6f4372c679d368bb870e;hb=2d60b6301c529166c61075cab1bc6fec36b4ed30;hp=4c4f1bb968b1bf8e012575216256c1bbb147d8e9;hpb=97055245ef1ad8a2ee9ed8d6e26110ee11b05ea1;p=gpl%2Fargeo-suite.git diff --git a/org.argeo.app.ui/src/org/argeo/app/ui/SuiteApp.java b/org.argeo.app.ui/src/org/argeo/app/ui/SuiteApp.java index 4c4f1bb..e4d40cf 100644 --- a/org.argeo.app.ui/src/org/argeo/app/ui/SuiteApp.java +++ b/org.argeo.app.ui/src/org/argeo/app/ui/SuiteApp.java @@ -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();