On Tue, 4 Feb 2003 09:42, Noel J. Bergman wrote: > > - I see an inner class. these not considered evil anymore? Why not? > > Why would anyone consider inner classes evil? They are an absolutely > appropriate and useful language feature when used properly.
because most people dont know the side-effects/design features. They can screw with ctor chains and silently upgrade private fields to public > > - there can only be one listener instead of the multiple listeners > > I haven't looked (at all) at the code, but if it allows only a single > listener, then it should throw an exception if a second add is attempted: > > public synchronized void add<T>Listener(<T>Listener listener) > throws java.util.TooManyListenersException; It is not a bean and does not follow bean convetions. -- Cheers, Peter Donald *------------------------------------* | God has no religion - Gandhi | *------------------------------------* --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]