if (contents.contains("GOOD_EXAMPLE") || contents.contains("EXCELLENT_EXAMPLE")) dumpBug(bugInstance, filename);
if (contents.contains("GOOD_EXAMPLE") || contents.contains("EXCELLENT_EXAMPLE")) { if (first) first = false; else System.out.println(); if (brief) dumpBugBrief(bugInstance); else dumpBug(bugInstance, filename); }
	public static void scan(String filename, String category) throws Exception {		BugCollection bugCollection = new SortedBugCollection();		bugCollection.readXML(filename, new Project());		Iterator<BugInstance> i = bugCollection.iterator();		while (i.hasNext()) {			BugInstance bugInstance = i.next();			String annotation = bugInstance.getAnnotationText();			if (annotation.equals(""))				continue;			if (category != null && !bugInstance.getAbbrev().equals(category))				continue;			Set<String> contents = parseAnnotation(annotation);			if (contents.contains("GOOD_EXAMPLE") || contents.contains("EXCELLENT_EXAMPLE"))				dumpBug(bugInstance, filename);		}	}