diff --git a/fdb-record-layer-core/src/main/java/com/apple/foundationdb/record/sorting/SortedFileReader.java b/fdb-record-layer-core/src/main/java/com/apple/foundationdb/record/sorting/SortedFileReader.java index 8095f99f92..a3e0e3dacc 100644 --- a/fdb-record-layer-core/src/main/java/com/apple/foundationdb/record/sorting/SortedFileReader.java +++ b/fdb-record-layer-core/src/main/java/com/apple/foundationdb/record/sorting/SortedFileReader.java @@ -193,13 +193,13 @@ public V read() throws IOException, GeneralSecurityException { } } entryStream.skipRawBytes(entryStream.readRawVarint32()); - final V record = adapter.readValue(entryStream); + final V value = adapter.readValue(entryStream); recordPosition++; recordSectionPosition++; if (timer != null) { timer.recordSinceNanoTime(SortEvents.Events.FILE_SORT_LOAD_RECORD, startTime); } - return record; + return value; } public int getRecordPosition() {