On 8/9/07, Robert Burrell Donkin <[EMAIL PROTECTED]> wrote: > On 8/9/07, Stefano Bagnara <[EMAIL PROTECTED]> wrote: > > Robert Burrell Donkin ha scritto: > > > On 8/9/07, Stefano Bagnara <[EMAIL PROTECTED]> wrote: > > > https://issues.apache.org/jira/browse/JSIEVE-10 suggests removing the > > > singletons and injecting the dependency instead. not sure how much > > > work that is likely to be. > > > > > > - robert > > > > As a personal approach I try to avoid static fields (singletons, thread > > locals and anything else using static fields) at all costs, but I know > > I'm a bit extreme at this. > > same here
+1 and not extreme at all. this is considered a code smell broadly. for example, it hinders proper unit testing. Bernd --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]