Revert to more convenient signature in FunctionCatalog
This commit is contained in:
@@ -379,8 +379,7 @@ class FunctionCreatorConfiguration {
|
||||
return;
|
||||
}
|
||||
FunctionRegistration<Object> registration = new FunctionRegistration<Object>(
|
||||
bean).names(
|
||||
FunctionProperties.functionName(counter.getAndIncrement()));
|
||||
bean, FunctionProperties.functionName(counter.getAndIncrement()));
|
||||
if (this.runner != null) {
|
||||
if (this.runner.containsBean(FunctionInspector.class.getName())) {
|
||||
Object inspector = this.runner
|
||||
|
||||
@@ -37,7 +37,7 @@ public class SingleEntryFunctionRegistry implements FunctionRegistry {
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T> T lookup(Class<T> type, String name) {
|
||||
public <T> T lookup(Class<?> type, String name) {
|
||||
return this.name.equals(name) ? this.delegate.lookup(type, name) : null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user