bugInstance.setInstanceOccurrenceNum(count);
bugInstance.setInstanceOccurrenceNum(count+1);
	public void computeBugHashes() {		MessageDigest digest = null;		try { digest = MessageDigest.getInstance("MD5");		} catch (Exception e2) {			// OK, we won't digest		}				HashMap<String, Integer> seen = new HashMap<String, Integer>();				for(BugInstance bugInstance : getCollection()) {			String hash = bugInstance.getInstanceKey();			if (digest != null) {				byte [] data = digest.digest(hash.getBytes());				hash = new BigInteger(1,data).toString(16);			}			bugInstance.setInstanceHash(hash);			Integer count = seen.get(hash);			if (count == null) {				bugInstance.setInstanceOccurrenceNum(0);				seen.put(hash,0);			} else {				bugInstance.setInstanceOccurrenceNum(count);				seen.put(hash, count+1);			}		}		for(BugInstance bugInstance : getCollection()) 			bugInstance.setInstanceOccurrenceMax(seen.get(bugInstance.getInstanceHash()));		}