package org.ovirt.engine.core.ldap;

import org.ovirt.engine.core.utils.dns.DnsSRVLocator;
import org.ovirt.engine.core.utils.log.Log;
import org.ovirt.engine.core.utils.log.LogFactory;

/**
 * This class is responsible to return SRV records for ldap servers in a domain
 */
public class LdapSRVLocator extends DnsSRVLocator {

    private static final String LDAP_PROTOCOL = "_ldap";

    /**
     *
     */
    public LdapSRVLocator() {
    }

    public DnsSRVResult getLdapServers(String domainName) throws Exception {
        return getService(LDAP_PROTOCOL, TCP, domainName);

    }

    public DnsSRVResult getLdapServers(String[] records) {
        return getSRVResult(records);

    }

    private static Log log = LogFactory.getLog(LdapSRVLocator.class);

}

@@ -87,103 +87,8 @@
 tor;
-%0Aimport org.ovirt.engine.core.utils.log.Log;%0Aimport org.ovirt.engine.core.utils.log.LogFactory;
 %0A%0A/*
@@ -597,77 +597,6 @@
  %7D%0A%0A
-    private static Log log = LogFactory.getLog(LdapSRVLocator.class);%0A%0A
 %7D%0A

Remove unused log.