/*
 * Decompiled with CFR 0.152.
 * 
 * Could not load the following classes:
 *  com.l7tech.identity.ldap.LdapGroup
 */
package com.l7tech.server.identity.ldap;

import com.l7tech.identity.ldap.LdapGroup;
import com.l7tech.server.identity.ldap.LdapGroupManagerImpl;
import com.l7tech.server.identity.ldap.k;
import java.util.List;
import javax.naming.NamingException;
import javax.naming.directory.Attributes;

class q
extends k {
    final LdapGroup val$group;
    final List val$subgroups;
    final LdapGroupManagerImpl this$0;

    q(LdapGroupManagerImpl ldapGroupManagerImpl, LdapGroup ldapGroup, List list) {
        this.this$0 = ldapGroupManagerImpl;
        this.val$group = ldapGroup;
        this.val$subgroups = list;
    }

    @Override
    void a(String string, Attributes attributes) throws NamingException {
        if (!this.val$group.getDn().equals(string)) {
            LdapGroup ldapGroup = this.this$0.a(string, attributes);
            try {
                if (ldapGroup != null) {
                    this.val$subgroups.add(ldapGroup);
                }
            }
            catch (NamingException namingException) {
                throw q.a(namingException);
            }
        }
    }

    private static NamingException a(NamingException namingException) {
        return namingException;
    }
}

