Closed ariannab closed 6 years ago
Running Toradocu on class org.apache.commons.collections4.functors.AllPredicate produces the following condition:
org.apache.commons.collections4.functors.AllPredicate
"returnTag": { "comment": "true if all decorated predicates return true.", "kind": "RETURN", "condition": "target.getPredicates()==true ? result == true : result == false" },
The guard attempts a non-compilable comparison between the result of a call to method target.getPredicates() and the value true.
target.getPredicates()
true
The same problem is encountered on classes org.apache.commons.collections4.functors.AndPredicate and org.apache.commons.collections4.functors.NonePredicate
org.apache.commons.collections4.functors.AndPredicate
org.apache.commons.collections4.functors.NonePredicate
Solved by #226.
Running Toradocu on class
org.apache.commons.collections4.functors.AllPredicate
produces the following condition:The guard attempts a non-compilable comparison between the result of a call to method
target.getPredicates()
and the valuetrue
.