You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Jesse Glick <je...@sun.com> on 2006/06/01 21:58:50 UTC
Re: svn commit: r409344 - /ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/condition/AntVersion.java
kevj@apache.org wrote:
> URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/condition/AntVersion.java?rev=409344&r1=409343&r2=409344&view=diff
> + if (vs.equals("1.7.2")) return 17.2f;
This will look funny when Ant 1.10 is released. :-) 110.0f?
BTW using == on floats is a little scary. I guess in this case the
values will always be compile-time constants.
-J.
--
jesse.glick@sun.com x22801 netbeans.org ant.apache.org
http://google.com/search?q=e%5E%28pi*i%29%2B1
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org
Re: svn commit: r409344 - /ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/condition/AntVersion.java
Posted by Jesse Glick <je...@sun.com>.
Jesse Glick wrote:
> This will look funny when Ant 1.10 is released. :-) 110.0f?
>
> BTW using == on floats is a little scary. I guess in this case the
> values will always be compile-time constants.
Ignore; didn't see your rewrite to DeweyDecimal and somehow got stuck
looking at an older version.
-J.
--
jesse.glick@sun.com x22801 netbeans.org ant.apache.org
http://google.com/search?q=e%5E%28pi*i%29%2B1
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org