Integer count = quickHashCount.get(hash); if (count == null) { bugInstance.setInstanceOccurrenceNum(0); quickHashCount.put(hash,0); } else { bugInstance.setInstanceOccurrenceNum(count+1); quickHashCount.put(hash, count+1); }
	private String getQuickInstanceHash(BugInstance bugInstance) {		String hash = bugInstance.getInstanceHash();		if (hash != null) return hash;		MessageDigest digest = null;		try { digest = MessageDigest.getInstance("MD5");		} catch (Exception e2) {			// OK, we won't digest		}		hash = bugInstance.getInstanceKey();		if (digest != null) {			byte [] data = digest.digest(hash.getBytes());			String tmp = new BigInteger(1,data).toString(16);			if (false) System.out.println(hash + " -> " + tmp);			hash = tmp;		}		bugInstance.setInstanceHash(hash);		Integer count = quickHashCount.get(hash);		if (count == null) {			bugInstance.setInstanceOccurrenceNum(0);			quickHashCount.put(hash,0);		} else {			bugInstance.setInstanceOccurrenceNum(count+1);			quickHashCount.put(hash, count+1);		}		return hash;	}