Fix on drop table task

This commit is contained in:
James Agnew 2019-07-19 09:38:13 -04:00
parent d433591d41
commit fd23190b4c
1 changed files with 0 additions and 11 deletions

View File

@ -31,17 +31,6 @@ import java.util.Set;
public class DropTableTask extends BaseTableTask<DropTableTask> { public class DropTableTask extends BaseTableTask<DropTableTask> {
private static final Logger ourLog = LoggerFactory.getLogger(DropTableTask.class); private static final Logger ourLog = LoggerFactory.getLogger(DropTableTask.class);
private String myIndexName;
@Override
public void validate() {
super.validate();
Validate.notBlank(myIndexName, "The index name must not be blank");
if (getDescription() == null) {
setDescription("Drop index " + myIndexName + " on table " + getTableName());
}
}
@Override @Override
public void execute() throws SQLException { public void execute() throws SQLException {