public int compare(Object a, Object b) { BugInstance lhs = (BugInstance) a; BugInstance rhs = (BugInstance) b;
public int compare(BugInstance lhs, BugInstance rhs) {
        public int compare(Object a, Object b) {            BugInstance lhs = (BugInstance) a;            BugInstance rhs = (BugInstance) b;            String lhsString = lhs.toString();            String rhsString = rhs.toString();            return lhsString.substring(0, lhsString.indexOf(':')).compareTo(            rhsString.substring(0, rhsString.indexOf(':')));        }