Skip to content

Commit

Permalink
Use StoredTabletFile.of to create new instance
Browse files Browse the repository at this point in the history
  • Loading branch information
dlmarion committed Jan 8, 2025
1 parent acfa49f commit 45bd662
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -310,8 +310,8 @@ ReferencedTabletFile toReferencedTabletFile() {
}

StoredTabletFile toStoredTabletFile() {
return new StoredTabletFile(new TabletFileCq(new Path(URI.create(path)),
new Range(decodeRow(startRow), true, decodeRow(endRow), false)));
return StoredTabletFile.of(new Path(URI.create(path)),
new Range(decodeRow(startRow), true, decodeRow(endRow), false));
}
}

Expand Down

0 comments on commit 45bd662

Please sign in to comment.