datastore/src/main/java/org/jboss/pnc/datastore/DefaultDatastore.java
private boolean hasARebuiltImplicitDependency(BuildRecord latestSuccessfulBuildRecord, boolean temporaryBuild) {
        Collection<BuildRecord> lastBuiltFrom = getRecordsUsedFor(latestSuccessfulBuildRecord);
        return lastBuiltFrom.stream()
                .anyMatch(br -> hasNewerVersion(br, temporaryBuild));
    }
private boolean hasARebuiltImplicitDependency(BuildRecord latestSuccessfulBuildRecord, boolean temporaryBuild) {
        Collection<BuildRecord> lastBuiltFrom = getRecordsUsedFor(latestSuccessfulBuildRecord);
        return lastBuiltFrom.stream()
                .anyMatch(br -> hasNewerVersion(br, temporaryBuild));
    }
private boolean hasARebuiltImplicitDependency ( BuildRecord latestSuccessfulBuildRecord , boolean temporaryBuild ) { Collection < BuildRecord > lastBuiltFrom = getRecordsUsedFor ( latestSuccessfulBuildRecord ) ; return lastBuiltFrom . stream ( ) . anyMatch ( br -> hasNewerVersion ( br , temporaryBuild ) ) ; }
Check is some of the dependencies from the previous build were rebuild.
Checking is done based on captured dependencies which are stored in the Build Record.
Check is some of the dependencies from the previous build were rebuild . Checking is done based on captured dependencies which are stored in the Build Record .