Skip to content

Commit

Permalink
Remove redundant assignment (#4755)
Browse files Browse the repository at this point in the history
`refresh()` updates `this.base`.
  • Loading branch information
findepi authored May 16, 2022
1 parent 932ede6 commit c7bd727
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ protected void validate(TableMetadata currentMetadata) {

@Override
public Snapshot apply() {
this.base = refresh();
refresh();
Long parentSnapshotId = base.currentSnapshot() != null ?
base.currentSnapshot().snapshotId() : null;
long sequenceNumber = base.nextSequenceNumber();
Expand Down

0 comments on commit c7bd727

Please sign in to comment.