ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martijn Kruithof <...@apache.org>
Subject Re: [patch] NioFileUtils, FileUtilsAdapter + factory (was Re: AW: Adding a methof to StringUtils)
Date Thu, 20 Apr 2006 19:23:03 GMT
Matt Benson schreef:

>Another thought about the factory--it should cache an
>instance of each FileUtils type to minimize object
>creation.  We can either just have it be known that
>FileUtilsAdapter impls should be stateless or have a
>StatelessFileUtilsAdapter interface--if implemented,
>cache, else don't.
>
>thoughts?
>
>-Matt
>
Well I am certainly in favour of keeping FileUtils stateless, by the 
way, didn't you move copying of files to ResourceUtils some time ago?

Martijn

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


Mime
View raw message