One more fix for 5.0.1
This commit is contained in:
parent
fe0e07a313
commit
b46f4a993d
|
@ -65,7 +65,12 @@ public class BaseMigrationTasks<T extends Enum> {
|
||||||
theTask.validate();
|
theTask.validate();
|
||||||
myTasks.put(theRelease, theTask);
|
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) {
|
public List<BaseTask> getAllTasks(T[] theVersionEnumValues) {
|
||||||
|
|
Loading…
Reference in New Issue