Then don't bother commenting on the rest of these, I need to change them
all to WithCapacity()...



On Tue, Jan 28, 2014 at 3:00 PM, marcel-blonk <notifications@github.com>wrote:

> In src/main/java/org/sagebionetworks/bridge/webapp/ClientUtils.java:
>
> > @@ -451,7 +451,7 @@ public static void exportParticipantData(HttpServletResponse response, Specifica
> >          CSVWriter writer = new CSVWriter(response.getWriter());
> >  		writer.writeNext(headers.toArray(new String[] {}));
> >          for (ParticipantDataRow row : paginatedRowSet.getResults()) {
> > -			List<String> values = Lists.newArrayListWithCapacity(headers.size());
>
> WithCapacity is the correct use here, since you know the exact size this
> list is going to be
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/Sage-Bionetworks/Bridge/pull/79/files#r9249584>
> .
>