Closed ariannab closed 6 years ago
The symmetric problem (target object compared with boolean value) is found in class org.apache.commons.collections4.functors.AnyPredicate
"returnTag": {
"comment": "true if any decorated predicate return true.",
"kind": "RETURN",
"condition": "target==true ? result == true : result == false"
},
Fixed by #226.
Running Toradocu on class
org.apache.commons.collections4.comparators.ComparatorChain
produces the following condition:The correct condition would be the empty one. Anyway, the real issue is that the produced condition is not even compilable, because it is attempting to compare a boolean result with the target object.