ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexey Panchenko <alex+n...@olmisoft.com>
Subject Ant task
Date Mon, 08 Aug 2005 04:06:05 GMT
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() ?

-- 
Best regards,
 Alexey                          mailto:alex+news@olmisoft.com


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message