From: Oskar W. <os...@it...> - 2007-01-30 07:53:48
|
I have a quite specific code question, but it seems this list may be the place to send it anyway. When writing a small haggle test application, I never got my DOListener called (added using addListener(...) in the AppInterface provided to appInit(...)). After a bit of debugging I found that there was never anything inserted into the dofilter_listeners HashMap in AbstractDataManager. Adding a dofilter_listeners.put(listener, filter) in the synchronized block of addListener(...) in AbstractDataManager thus made it work. My question is if I can commit this small change or if there is some alternative method of adding data object listeners so that I should leave AbstractDataManager alone? /Oskar |