> +      List<Container> containers = containerRepository.findAllContainers();
> +      ImmutableList.Builder<String> result = ImmutableList.builder();
> +      for (Container c : containers) {
> +         result.add(c.getName());
> +      }
> +      return result.build();
> +   }
> +
> +   @Override
> +   @Transactional
> +   public boolean createContainerInLocation(String name, Location location,
> +         CreateContainerOptions createContainerOptions) {
> +      logger.debug("Creating container %s", name);
> +      jdbcContainerNameValidator.validate(name);
> +      containerRepository.create(Container.builder().name(name).build());
> +      return true;

Does this method always return `true`? Will it throw an exception if it fails? 
Why returning a boolean then and not just `void`?

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

Reply via email to