Mark renameTask as deprecated

This commit is contained in:
jamesagnew 2020-07-28 08:38:28 -04:00
parent a6213fe1e0
commit 20d1ab2fac
1 changed files with 7 additions and 0 deletions

View File

@ -181,10 +181,17 @@ public class Builder {
return task;
}
/**
* @deprecated Do not rename indexes - It is too hard to figure out what happened if something goes wrong
*/
@Deprecated
public void renameIndex(String theVersion, String theOldIndexName, String theNewIndexName) {
renameIndexOptional(false, theVersion, theOldIndexName, theNewIndexName);
}
/**
* @deprecated Do not rename indexes - It is too hard to figure out what happened if something goes wrong
*/
public void renameIndexStub(String theVersion, String theOldIndexName, String theNewIndexName) {
renameIndexOptional(true, theVersion, theOldIndexName, theNewIndexName);
}