ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Hatcher" <jakarta-...@ehatchersolutions.com>
Subject Re: cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional PropertyFile.java
Date Thu, 01 Nov 2001 01:03:15 GMT
Doh!  I guess this one is my fault, sorry about that.

I started to look into and then read further and saw you had fixed it.
Thanks Diane.

    Erik


----- Original Message -----
From: <holtdl@apache.org>
To: <jakarta-ant-cvs@apache.org>
Sent: Wednesday, October 31, 2001 5:50 PM
Subject: cvs commit:
jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional
PropertyFile.java


> holtdl      01/10/31 14:50:21
>
>   Modified:    src/main/org/apache/tools/ant/taskdefs/optional
>                         PropertyFile.java
>   Log:
>   Fix increment/decrement bug.
>   PR: 4549
>
>   Revision  Changes    Path
>   1.10      +2 -2
jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/PropertyFile.jav
a
>
>   Index: PropertyFile.java
>   ===================================================================
>   RCS file:
/home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/Proper
tyFile.java,v
>   retrieving revision 1.9
>   retrieving revision 1.10
>   diff -u -r1.9 -r1.10
>   --- PropertyFile.java 2001/10/28 21:30:18 1.9
>   +++ PropertyFile.java 2001/10/31 22:50:21 1.10
>   @@ -546,10 +546,10 @@
>                    newValue = value;
>                }
>                else if (m_operation == Operation.INCREMENT_OPER) {
>   -                newValue += value;
>   +                newValue = ++value;
>                }
>                else if (m_operation == Operation.DECREMENT_OPER) {
>   -                newValue -= value;
>   +                newValue = --value;
>                }
>                m_value = fmt.format(newValue);
>            }
>
>
>
>
> --
> To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>
>
>


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


Mime
View raw message