Hi Roger, I don't remember the originale reason for that class (maybe Greg could) ...
You (or someone other) uses it in a multi thread environment ? If Yes, maybe could be a feature nice to have and we could get some time to finish its implementation (and related test case) ... What do you think ? Bye Il 13/Mag/2017 08:04, "Roger Whitcomb" <rwhitc...@apache.org> ha scritto: > Hi all, > > I'm looking at WTKListenerList.java and it says it was implemented to > add thread-safety to the ListenerList abstract class. But, AFAICT it does > no such thing; it's simply an alias for ListenerList<T>. Is this something > that just never got implemented (the "thread safety" aspect)? Or is thread > safety not needed in these cases? Or ....? > > Trying to simplify code, for 2.1, so I'm thinking about getting rid of > it, unless I need to worry about thread safety not being in here.... > > Thanks, > ~Roger > > /** > * This is a customized subclass of ListenerList that adds thread-safety > checks > * for the WTK components. > */ > public class WTKListenerList<T> extends ListenerList<T> { > // empty block > } > >