> +      } catch (Exception e) {
> +         logger.error("Can't clone vm: " + e.toString(), e);
> +         propagate(e);
> +      }
> +      return checkNotNull(cloned, "cloned");
> +   }
> +
> +   private static void sleep(long time) {
> +      try {
> +         Thread.sleep(time);
> +      } catch (InterruptedException e) {
> +
> +      }
> +   }
> +
> +   private ResourcePool tryFindResourcePool(Folder folder, String hostname) {

In general, the "tryFind" methods return an Optional. Consider changing the 
return type.

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

Reply via email to