My question would then be: Why do a have a factory method that instantiates a new instance of FileUtils every time rather than a singleton, and an instance() method?
Are you expecting FileUtils to be instantiated for different OS's simultaneously? --DD -----Original Message----- From: Erik Hatcher [mailto:[EMAIL PROTECTED] Sent: Thursday, April 18, 2002 7:37 AM To: Ant Developers List Subject: Re: Persistent global properties - are they going to be avail able? Good answer! Thanks for clarifying. Erik ----- Original Message ----- From: "Stefan Bodewig" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, April 18, 2002 2:54 AM Subject: Re: Persistent global properties - are they going to be avail able? > On Wed, 17 Apr 2002, Erik Hatcher <[EMAIL PROTECTED]> > wrote: > > > Speaking of which, why aren't the methods there static? Why did we > > make it so you have to have an instance of FileUtils? > > because we once thought that we'd need os specific subclasses - one > that is aware of resource forks in copyFile for Macs for example. > This need may still come up ... > > Stefan > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
