Skip to content

Commit 491d0aa

Browse files
anidotnetCopilot
andauthored
Update nitrite/src/main/java/org/dizitart/no2/filters/ElementMatchFilter.java
Co-authored-by: Copilot <[email protected]>
1 parent dd9689a commit 491d0aa

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

nitrite/src/main/java/org/dizitart/no2/filters/ElementMatchFilter.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,10 @@ private List<?> intersect(List<?> list1, List<?> list2) {
167167
result.add(item);
168168
}
169169
}
170+
// Explicitly handle intersection of null values
171+
if (list1.contains(null) && list2.contains(null)) {
172+
result.add(null);
173+
}
170174
return result;
171175
}
172176

0 commit comments

Comments
 (0)