Skip to content

Commit

Permalink
bugfix: the list of patches returned at the end was empty
Browse files Browse the repository at this point in the history
  • Loading branch information
martinezmatias committed Apr 19, 2022
1 parent 67ac87b commit fe02f23
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1311,10 +1311,10 @@ public List<PatchStat> createStatsForPatches(List<ProgramVariant> variants, int

for (ProgramVariant solutionVariant : variants) {

if (solutionVariant.getPatchInfo() != null) {
continue;
PatchStat stats = solutionVariant.getPatchInfo();
if (stats == null) {
stats = getStatSingle(solutionVariant, generation);
}
PatchStat stats = getStatSingle(solutionVariant, generation);
patches.add(stats);

}
Expand Down

0 comments on commit fe02f23

Please sign in to comment.