One more fix for 5.0.1

This commit is contained in:
jamesagnew 2020-05-15 09:58:45 -04:00
parent fe0e07a313
commit b46f4a993d
1 changed files with 6 additions and 1 deletions

View File

@ -65,7 +65,12 @@ public class BaseMigrationTasks<T extends Enum> {
theTask.validate();
myTasks.put(theRelease, theTask);
};
return new Builder(theRelease.name(), sink);
return new Builder(toReleaseName(theRelease), sink);
}
@Nonnull
protected String toReleaseName(T theRelease) {
return theRelease.name();
}
public List<BaseTask> getAllTasks(T[] theVersionEnumValues) {