Merge remote-tracking branch 'remotes/origin/master' into ks-20191119-scheduler
This commit is contained in:
commit
7cc690ffd3
|
@ -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());
|
||||
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue