我正在尝试:如果abb.iscurrentlyy()返回true,则进入if语句或abb.islately()为true。
我的 if 语句有什么问题?当我设置abb.iscurrentlyy()为false时。abb.islately()设置为真。为什么abb.iscurrentlyy()进入循环甚至abb.iscurrentlyy()是假的?
if (abb.iscurrentlyy() || abb.islately()) {
if (reqFiles != null) {
for (int i = 0; i < reqFiles.length; i++) {
Future<ExecResult> lcukv = executor.submit(worker);
executionFutureException.add(lcukv);
}
}
} else { // do if condition is false.
}
Run Code Online (Sandbox Code Playgroud)