Skip to content

Commit

Permalink
Fix compilation
Browse files Browse the repository at this point in the history
Two PRs cross in the night, compiler fails. This fixes them up.
  • Loading branch information
nik9000 committed Nov 22, 2023
1 parent a39e04b commit 5f4fb50
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ private void loadBlock(LeafReaderContext ctx, Consumer<TestBlock> test) throws I
assertThat(loader.rowStrideStoredFieldSpec(), equalTo(StoredFieldsSpec.NEEDS_SOURCE));
BlockLoaderStoredFieldsFromLeafLoader storedFields = new BlockLoaderStoredFieldsFromLeafLoader(
StoredFieldLoader.fromSpec(loader.rowStrideStoredFieldSpec()).getLoader(ctx, null),
true
loader.rowStrideStoredFieldSpec().requiresSource() ? SourceLoader.FROM_STORED_SOURCE.leaf(ctx.reader(), null) : null
);
BlockLoader.Builder builder = loader.builder(TestBlock.FACTORY, 1);
storedFields.advanceTo(0);
Expand Down

0 comments on commit 5f4fb50

Please sign in to comment.