未验证 提交 45e02ec1 编写于 作者: G ggndnn 提交者: GitHub

Fix inconsistent logic in PrefixMatch (#5681)

Co-authored-by: Nggnn <ggnn@ggnndeMacBook-Pro.local>
Co-authored-by: Nkezhenxu94 <kezhenxu94@apache.org>
上级 06bec028
......@@ -44,7 +44,7 @@ public class PrefixMatch implements IndirectMatch {
if (junction == null) {
junction = ElementMatchers.nameStartsWith(prefix);
} else {
junction = junction.and(ElementMatchers.nameStartsWith(prefix));
junction = junction.or(ElementMatchers.nameStartsWith(prefix));
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册