[gui-dev] Re: [codepatch] A small optimization for SchemaReplyCollectionMapper
Roger Kapsi <[email protected]> Sun, 25 Jul 2004 19:19:38 +0200
| Newsgroups | gmane.network.gnutella.limewire.gui.devel |
|---|---|
| Message-ID | <[email protected]> |
On Jul 25, 2004, at 6:36 PM, Philippe Verdy wrote: > I know that, but I don't think there's any access to the instance > accessor > before the user actually starts an active search, so this > initialization is > delayed after application startup. Huh? :-/ But the initialization is delayed in both cases after application startup. As I said, the static variable gets only initialized if someone calls SchemaReplyCollectionMapper.instance() the first time and this is not different from the current implementation!? Note: SRCM is initialized by MetaFileManager quite early at startup and DaapMediator will make usage of it as well. So this class it's not limited only to searches. http://www.limewire.org/fisheye/viewrep/~raw,r=1.51.2.5/limecvs/daap/ com/limegroup/gnutella/gui/DaapMediator.java Cheers Roger _______________________________________________ gui-dev mailing list [email protected] http://www.limewire.org/mailman/listinfo/gui-dev