> +       
> +                             // TODO make an async interface instead of 
> re-wrapping
> +                             @Override
> +                             public ListenableFuture<NodeMetadata> 
> apply(final NodeMetadata from) {
> +                                     return userExecutor.submit(new 
> Callable<NodeMetadata>() {
> +                                             public NodeMetadata call() 
> throws Exception {
> +                                 suspendNode(from.getId());
> +                                                     return from;
> +                                             }
> +                                             public String toString() {
> +                                                     return "suspendNode(" + 
> from.getId() + ")";
> +                                             }
> +                                     });
> +                             }
> +
> +            }, userExecutor, null, logger, "suspendNodesMatching(" + filter 
> + ")"));

Please fix indenting and rename to `suspendedNodes`

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/419/files#r14141489

Reply via email to