components/org.wso2.carbon.identity.remotefetch.core/src/main/java/org/wso2/carbon/identity/remotefetch/core/implementations/actionHandlers/PollingActionListener.java
private void createRevision(String resolvedName, File configPath) {

        DeploymentRevision deploymentRevision = new DeploymentRevision(this.remoteFetchConfigurationId, configPath);
        deploymentRevision.setFileHash("");
        deploymentRevision.setItemName(resolvedName);
        try {
            int id = this.deploymentRevisionDAO.createDeploymentRevision(deploymentRevision);
            deploymentRevision.setDeploymentRevisionId(id);
            this.deploymentRevisionMap.put(deploymentRevision.getItemName(), deploymentRevision);
        } catch (RemoteFetchCoreException e) {
            log.error("Unable to add a new DeploymentRevision for " + resolvedName, e);
        }
    }
/**
     * Create DeploymentRevision and store for resolved name and path.
     *
     * @param resolvedName
     * @param configPath
     */
Create DeploymentRevision and store for resolved name and path.
@param resolvedName
@param configPath
Create DeploymentRevision and store for resolved name and path . @param resolvedName @param configPath
private void createRevision(String resolvedName, File configPath) {
        DeploymentRevision deploymentRevision = new DeploymentRevision(this.remoteFetchConfigurationId, configPath);
        deploymentRevision.setFileHash("");
        deploymentRevision.setItemName(resolvedName);
        try {
            int id = this.deploymentRevisionDAO.createDeploymentRevision(deploymentRevision);
            deploymentRevision.setDeploymentRevisionId(id);
            this.deploymentRevisionMap.put(deploymentRevision.getItemName(), deploymentRevision);
        } catch (RemoteFetchCoreException e) {
            log.error("Unable to add a new DeploymentRevision for " + resolvedName, e);
        }
    }
private void createRevision ( String resolvedName , File configPath ) { DeploymentRevision deploymentRevision = new DeploymentRevision ( this . remoteFetchConfigurationId , configPath ) ; deploymentRevision . setFileHash ( "" ) ; deploymentRevision . setItemName ( resolvedName ) ; try { int id = this . deploymentRevisionDAO . createDeploymentRevision ( deploymentRevision ) ; deploymentRevision . setDeploymentRevisionId ( id ) ; this . deploymentRevisionMap . put ( deploymentRevision . getItemName ( ) , deploymentRevision ) ; } catch ( RemoteFetchCoreException e ) { log . error ( "Unable to add a new DeploymentRevision for " + resolvedName , e ) ; } }
Create DeploymentRevision and store for resolved name and path.
Create DeploymentRevision and store for resolved name and path .