I am trying, if statement abb.iscurrentlyy() is set to true then go inside the loop or abb.islately() is true. What is wrong with my if statement? When i set abb.iscurrentlyy() to be false. abb.islately() is set to true. why is abb.iscurrentlyy() going inside the loop even abb.iscurrentlyy() is false.
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.
}
Aucun commentaire:
Enregistrer un commentaire