>     }
>  
>     @Provides
>     @Singleton
>     @Memoized
>     public Supplier<Map<URI, ? extends Hardware>> provideHardwaresMap(
> -           final Supplier<Set<? extends Hardware>> hardwares) {
> -      return new Supplier<Map<URI, ? extends Hardware>>() {
> -         @Override
> -         public Map<URI, ? extends Hardware> get() {
> -            return uniqueIndex(hardwares.get(), new Function<Hardware, 
> URI>() {
> -               @Override
> -               public URI apply(Hardware input) {
> -                  return input.getUri();
> -               }
> -            });
> -         }
> -      };
> +           AtomicReference<AuthorizationException> authException,
> +           final Supplier<Set<? extends Hardware>> hardwares,

If it's `hardwares` here (and not e.g. `hardwareSet`), how about `hardwareMap` 
-> `hardwares` above?

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

Reply via email to