components/org.wso2.carbon.identity.remotefetch.core/src/main/java/org/wso2/carbon/identity/remotefetch/core/implementations/actionHandlers/PollingActionListener.java
private boolean deploymentRevisionChanged(DeploymentRevision deploymentRevision, String newHash) {

        String currentHash = deploymentRevision.getFileHash();
        // Check if previous revision is none which indicates the addition of a new file and if so deploy.
        return (!newHash.isEmpty() && (currentHash.isEmpty() || !(currentHash.equals(newHash))));
    }
/**
     * Returns if the DeploymentRevision hash changed.
     *
     * @param deploymentRevision
     * @param newHash
     * @return
     */
Returns if the DeploymentRevision hash changed.
@param deploymentRevision
@param newHash
@return
Returns if the DeploymentRevision hash changed . @param deploymentRevision @param newHash @return
private boolean deploymentRevisionChanged(DeploymentRevision deploymentRevision, String newHash) {
        String currentHash = deploymentRevision.getFileHash();
        return (!newHash.isEmpty() && (currentHash.isEmpty() || !(currentHash.equals(newHash))));
    }
private boolean deploymentRevisionChanged ( DeploymentRevision deploymentRevision , String newHash ) { String currentHash = deploymentRevision . getFileHash ( ) ; return ( ! newHash . isEmpty ( ) && ( currentHash . isEmpty ( ) || ! ( currentHash . equals ( newHash ) ) ) ) ; }
Returns if the DeploymentRevision hash changed.
Returns if the DeploymentRevision hash changed .
// Check if previous revision is none which indicates the addition of a new file and if so deploy.