{
@Override
public UITabSpec apply(UITab tab)
{
String base = tab.contentIsHtml() ? HTML_UI_TAB_BASE_URL : TEXT_UI_TAB_BASE_URL;
return new UITabSpec(tab.getName(), base + index.getAndIncrement(), tab.contentIsHtml(), tab.getUITabType());
}
}
);
names = Lists.newArrayList(names); // move out of Google's TransformingRandomAccessList