Import dnet-pace-core module in this project and use it after renaming to dhp-pace-core #319

Merged
giambattista.bloisi merged 198 commits from beta_with_pace_core into beta 2023-07-11 14:03:15 +02:00
1 changed files with 2 additions and 19 deletions
Showing only changes of commit e3f86b92c8 - Show all commits

View File

@ -37,30 +37,13 @@ public abstract class AbstractCondition extends AbstractPaceFunctions implements
if (fd.isIgnoreMissing()) {
res.put(fd.getName(), verify(fd, va, vb));
}
else {
} else {
if (va.isEmpty() || vb.isEmpty()) {
res.put(fd.getName(), new ConditionEval(cond, va, vb, -1));
}
else {
} else {
res.put(fd.getName(), verify(fd, va, vb));
}
}
// // if ignoreMissing=true always return undefined (0) in case of missing
// if ((va.isEmpty() || vb.isEmpty()) && fd.isIgnoreMissing()) {
// res.put(fd.getName(), new ConditionEval(cond, va, vb, 0));
// } else {
// if (va.isEmpty()&&vb.isEmpty()) {
// res.put(fd.getName(), new ConditionEval(cond, va, vb, -1));
// }
// else {
// res.put(fd.getName(), verify(fd, va, vb));
// }
// }
}
return res;
}