rem: gMessageClassificator.analyzeMessage(msgHdr, i, whiteListDirectory); 
add: msgClassifier.analyzeMessage(msgHdr, whiteListDirectory); 
context: function filterFolderForJunk(){  MsgJunkMailInfo(true);  var view = GetDBView();  getJunkmailComponent();  // need to expand all threads, so we analyze everything  view.doCommand(nsMsgViewCommandType.expandAll);  var treeView = view.QueryInterface(Components.interfaces.nsITreeView);  var count = treeView.rowCount;  if (!count)    return;  // retrieve server and its spam settings via the header of an arbitrary message  var tmpMsgURI = view.getURIForViewIndex(0);  var tmpMsgHdr = messenger.messageServiceFromURI(tmpMsgURI).messageURIToMsgHdr(tmpMsgURI);  var spamSettings = tmpMsgHdr.folder.server.spamSettings;  // if enabled in the spam settings, retrieve whitelist addressbook  var whiteListDirectory = null;  if (spamSettings.useWhiteList && spamSettings.whiteListAbURI)    whiteListDirectory = RDF.GetResource(spamSettings.whiteListAbURI).QueryInterface(Components.interfaces.nsIAbMDBDirectory);  gMessageClassificator.init();  for (var i = 0; i < count; i++) {    try    {      var msgURI = view.getURIForViewIndex(i);    }    catch (ex)    {      // blow off errors here - dummy headers will fail      var msgURI = null;    }    if (msgURI)    {      var msgHdr = messenger.messageServiceFromURI(msgURI).messageURIToMsgHdr(msgURI);      gMessageClassificator.analyzeMessage(msgHdr, i, whiteListDirectory);    }  }}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/8395/8744934c363e15064d13b21588e5260446369066/mailCommands.js/buggy/mail/base/content/mailCommands.js