@Override
    public void init(PolicyFinder finder) {
        try {
            logger.info("Loading repository policies...");
            setupActivePolicyDirectories();
            m_repositoryPolicies.clear();
            Map<String,AbstractPolicy> repositoryPolicies =
                    m_policyLoader.loadPolicies(m_policyParser,
                    m_validateRepositoryPolicies,
                    new File(m_repositoryBackendPolicyDirectoryPath));
            repositoryPolicies.putAll(
                    m_policyLoader.loadPolicies(m_policyParser,
                                 m_validateRepositoryPolicies,
                                 new File(m_repositoryPolicyDirectoryPath)));
            m_repositoryPolicies.addAll(repositoryPolicies.values());
            m_repositoryPolicySet = toPolicySet(m_repositoryPolicies, m_combiningAlgorithm);
        } catch (Throwable t) {
            logger.error("Error loading repository policies: " + t.toString(), t);
        }
    }
@ Override public void init ( PolicyFinder finder ) { try { logger . info ( "Loading repository policies..." ) ; setupActivePolicyDirectories ( ) ; m_repositoryPolicies . clear ( ) ; Map < String , AbstractPolicy > repositoryPolicies = m_policyLoader . loadPolicies ( m_policyParser , m_validateRepositoryPolicies , new File ( m_repositoryBackendPolicyDirectoryPath ) ) ; repositoryPolicies . putAll ( m_policyLoader . loadPolicies ( m_policyParser , m_validateRepositoryPolicies , new File ( m_repositoryPolicyDirectoryPath ) ) ) ; m_repositoryPolicies . addAll ( repositoryPolicies . values ( ) ) ; m_repositoryPolicySet = toPolicySet ( m_repositoryPolicies , m_combiningAlgorithm ) ; } catch ( Throwable t ) { logger . error ( "Error loading repository policies: " + t . toString ( ) , t ) ; } }
Does nothing at init time.