Skip to content

Commit

Permalink
Remove redundant assignment
Browse files Browse the repository at this point in the history
`refresh()` updates `this.base`.
  • Loading branch information
findepi committed May 10, 2022
1 parent c1790ee commit e25c37f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,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 e25c37f

Please sign in to comment.