public static Collection<CommentJsonBean> expandedShortBeans(final Collection<Comment> comments, final JiraBaseUrls urls,
final ProjectRoleManager projectRoleManager, final DateTimeFormatterFactory dateTimeFormatterFactory,
final RendererManager rendererManager, final String rendererType, final IssueRenderContext renderContext, final String expand,
final ApplicationUser loggedInUser, final EmailFormatter emailFormatter)
{
Collection<CommentJsonBean> result = Lists.newArrayListWithCapacity(comments.size());
for (Comment from : comments)
{
result.add(expandedShortBean(from, urls, projectRoleManager, dateTimeFormatterFactory, rendererManager, rendererType, renderContext, expand, loggedInUser, emailFormatter));
}
return Lists.newArrayList(result);
}