pre-review cleanup

This commit is contained in:
Ken Stevens 2019-12-09 16:51:42 -05:00
parent bd1b41ff82
commit 3657a3ad5a
3 changed files with 0 additions and 5 deletions

View File

@ -36,12 +36,10 @@ import java.util.List;
import java.util.Set;
public class RenameIndexTask extends BaseTableTask<RenameIndexTask> {
private static final Logger ourLog = LoggerFactory.getLogger(RenameIndexTask.class);
private String myOldIndexName;
private String myNewIndexName;
public RenameIndexTask(String theProductVersion, String theSchemaVersion) {
super(theProductVersion, theSchemaVersion);
}

View File

@ -381,7 +381,6 @@ public class Builder {
private final String myVersion;
private final String myColumnName;
private final BaseMigrationTasks.IAcceptsTasks myTaskSink;
private boolean myDoNothing;
public BuilderAddColumnWithName(String theRelease, String theVersion, String theColumnName, BaseMigrationTasks.IAcceptsTasks theTaskSink) {
myRelease = theRelease;
@ -423,7 +422,6 @@ public class Builder {
}
myTaskSink.addTask(task);
}
}
}
}

View File

@ -43,7 +43,6 @@ public class AddTableByColumnTaskTest extends BaseTest {
fooTable.addColumn("GOODBYE").nullable().type(BaseTableColumnTypeTask.ColumnTypeEnum.STRING, 200);
fooTable.addColumn("COL_REF").nullable().type(BaseTableColumnTypeTask.ColumnTypeEnum.LONG);
fooTable.addIndex("4", "IDX_HELLO").unique(true).withColumns("HELLO");
// FIXME KHS add doNothing() somewhere in this builder (find the sync this is using)
fooTable.addIndex("5", "IDX_GOODBYE").unique(true).withColumnsStub("GOODBYE");
fooTable.dropIndexStub("6", "IDX_HELLO");
fooTable.addForeignKey("7", "FK_REF").toColumn("COL_REF").references("TGT_TABLE", "PID");