You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Erik Hatcher <ja...@ehatchersolutions.com> on 2001/11/01 02:03:15 UTC
Re: cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional PropertyFile.java
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: <ho...@apache.org>
To: <ja...@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: <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>