Skip to content

Commit 4e77ace

Browse files
chore: stop using bleeding edge guava features (#113)
* chore: stop using bleeding edge guava features * simplify * minimize chagnes
1 parent aed1d10 commit 4e77ace

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/models/DefaultRowAdapter.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,8 @@ public Row finishRow() {
149149
sortedCells = currentFamilyCells.build();
150150
} else {
151151
// Normal path: concatenate the cells order by family.
152-
ImmutableList.Builder<RowCell> sortedCellsBuilder =
153-
ImmutableList.builderWithExpectedSize(totalCellCount);
152+
// TODO: use builderWithExpectedSize(totalCellCount) when it stabilizes
153+
ImmutableList.Builder<RowCell> sortedCellsBuilder = ImmutableList.builder();
154154

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

0 commit comments

Comments
 (0)