mHasSpamTrashSetting = true;
forceHasSpamTrashSetting();
    void addInClause(Folder folder, boolean truth)     {    	mAllResultsQuery = false;    	if (truth) {    		if ((mConstraints.folders.size() > 0 && !mConstraints.folders.contains(folder))         			|| mConstraints.excludeFolders.contains(folder)) {        		if (mLog.isDebugEnabled()) {        			mLog.debug("AND of conflicting folders, no-results-query");        		}        		mConstraints.noResults = true;        	}        	mConstraints.folders.clear();        	mConstraints.folders.add(folder);        	mHasSpamTrashSetting = true;        } else {        	if (mConstraints.folders.contains(folder)) {        		mConstraints.folders.remove(folder);        		if (mConstraints.folders.size() == 0) {                    if (mLog.isDebugEnabled()) {                        mLog.debug("AND of conflicting folders, no-results-query");                    }                    mConstraints.noResults = true;        		}        	}        	mConstraints.excludeFolders.add(folder);        	        	int fid = folder.getId();        	if (fid == Mailbox.ID_FOLDER_TRASH || fid == Mailbox.ID_FOLDER_SPAM) {        		mHasSpamTrashSetting = true;        	}        }    }