for (BugInstance bugInstance : dup.bugSet) { uniqueIdToBugInstanceMap.put(bugInstance.getUniqueId(), bugInstance); } dup.nextUniqueId = this.nextUniqueId;
	public SortedBugCollection duplicate() {		SortedBugCollection dup = new SortedBugCollection((ProjectStats) projectStats.clone(), comparator);		SortedBugCollection.cloneAll(dup.bugSet, this.bugSet);		dup.errorList.addAll(this.errorList);		dup.missingClassSet.addAll(this.missingClassSet);		dup.summaryHTML = this.summaryHTML;//		dup.classHashMap.putAll(this.classHashMap);		dup.classFeatureSetMap.putAll(this.classFeatureSetMap);		for (BugInstance bugInstance : dup.bugSet) {			uniqueIdToBugInstanceMap.put(bugInstance.getUniqueId(), bugInstance);		}		dup.nextUniqueId = this.nextUniqueId;		dup.sequence = this.sequence;		dup.timestamp = this.timestamp;		dup.releaseName = this.releaseName;		for (AppVersion appVersion : appVersionList) {			dup.appVersionList.add((AppVersion) appVersion.clone());		}		return dup;	}