Skip to content

Commit ebdecef

Browse files
author
Luke deGruchy
authored
Return DropIdGeneratorTask from the Builder to permit clients to mutate the (#5193)
DropIdGeneratorTask.
1 parent cfe6622 commit ebdecef

File tree

1 file changed

+2
-1
lines changed
  • hapi-fhir-sql-migrate/src/main/java/ca/uhn/fhir/jpa/migrate/tasks/api

1 file changed

+2
-1
lines changed

hapi-fhir-sql-migrate/src/main/java/ca/uhn/fhir/jpa/migrate/tasks/api/Builder.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,9 +163,10 @@ public void addIdGenerator(String theVersion, String theGeneratorName) {
163163
addTask(task);
164164
}
165165

166-
public void dropIdGenerator(String theVersion, String theIdGeneratorName) {
166+
public DropIdGeneratorTask dropIdGenerator(String theVersion, String theIdGeneratorName) {
167167
DropIdGeneratorTask task = new DropIdGeneratorTask(myRelease, theVersion, theIdGeneratorName);
168168
addTask(task);
169+
return task;
169170
}
170171

171172
public void addNop(String theVersion) {

0 commit comments

Comments
 (0)