From: Jing S. <gar...@gm...> - 2007-01-30 17:34:58
|
Hi, Yes, feel free to insert the code. This was addressed in a benchmarking branch I was working out of but I haven't had time to merge code. Go ahead and add the fix. -Jing On 1/30/07, Oskar Wibling <os...@it...> wrote: > 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 > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Haggle-arch mailing list > Hag...@li... > https://lists.sourceforge.net/lists/listinfo/haggle-arch > |