BugSet filteredSet = BugSet.getMainBugSet().getBugsMatchingFilter(currentSelectedBugAspects.getStackedFilterMatcher()); System.out.println("Number to change: " + filteredSet.sizeUnfiltered()); Iterator<BugLeafNode> filteredIter = filteredSet.iterator(); if(!filteredIter.hasNext()) return; else do{ BugLeafNode nextNode = filteredIter.next();
BugSet filteredSet = currentSelectedBugAspects.getMatchingBugs(BugSet.getMainBugSet()); for(BugLeafNode nextNode : filteredSet) {
	protected void setDesignationNonLeaf(String selection){		String newName = ConvertMenuDesignationName(selection);		if(currentSelectedBugAspects == null)			return;		else		{			BugSet filteredSet = BugSet.getMainBugSet().getBugsMatchingFilter(currentSelectedBugAspects.getStackedFilterMatcher());			System.out.println("Number to change: " + filteredSet.sizeUnfiltered());			Iterator<BugLeafNode> filteredIter = filteredSet.iterator();			if(!filteredIter.hasNext())				return;			else				do{					BugLeafNode nextNode = filteredIter.next();					designationChanged = true;					changeDesignationOfBug(nextNode, newName);				}while(filteredIter.hasNext());		}	}