diff --git a/src/main/java/io/spring/calendar/release/ReleaseSchedule.java b/src/main/java/io/spring/calendar/release/ReleaseSchedule.java index 95dd519..44a35ed 100644 --- a/src/main/java/io/spring/calendar/release/ReleaseSchedule.java +++ b/src/main/java/io/spring/calendar/release/ReleaseSchedule.java @@ -16,6 +16,7 @@ package io.spring.calendar.release; +import java.util.ArrayList; import java.util.List; /** @@ -37,7 +38,7 @@ public final class ReleaseSchedule { */ public ReleaseSchedule(String project, List releases) { this.project = project; - this.releases = releases; + this.releases = new ArrayList<>(releases); } /**