Skip to content

Commit

Permalink
GH-4899 We should always set a ColletionFactory supplier and allow for
Browse files Browse the repository at this point in the history
specialization.

This way at least one is set.
  • Loading branch information
JervenBolleman committed Apr 23, 2024
1 parent 0e74a66 commit e283cde
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
import java.util.function.Supplier;

import org.eclipse.rdf4j.collection.factory.api.CollectionFactory;
import org.eclipse.rdf4j.collection.factory.impl.DefaultCollectionFactory;
import org.eclipse.rdf4j.query.Dataset;
import org.eclipse.rdf4j.query.algebra.evaluation.EvaluationStrategy;
import org.eclipse.rdf4j.query.algebra.evaluation.TripleSource;
Expand All @@ -27,7 +28,7 @@ public class StrictEvaluationStrategyFactory extends AbstractEvaluationStrategyF
implements FederatedServiceResolverClient {

private FederatedServiceResolver serviceResolver;
protected Supplier<CollectionFactory> collectionFactorySupplier;
protected Supplier<CollectionFactory> collectionFactorySupplier = DefaultCollectionFactory::new;

public StrictEvaluationStrategyFactory() {
}
Expand Down

0 comments on commit e283cde

Please sign in to comment.