velocity-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Romianowski <antarap...@gmx.de>
Subject Re: OT: MVC Purity :-)
Date Thu, 08 Jan 2004 19:14:29 GMT
> What I don't like much is having:
> 
>   if (Environment.getEnvironment().isSimpleMathInForce()) {
>     // classic VM evaluation rules
>   } else {
>     // newfangled FP arithmetic
>   }

You would simply use two different Implementations of MathUtils.java
(included in the patch)...

Regards
Peter

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


Mime
View raw message