if (!(admingroupname.equals(DEFAULTGROUPNAME) && caid == ILogSessionLocal.INTERNALCAID)) {
if (!(admingroupname.equals(DEFAULTGROUPNAME) && caid == LogConstants.INTERNALCAID)) {
    public void addAdminGroup(Admin admin, String admingroupname, int caid) throws AdminGroupExistsException {        if (!(admingroupname.equals(DEFAULTGROUPNAME) && caid == ILogSessionLocal.INTERNALCAID)) {            boolean success = true;            try {                admingrouphome.findByGroupNameAndCAId(admingroupname, caid);                success = false;            } catch (FinderException e) {            }            if (success) {                try {                    admingrouphome.create(new Integer(findFreeAdminGroupId()), admingroupname, caid);                    success = true;                } catch (CreateException e) {                    error("Can't add admingroup: ", e);                    success = false;                }            }            if (success) {                logsession.log(admin, caid, LogEntry.MODULE_RA, new java.util.Date(), null, null, LogEntry.EVENT_INFO_EDITEDADMINISTRATORPRIVILEGES, "Administratorgroup " + admingroupname + " added.");            } else {                logsession.log(admin, caid, LogEntry.MODULE_RA, new java.util.Date(), null, null, LogEntry.EVENT_ERROR_EDITEDADMINISTRATORPRIVILEGES, "Error adding administratorgroup " + admingroupname + ".");                throw new AdminGroupExistsException();            }        }    } // addAdminGroup