diff options
author | Tom Schindl | 2015-11-09 23:15:23 +0000 |
---|---|---|
committer | Tom Schindl | 2015-11-09 23:15:23 +0000 |
commit | 5b85ae08b4f87cc01480c595ba44c14fd1bd6074 (patch) | |
tree | 8601e6f8078b4ea88df891ca25eb90d66ab93e3d | |
parent | 2b40f95162093cbf926a2da92ab2a339bca1072c (diff) | |
download | org.eclipse.efxclipse-5b85ae08b4f87cc01480c595ba44c14fd1bd6074.tar.gz org.eclipse.efxclipse-5b85ae08b4f87cc01480c595ba44c14fd1bd6074.tar.xz org.eclipse.efxclipse-5b85ae08b4f87cc01480c595ba44c14fd1bd6074.zip |
Bug 481789 - Service lookup through the Util-method should recognize service dependencies
-rw-r--r-- | bundles/runtime/org.eclipse.fx.core/src/org/eclipse/fx/core/internal/JavaDSServiceProcessor.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bundles/runtime/org.eclipse.fx.core/src/org/eclipse/fx/core/internal/JavaDSServiceProcessor.java b/bundles/runtime/org.eclipse.fx.core/src/org/eclipse/fx/core/internal/JavaDSServiceProcessor.java index 7e3f13700..3a54b9061 100644 --- a/bundles/runtime/org.eclipse.fx.core/src/org/eclipse/fx/core/internal/JavaDSServiceProcessor.java +++ b/bundles/runtime/org.eclipse.fx.core/src/org/eclipse/fx/core/internal/JavaDSServiceProcessor.java @@ -130,7 +130,10 @@ public class JavaDSServiceProcessor { String value = m.getMainAttributes().getValue("Service-Component"); //$NON-NLS-1$ if (value != null) { Map<String, Component> collect = Stream.of(value.split(",")) //$NON-NLS-1$ - .map(String::trim).map(e -> cl.getResource(e)).map(this::handle).filter(c -> c != null).collect(Collectors.toMap(c -> c.getImplementation().getClazz(), c -> c)); + .map(String::trim) + .map(e -> cl.getResource(e)) + .map(this::handle).filter(c -> c != null) + .collect(Collectors.toMap(c -> c.getImplementation().getClazz(), c -> c)); synchronized (collect) { this.componentCache.putAll(collect); } |