> +   }
> +   
> +   /**
> +    * @return LoadBalancer The LoadBalancer created in this example
> +    */
> +   private LoadBalancer getLb() {
> +      for (LoadBalancer ls : lbApi.list().concat()) {
> +         if (ls.getName().startsWith(Constants.NAME)) {
> +            return ls;
> +         }
> +      }
> +
> +      throw new RuntimeException(Constants.NAME + " not found. Run the 
> CreateInstance example first.");
> +   }
> +
> +   private boolean testDatabase(Instance instance) throws TimeoutException {

There needs to be a method comment for this. What is this method really doing? 
Why is it doing that SELECT 3+5?

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

Reply via email to