Skip to content

Commit

Permalink
GH-4826: Fix StackOverflow in ContextAwareConnection (#4827)
Browse files Browse the repository at this point in the history
  • Loading branch information
hmottestad authored Oct 30, 2023
2 parents 743673b + 73b0ecf commit a19d5c1
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,8 @@ public <E extends Exception> void add(Iteration<? extends Statement, E> statemen
throws RepositoryException, E {
final IRI insertContext = getInsertContext();
if (isNilContext(contexts)) {
super.add(new ConvertingIteration<Statement, Statement, E>(statementIter) {
super.add((Iteration<? extends Statement, E>) new ConvertingIteration<Statement, Statement, E>(
statementIter) {

@Override
protected Statement convert(Statement st) {
Expand Down

0 comments on commit a19d5c1

Please sign in to comment.