Updated the way fixed versions are analyzed

This commit is contained in:
Marcin Grzejszczak
2018-06-25 17:13:58 +02:00
parent 2241e2474a
commit fe00a36f5b
5 changed files with 83 additions and 8 deletions

View File

@@ -195,9 +195,7 @@ public class SpringReleaser {
}
private Projects projectsToUpdateForFixedVersions() {
Projects projectsToUpdate = this.properties.getFixedVersions().entrySet().stream()
.map(entry -> new ProjectVersion(entry.getKey(), entry.getValue()))
.distinct().collect(Collectors.toCollection(Projects::new));
Projects projectsToUpdate = this.releaser.fixedVersions();
printSettingVersionFromFixedVersions(projectsToUpdate);
return projectsToUpdate;
}