> + imageNameAlt, new
> Function<TemplateBuilderImpl,TemplateBuilderImpl>() {
> + @Override
> + public TemplateBuilderImpl apply(TemplateBuilderImpl input)
> {
> + return input.imageChooser(new Function<Iterable<?
> extends Image>, Image>() {
> + @Override
> + public Image apply(Iterable<? extends Image> input) {
> + return Iterables.find(input, new
> Predicate<Image>() {
> + @Override
> + public boolean apply(Image input) {
> + return input.getName()!=null &&
> input.getName().contains("alternate");
> + }
> + });
> + }
> + });
> + }
> + });
See comment above...this test seems almost impossible to decipher :-(
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/202/files#r7621160