> +      throw new RuntimeException(Constants.NAME + " not found. Run the 
> CreateInstance example first.");
> +   }
> +
> +   private void createDatabase(Instance instance) throws TimeoutException {
> +      System.out.println("Create Database");
> +
> +      boolean result = databaseApi.create(Constants.NAME);
> +      System.out.println("  " + result);
> +   }
> +
> +   /**
> +    * Always close your service when you're done with it.
> +    */
> +   @SuppressWarnings("deprecation")
> +   public void close() {
> +      closeQuietly(api);

closeQuietly() is deprecated. It needs to be removed from all of the Trove 
examples. See the Servers examples for how to do close now.

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

Reply via email to