From 45bd66283d44d6c3ecae26815bca42be4efe009a Mon Sep 17 00:00:00 2001 From: Dave Marion Date: Wed, 8 Jan 2025 19:46:15 +0000 Subject: [PATCH] Use StoredTabletFile.of to create new instance --- .../org/apache/accumulo/core/metadata/StoredTabletFile.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/main/java/org/apache/accumulo/core/metadata/StoredTabletFile.java b/core/src/main/java/org/apache/accumulo/core/metadata/StoredTabletFile.java index dbbef2f9dac..d8f575d041c 100644 --- a/core/src/main/java/org/apache/accumulo/core/metadata/StoredTabletFile.java +++ b/core/src/main/java/org/apache/accumulo/core/metadata/StoredTabletFile.java @@ -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)); } }