Open ariannab opened 6 years ago
The missing check over the result type (2nd problem) is solved by #226.
The current translation is:
((args[0]==null)==false) && (args[0].isEmpty()) ? methodResultID == true : methodResultID == false
Which is more correct than the original one, but it is still incorrect. Indeed, Toradocu fails to understand that the last part of the comment (or null
) still refers to the map.
Running Toradocu on class
org.apache.commons.collections4.MultiMapUtils
produces the following condition:This highlights 2 problems:
(((args[0]==null)==false) && args[0].isEmpty()) || args[0]==null ? result == true
boolean
in this case) shouldn't be compared tonull