> } > > /** > * Always close your service when you're done with it. > - * @throws IOException > + * > + * Note that closing quietly like this is not necessary in Java 7. > + * You would use try-with-resources in the main method instead. > + * When jclouds switches to Java 7 the try/catch block below can be > removed.
@demobox I made the handling of close consistent across all Rackspace examples in https://github.com/jclouds/jclouds-examples/pull/22 Have a look. --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds-examples/pull/21/files#r6954201
