You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Stefan Bodewig <bo...@apache.org> on 2006/04/25 21:45:17 UTC

Re: [patch] NioFileUtils, FileUtilsAdapter + factory

On Thu, 20 Apr 2006, Matt Benson <gu...@yahoo.com> wrote:

> 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?

+1 on requiring FileUtilsAdapter to be stateless.

Stefan

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