private boolean hasARebuiltExplicitDependency(BuildRecord latestSuccessfulBuildRecord, Set<BuildConfiguration> dependencies, boolean temporaryBuild) {
        for (BuildConfiguration dependencyBuildConfiguration : dependencies) {
            BuildRecord dependencyLatestSuccessfulBuildRecord = buildRecordRepository.getLatestSuccessfulBuildRecord(dependencyBuildConfiguration.getId(), temporaryBuild);
            if (dependencyLatestSuccessfulBuildRecord == null) {
                return true;
            }
            boolean newer = dependencyLatestSuccessfulBuildRecord.getEndTime().after(latestSuccessfulBuildRecord.getEndTime());
            if (newer) {
                return true;
            }
        }
        return false;
    }
private boolean hasARebuiltExplicitDependency(BuildRecord latestSuccessfulBuildRecord, Set<BuildConfiguration> dependencies, boolean temporaryBuild) {
        for (BuildConfiguration dependencyBuildConfiguration : dependencies) {
            BuildRecord dependencyLatestSuccessfulBuildRecord = buildRecordRepository.getLatestSuccessfulBuildRecord(dependencyBuildConfiguration.getId(), temporaryBuild);
            if (dependencyLatestSuccessfulBuildRecord == null) {
                return true;
            }
            boolean newer = dependencyLatestSuccessfulBuildRecord.getEndTime().after(latestSuccessfulBuildRecord.getEndTime());
            if (newer) {
                return true;
            }
        }
        return false;
    }
private boolean hasARebuiltExplicitDependency ( BuildRecord latestSuccessfulBuildRecord , Set < BuildConfiguration > dependencies , boolean temporaryBuild ) { for ( BuildConfiguration dependencyBuildConfiguration : dependencies ) { BuildRecord dependencyLatestSuccessfulBuildRecord = buildRecordRepository . getLatestSuccessfulBuildRecord ( dependencyBuildConfiguration . getId ( ) , temporaryBuild ) ; if ( dependencyLatestSuccessfulBuildRecord == null ) { return true ; } boolean newer = dependencyLatestSuccessfulBuildRecord . getEndTime ( ) . after ( latestSuccessfulBuildRecord . getEndTime ( ) ) ; if ( newer ) { return true ; } } return false ; }
Check is some of the dependencies defined on BuildConfiguration has newer version.
Check is some of the dependencies defined on BuildConfiguration has newer version .