Alexey Panchenko wrote:
Hi all,
jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Ant.java:
383: if (locals.size() > 0 && !(locals.size() == 1
384: && locals.get(0) == "")) {
Is there a reason why the Strings are compared using == here and not
equals() ?
I think the logic is that we're checking for a "null" or empty String,
using equals for a deep comparison is overkill in this situation no?
Could be wrong, but does it create a problem downstream?
Kev
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]