Skip to content

Commit

Permalink
#61 Do not accept null values in RDFInFilter list
Browse files Browse the repository at this point in the history
  • Loading branch information
mdesalvo committed May 22, 2019
1 parent d0d224c commit 70c89b9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions RDFSharp/Query/Mirella/Algebra/Filters/RDFInFilter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ public RDFInFilter(RDFPatternMember termToSearch, List<RDFPatternMember> inTerms
{
this.TermToSearch = termToSearch;
this.InTerms = inTerms ?? new List<RDFPatternMember>();
//Do not accept null values in input list
this.InTerms.RemoveAll(t => t == null);
}
else
{
Expand Down

0 comments on commit 70c89b9

Please sign in to comment.