>     @Override
>     public Image getImage(String id) {
> -      return Objects.firstNonNull(api.getImageApi(userProject.get()).get(id),
> -                                  
> Objects.firstNonNull(api.getImageApi(DEBIAN_PROJECT).get(id),
> -                                          
> api.getImageApi(CENTOS_PROJECT).get(id)));
> +      Image image = api.getImageApi(userProject.get()).get(id);

I like this as it makes it obvious how expensive this is!

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

Reply via email to