> + }
> + });
> + } catch (Throwable e) {
> + logger.error("Can't find vm", e);
> + }
> + return vms;
> + }
> +
> + @Override
> + public Iterable<VirtualMachine> listNodes() {
> + Closer closer = Closer.create();
> + VSphereServiceInstance instance = serviceInstance.get();
> + closer.register(instance);
> +
> + try {
> + try {
General comment: Use the java 7 try-with-resources for all the closer stuff?
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/61/files#r18061453