Merge remote-tracking branch 'remotes/origin/master' into ks-20191119-scheduler

This commit is contained in:
Ken Stevens 2019-12-11 14:17:54 -05:00
commit 7cc690ffd3
3 changed files with 13 additions and 4 deletions

View File

@ -56,8 +56,8 @@ public class ClientInvocationHandlerFactory {
myMethodToLambda.put(theClientType.getMethod("setEncoding", EncodingEnum.class), new SetEncodingLambda());
myMethodToLambda.put(theClientType.getMethod("setPrettyPrint", Boolean.class), new SetPrettyPrintLambda());
myMethodToLambda.put(theClientType.getMethod("registerInterceptor", IClientInterceptor.class), new RegisterInterceptorLambda());
myMethodToLambda.put(theClientType.getMethod("unregisterInterceptor", IClientInterceptor.class), new UnregisterInterceptorLambda());
myMethodToLambda.put(theClientType.getMethod("registerInterceptor", Object.class), new RegisterInterceptorLambda());
myMethodToLambda.put(theClientType.getMethod("unregisterInterceptor", Object.class), new UnregisterInterceptorLambda());
myMethodToLambda.put(theClientType.getMethod("setSummary", SummaryEnum.class), new SetSummaryLambda());
myMethodToLambda.put(theClientType.getMethod("fetchResourceFromUrl", Class.class, String.class), new FetchResourceFromUrlLambda());

View File

@ -170,10 +170,19 @@ public class Builder {
}
public void renameIndex(String theVersion, String theOldIndexName, String theNewIndexName) {
renameIndexOptional(false, theVersion, theOldIndexName, theNewIndexName);
}
public void renameIndexStub(String theVersion, String theOldIndexName, String theNewIndexName) {
renameIndexOptional(true, theVersion, theOldIndexName, theNewIndexName);
}
private void renameIndexOptional(boolean theDoNothing, String theVersion, String theOldIndexName, String theNewIndexName) {
RenameIndexTask task = new RenameIndexTask(myRelease, theVersion);
task.setOldIndexName(theOldIndexName);
task.setNewIndexName(theNewIndexName);
task.setTableName(myTableName);
task.setDoNothing(theDoNothing);
addTask(task);
}

View File

@ -2658,7 +2658,7 @@ public class GenericClientDstu2Test {
}
@Override
public void registerInterceptor(IClientInterceptor theInterceptor) {
public void registerInterceptor(Object theInterceptor) {
// nothing
}
@ -2673,7 +2673,7 @@ public class GenericClientDstu2Test {
}
@Override
public void unregisterInterceptor(IClientInterceptor theInterceptor) {
public void unregisterInterceptor(Object theInterceptor) {
// nothing
}