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

        DeploymentRevision currentdDeploymentRevision = this.deploymentRevisionMap.get(resolvedName);
        if (!currentdDeploymentRevision.getFile().equals(configPath)) {
            try {
                currentdDeploymentRevision.setFile(configPath);
                this.deploymentRevisionDAO.updateDeploymentRevision(currentdDeploymentRevision);
            } catch (RemoteFetchCoreException e) {
                log.error("Unable to update DeploymentRevision for " + resolvedName, e);
            }
        }
    }
/**
     * Update DeploymentRevision if file was moved/renamed and store.
     *
     * @param resolvedName
     * @param configPath
     */
Update DeploymentRevision if file was moved/renamed and store.
@param resolvedName
@param configPath
Update DeploymentRevision if file was moved / renamed and store . @param resolvedName @param configPath
private void updateRevision(String resolvedName, File configPath) {
        DeploymentRevision currentdDeploymentRevision = this.deploymentRevisionMap.get(resolvedName);
        if (!currentdDeploymentRevision.getFile().equals(configPath)) {
            try {
                currentdDeploymentRevision.setFile(configPath);
                this.deploymentRevisionDAO.updateDeploymentRevision(currentdDeploymentRevision);
            } catch (RemoteFetchCoreException e) {
                log.error("Unable to update DeploymentRevision for " + resolvedName, e);
            }
        }
    }
private void updateRevision ( String resolvedName , File configPath ) { DeploymentRevision currentdDeploymentRevision = this . deploymentRevisionMap . get ( resolvedName ) ; if ( ! currentdDeploymentRevision . getFile ( ) . equals ( configPath ) ) { try { currentdDeploymentRevision . setFile ( configPath ) ; this . deploymentRevisionDAO . updateDeploymentRevision ( currentdDeploymentRevision ) ; } catch ( RemoteFetchCoreException e ) { log . error ( "Unable to update DeploymentRevision for " + resolvedName , e ) ; } } }
Update DeploymentRevision if file was moved/renamed and store.
Update DeploymentRevision if file was moved / renamed and store .