Skip to content

Commit

Permalink
remove from the correct list
Browse files Browse the repository at this point in the history
  • Loading branch information
Al Niessner authored and Al Niessner committed Nov 14, 2024
1 parent f78b2f1 commit b8fc96c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public Set<String> nonExistingIds(Collection<String> from_ids)
throws UnsupportedOperationException, IOException {
HashSet<String> results = new HashSet<String>(from_ids);
for (Hit<Object> hit : this.parent.hits().hits()) {
if (from_ids.contains(hit.id())) from_ids.remove(hit.id());
if (from_ids.contains(hit.id())) results.remove(hit.id());
}
return results;
}
Expand Down

0 comments on commit b8fc96c

Please sign in to comment.