> +
> + return new LocationsSupplier() {
> +
> + @Override
> + public Set<? extends Location> get() {
> + return
> FluentIterable.from(adapter.listLocations()).transform(transformer).toSet();
> + }
> +
> + @Override
> + public String toString() {
> + return toStringHelper(adapter).add("method",
> "listLocations").toString();
> + }
> + };
> + }
> +
> + });
Do you really need to override the default behavior? The following should just
work:
```java
install(new LocationsFromComputeServiceAdapterModule<Server, Hardware, Image,
VirtualDataCenter>() {});
```
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/72/files#r17229268