Skip to content

Commit

Permalink
GH-4581 make sure there is always a collection factory
Browse files Browse the repository at this point in the history
Signed-off-by: Jerven Bolleman <jerven.bolleman@sib.swiss>
  • Loading branch information
JervenBolleman committed Apr 23, 2024
1 parent ed38e7c commit 65bae43
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 65bae43

Please sign in to comment.