Skip to content
Permalink
Browse files
Better lambdas.
  • Loading branch information
garydgregory committed Oct 25, 2020
1 parent 2d8cb65 commit fe5b3616256595245a6fbe77ceac194a80c2177e
Showing 2 changed files with 2 additions and 2 deletions.
@@ -58,7 +58,7 @@ class JsonLdGraphImpl extends AbstractJsonLdGraphLike<Triple> implements JsonLdG

@Override
public void clear() {
filteredGraphs(graphName).forEach(l -> l.clear());
filteredGraphs(graphName).forEach(List::clear);
}

@Override
@@ -129,7 +129,7 @@ public void close() {

@Override
public void clear() {
filteredGraphs(null).forEach(s -> s.clear());
filteredGraphs(null).forEach(List::clear);
// In theory we could use
// rdfDataSet.clear();
// but then we would need to also do

0 comments on commit fe5b361

Please sign in to comment.