Skip to content

Commit

Permalink
code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
hmottestad committed Nov 7, 2023
1 parent 593e6a2 commit ffdfcb2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ public void add(CloseableIteration<? extends Statement> statementIter, Resource.
throws RepositoryException {
final IRI insertContext = getInsertContext();
if (isNilContext(contexts)) {
super.add(new ConvertingIteration<Statement, Statement>(statementIter) {
super.add(new ConvertingIteration<Statement, Statement>(statementIter) {

@Override
protected Statement convert(Statement st) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ private void closeInternal(boolean maybeCalledAsync) {
}

@Override
public void close() throws IOException {
public void close() {
closeInternal(true);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ private SailRepository forwardChain(SailConnection shapesSailConnection) {
}
}

private SailRepository forwardChain(CloseableIteration<? extends Statement, ? extends RDF4JException> statements) {
private SailRepository forwardChain(CloseableIteration<? extends Statement> statements) {
if (!statements.hasNext()) {
return new SailRepository(new MemoryStore());
}
Expand Down

0 comments on commit ffdfcb2

Please sign in to comment.