ClassHash lhsHash = getClassHash(lhsCollection, lhsClassName); ClassHash rhsHash = getClassHash(rhsCollection, rhsClassName);     if (lhsHash != null) lhsClassName = classHashToCanonicalClassNameMap.get(lhsHash); if (rhsHash != null) rhsClassName = classHashToCanonicalClassNameMap.get(rhsHash);
if (USE_HASHES) {  ClassHash lhsHash = getClassHash(lhsCollection, lhsClassName); ClassHash rhsHash = getClassHash(rhsCollection, rhsClassName);     if (lhsHash != null) lhsClassName = classHashToCanonicalClassNameMap.get(lhsHash); if (rhsHash != null) rhsClassName = classHashToCanonicalClassNameMap.get(rhsHash); }
	public int compareClassesByName(BugCollection lhsCollection, BugCollection rhsCollection, String lhsClassName, String rhsClassName) {		int cmp;				// Get class hashes		ClassHash lhsHash = getClassHash(lhsCollection, lhsClassName);		ClassHash rhsHash = getClassHash(rhsCollection, rhsClassName);				// Convert to canonical class names based on the class hashes.		// This has the effect that classes with the same hash compare as equal,		// while ensuring that all class names have a consistent ordering.		if (lhsHash != null)			lhsClassName = classHashToCanonicalClassNameMap.get(lhsHash);		if (rhsHash != null)			rhsClassName = classHashToCanonicalClassNameMap.get(rhsHash);		return lhsClassName.compareTo(rhsClassName);	}