Skip to content

Commit

Permalink
fix attachValues
Browse files Browse the repository at this point in the history
  • Loading branch information
Reuven Lax committed Feb 21, 2020
1 parent 4ddf731 commit 778bf70
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -749,9 +749,9 @@ public <T> Builder addIterable(Iterable<T> values) {
// method is largely
// used internal to Beam.
@Internal
public Row attachValues(List<Object> values) {
checkState(values.isEmpty());
return new RowWithStorage(schema, values);
public Row attachValues(List<Object> attachedValues) {
checkState(this.values.isEmpty());
return new RowWithStorage(schema, attachedValues);
}

public int nextFieldId() {
Expand Down

0 comments on commit 778bf70

Please sign in to comment.