You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behavior
Check whether all the values in boolean [] are true. If yes, return true, otherwise return false
要实现的结果是 检查boolean[]中是否全为true, 是则返回true,否则返回false
Actually behavior
Always return true
永远返回true
How to Reproduce
Steps to reproduce the behavior:
已提交pr #10129
Describe the bug
Always return true, code : " !Arrays.asList(new boolean[1]).stream().anyMatch(Boolean.FALSE::equals) "
Impact Code:com.alibaba.nacos.core.distributed.raft.NacosStateMachine#adapterToJRaftSnapshot
line 281
总是返回true,"!Arrays.asList(new boolean[1]).stream().anyMatch(Boolean.FALSE::equals)"
影响代码:com.alibaba.nacos.core.distributed.raft.NacosStateMachine#adapterToJRaftSnapshot
第281行
Expected behavior
Check whether all the values in boolean [] are true. If yes, return true, otherwise return false
要实现的结果是 检查boolean[]中是否全为true, 是则返回true,否则返回false
Actually behavior
Always return true
永远返回true
How to Reproduce
Steps to reproduce the behavior:
已提交pr #10129
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: