2 Feb
2007
2 Feb
'07
12:29 p.m.
Hi everyone, I can see the following API in LucenePluginAPI: public int rebuildIndex(XWiki wiki, Context context) I can see 2 problems with that: 1) I don't see the need for exposing the context, especially as it's known internally by the plugin. 2) Passing both the context and the wiki object seems redundant as it's possible to call context.getXWiki() I'm thus proposing to deprecate this method and instead replace it with: public int rebuildIndex() Ok for everyone? Thanks -Vincent ___________________________________________________________________________ Yahoo! Mail r�invente le mail ! D�couvrez le nouveau Yahoo! Mail et son interface r�volutionnaire. http://fr.mail.yahoo.com