> +            new Function<NodeMetadata, ListenableFuture<? extends 
> NodeMetadata>>() {
> +       
> +                     // 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 {
> +                             rebootNode(from.getId());
> +                                             return from;
> +                                     }
> +                                     public String toString() {
> +                                             return "rebootNode(" + 
> from.getId() + ")";
> +                                     }
> +                             });
> +                     }         
> +

Please use 3-space indenting here.

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

Reply via email to