Github user geomacy commented on a diff in the pull request:
https://github.com/apache/brooklyn-server/pull/443#discussion_r88690173
--- Diff:
core/src/main/java/org/apache/brooklyn/core/effector/Effectors.java ---
@@ -183,14 +183,18 @@ private EffectorBuilder(Class<T> returnType, String
effectorName) {
public static TaskAdaptable<List<?>> invocationParallel(Effector<?>
eff, Map<?,?> params, Iterable<? extends Entity> entities) {
List<TaskAdaptable<?>> tasks = new ArrayList<TaskAdaptable<?>>();
for (Entity e: entities) tasks.add(invocation(e, eff, params));
- return Tasks.parallel("invoking "+eff+" on "+tasks.size()+"
node"+(Strings.s(tasks.size())), tasks.toArray(new
TaskAdaptable[tasks.size()]));
+ return Tasks.parallel(
--- End diff --
Hooray! readable code! ð ð
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---