function determineActionsForJunkMsgs(aView, aIndices) 
function determineActionsForJunkMsgs(aFolder) 
function determineActionsForJunkMsgs(aView, aIndices){  var actions = { markRead: false, junkTargetFolder: null };  // we use some arbitrary message to determine the  // message server  var msgURI = aView.getURIForViewIndex(aIndices[0]);  var msgHdr = messenger.messageServiceFromURI(msgURI).messageURIToMsgHdr(msgURI);  var server = msgHdr.folder.server;  var spamSettings = server.spamSettings;  // note we will do moves/marking as read even if the spam  // feature is disabled, since the user has asked to use it  // despite the disabling  // note also that we will only act on messages which  // _the_current_run_ of the classifier has classified as  // junk, rather than on all junk messages in the folder  actions.markRead = spamSettings.markAsReadOnSpam;  actions.junkTargetFolder = null;  // move only when the corresponding setting is activated  // and the currently viewed folder is not the junk folder.  if (spamSettings.moveOnSpam && !(msgHdr.folder.flags & MSG_FOLDER_FLAG_JUNK))  {    var spamFolderURI = spamSettings.spamFolderURI;    if (!spamFolderURI)    {      // XXX TODO      // we should use nsIPromptService to inform the user of the problem,      // e.g. when the junk folder was accidentally deleted.      dump('determineActionsForJunkMsgs: no spam folder found, not moving.');    }    else    {      actions.junkTargetFolder = GetMsgFolderFromUri(spamFolderURI);    }  }  return actions;}
5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5459/8744934c363e15064d13b21588e5260446369066/mailCommands.js/clean/mail/base/content/mailCommands.js