(cur.mRecurId.withinRange(recurId))) {
(cur.mRecurId != null && cur.mRecurId.withinRange(recurId))) {
        void modifyPartStat(Account acctOrNull, RecurId recurId, String cnStr, String addressStr, String roleStr,                 String partStatStr, Boolean needsReply, int seqNo, long dtStamp)  throws ServiceException {            for (Iterator iter = mReplies.iterator(); iter.hasNext();) {                ReplyInfo cur = (ReplyInfo)iter.next();                                if ( (cur.mRecurId == null && recurId == null) ||                        (cur.mRecurId.withinRange(recurId))) {                                        if (                            (acctOrNull != null && (AccountUtil.addressMatchesAccount(acctOrNull, cur.mAttendee.getCalAddress().getSchemeSpecificPart()))) ||                            (acctOrNull == null && cur.mAttendee.getCalAddress().getSchemeSpecificPart().equalsIgnoreCase(addressStr))                            )                     {                        if (cur.mAttendee.getParameters().getParameter(Parameter.CN) != null) {                            cnStr = cur.mAttendee.getParameters().getParameter(Parameter.CN).getValue();                        }                                                if (cur.mAttendee.getParameters().getParameter(Parameter.ROLE) != null) {                            roleStr = IcalXmlStrMap.sRoleMap.toXml(cur.mAttendee.getParameters().getParameter(Parameter.ROLE).getValue());                        }                                                Attendee newAt = Invite.createAttendee(                                cnStr,                                cur.mAttendee.getCalAddress().getSchemeSpecificPart(),                                roleStr,                                partStatStr,                                needsReply                                );                                                cur.mAttendee = newAt;                        cur.mSeqNo = seqNo;                        cur.mDtStamp = dtStamp;                        return;                    }                }            }                        // no existing partstat for this instance...add a new one             ReplyInfo inf = new ReplyInfo();            inf.mAttendee = Invite.createAttendee(cnStr, addressStr, roleStr, partStatStr, needsReply);            inf.mRecurId = recurId;            inf.mDtStamp = dtStamp;            inf.mSeqNo = seqNo;            mReplies.add(inf);        }