if (!(admingroupname.equals(DEFAULTGROUPNAME) && caid == ILogSessionLocal.INTERNALCAID)) {
if (!(admingroupname.equals(DEFAULTGROUPNAME) && caid == LogConstants.INTERNALCAID)) {
    public void removeAdminGroup(Admin admin, String admingroupname, int caid) {        if (!(admingroupname.equals(DEFAULTGROUPNAME) && caid == ILogSessionLocal.INTERNALCAID)) {            try {                AdminGroupDataLocal agl = admingrouphome.findByGroupNameAndCAId(admingroupname, caid);                // Remove groups user entities.                agl.removeAdminEntities(agl.getAdminEntityObjects());                // Remove groups accessrules.                Iterator iter = agl.getAccessRuleObjects().iterator();                ArrayList remove = new ArrayList();                while (iter.hasNext()) {                    remove.add(((AccessRule) iter.next()).getAccessRule());                }                agl.removeAccessRules(remove);                agl.remove();                signalForAuthorizationTreeUpdate();                logsession.log(admin, caid, LogEntry.MODULE_RA, new java.util.Date(), null, null, LogEntry.EVENT_INFO_EDITEDADMINISTRATORPRIVILEGES, "Administratorgroup " + admingroupname + " removed.");            } catch (Exception e) {                error("RemoveAdminGroup: " + e);                logsession.log(admin, caid, LogEntry.MODULE_RA, new java.util.Date(), null, null, LogEntry.EVENT_ERROR_EDITEDADMINISTRATORPRIVILEGES, "Error removing administratorgroup " + admingroupname + ".");            }        }    } // removeAdminGroup