> - imageNameAlt, new > Function<TemplateBuilderImpl,TemplateBuilderImpl>() { > - @Override > - public TemplateBuilderImpl apply(TemplateBuilderImpl input) { > - return > input.imageChooser(input.imageChooserFromOrdering(new Ordering<Image>() { > - private int score(Image img) { > - if (img.getName().contains("alternate")) return > 10; > - return 0; > - } > - @Override > - public int compare(Image left, Image right) { > - return score(left) - score(right); > - } > - })); > - } > - }); > + Function<TemplateBuilderImpl,TemplateBuilderImpl> tbSortWithAlternate > = new Function<TemplateBuilderImpl,TemplateBuilderImpl>() {
[minor] see above --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds/pull/207/files#r7710271