OrFilter: Properly handle child matchers that return the original mask. (#10754)
* OrFilter: Properly handle child matchers that return the original mask. This happens when a child matcher is literally true (for example, BooleanVectorValueMatcher). In this case, OrFilter would throw this exception from its call to removeAll while processing the next filter: java.lang.IllegalStateException: 'other' must be a different instance from 'this' Also update the javadocs for VectorValueMatcher to call out that the returned object may be the same as the input mask. * Fix style.
Showing
想要评论请 注册 或 登录