components/org.wso2.carbon.identity.remotefetch.core/src/main/java/org/wso2/carbon/identity/remotefetch/core/implementations/actionHandlers/PollingActionListener.java
private void manageRevisions(List<File> configPaths) {

        configPaths.forEach((File configPath) -> {
            String resolvedName = "";

            try {
                resolvedName = this.configDeployer.resolveConfigName(this.repo.getFile(configPath));
            } catch (RemoteFetchCoreException e) {
                log.error("Unable to resolve configuration name for file " + configPath.getAbsolutePath(), e);
            }

            if (!(resolvedName.isEmpty())) {
                if (this.deploymentRevisionMap.containsKey(resolvedName)) {
                    updateRevision(resolvedName, configPath);
                } else {
                    createRevision(resolvedName, configPath);
                }
            }
        });
    }
/**
     * Resolve and create / update list of revisions.
     *
     * @param configPaths
     */
Resolve and create / update list of revisions.
@param configPaths
Resolve and create / update list of revisions . @param configPaths
private void manageRevisions(List<File> configPaths) {
        configPaths.forEach((File configPath) -> {
            String resolvedName = "";
            try {
                resolvedName = this.configDeployer.resolveConfigName(this.repo.getFile(configPath));
            } catch (RemoteFetchCoreException e) {
                log.error("Unable to resolve configuration name for file " + configPath.getAbsolutePath(), e);
            }
            if (!(resolvedName.isEmpty())) {
                if (this.deploymentRevisionMap.containsKey(resolvedName)) {
                    updateRevision(resolvedName, configPath);
                } else {
                    createRevision(resolvedName, configPath);
                }
            }
        });
    }
private void manageRevisions ( List < File > configPaths ) { configPaths . forEach ( ( File configPath ) -> { String resolvedName = "" ; try { resolvedName = this . configDeployer . resolveConfigName ( this . repo . getFile ( configPath ) ) ; } catch ( RemoteFetchCoreException e ) { log . error ( "Unable to resolve configuration name for file " + configPath . getAbsolutePath ( ) , e ) ; } if ( ! ( resolvedName . isEmpty ( ) ) ) { if ( this . deploymentRevisionMap . containsKey ( resolvedName ) ) { updateRevision ( resolvedName , configPath ) ; } else { createRevision ( resolvedName , configPath ) ; } } } ) ; }
Resolve and create / update list of revisions.
Resolve and create / update list of revisions .