I'm so ashamed. :)
-Matt
--- [EMAIL PROTECTED] wrote:
> peterreilly 2005/08/08 02:02:55
>
> Modified:
> src/main/org/apache/tools/ant/taskdefs Ant.java
> Log:
> Replace x == "" with "".equals(x) to check if we
> are
> looking at the empty target
> Obtained from: Alexey Panchenko
>
> Revision Changes Path
> 1.124 +1 -1
> ant/src/main/org/apache/tools/ant/taskdefs/Ant.java
>
> Index: Ant.java
>
>
===================================================================
> RCS file:
>
/home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/Ant.java,v
> retrieving revision 1.123
> retrieving revision 1.124
> diff -u -r1.123 -r1.124
> --- Ant.java 10 Jun 2005 23:06:11 -0000 1.123
> +++ Ant.java 8 Aug 2005 09:02:55 -0000 1.124
> @@ -381,7 +381,7 @@
> addReferences();
>
> if (locals.size() > 0 &&
> !(locals.size() == 1
> - &&
> locals.get(0) == "")) {
> + &&
> "".equals(locals.get(0)))) {
> BuildException be = null;
> try {
> log("Entering " + antFile +
> "...", Project.MSG_VERBOSE);
>
>
>
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
>
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]