Skip to content
Permalink
Browse files
preventing unnecessary iterations
  • Loading branch information
retog committed Jul 9, 2016
1 parent 03f02db commit aa2c945342f9ea7ee598e1240c8582eae2a9c0d8
Showing 1 changed file with 2 additions and 1 deletion.
@@ -304,7 +304,8 @@ private Set<ImmutableGraph> expandContext(Collection<Triple> startContext) throw
if (newTripleAdded) {
//look for more results
expandedContexts.addAll(expandContext(expandedContext));
//expandedContexts.add(expandedContext);
//continued iteration obsoleted by recursion
break;
}
}

0 comments on commit aa2c945

Please sign in to comment.