We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aed1d10 commit 4e77aceCopy full SHA for 4e77ace
google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/models/DefaultRowAdapter.java
@@ -149,8 +149,8 @@ public Row finishRow() {
149
sortedCells = currentFamilyCells.build();
150
} else {
151
// Normal path: concatenate the cells order by family.
152
- ImmutableList.Builder<RowCell> sortedCellsBuilder =
153
- ImmutableList.builderWithExpectedSize(totalCellCount);
+ // TODO: use builderWithExpectedSize(totalCellCount) when it stabilizes
+ ImmutableList.Builder<RowCell> sortedCellsBuilder = ImmutableList.builder();
154
155
for (ImmutableList.Builder<RowCell> familyCells : cellsByFamily.values()) {
156
sortedCellsBuilder.addAll(familyCells.build());
0 commit comments