Skip to content

Commit

Permalink
chore: stop using bleeding edge guava features (#113)
Browse files Browse the repository at this point in the history
* chore: stop using bleeding edge guava features

* simplify

* minimize chagnes
  • Loading branch information
igorbernstein2 committed Dec 10, 2019
1 parent aed1d10 commit 4e77ace
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -149,8 +149,8 @@ public Row finishRow() {
sortedCells = currentFamilyCells.build();
} else {
// Normal path: concatenate the cells order by family.
ImmutableList.Builder<RowCell> sortedCellsBuilder =
ImmutableList.builderWithExpectedSize(totalCellCount);
// TODO: use builderWithExpectedSize(totalCellCount) when it stabilizes
ImmutableList.Builder<RowCell> sortedCellsBuilder = ImmutableList.builder();

for (ImmutableList.Builder<RowCell> familyCells : cellsByFamily.values()) {
sortedCellsBuilder.addAll(familyCells.build());
Expand Down

0 comments on commit 4e77ace

Please sign in to comment.