Finish migration to java17, boot 3.0, spring 6
This commit is contained in:
@@ -133,7 +133,7 @@ public class BeanFactoryAwarePojoFunctionRegistryTests {
|
||||
}
|
||||
|
||||
// POJO Function
|
||||
private static class MyFunctionLike {
|
||||
public static class MyFunctionLike {
|
||||
public String uppercase(String value) {
|
||||
return value.toUpperCase();
|
||||
}
|
||||
|
||||
@@ -135,7 +135,7 @@ public class SimpleFunctionRegistryTests {
|
||||
};
|
||||
|
||||
FunctionRegistration<Function<Map<String, Person>, String>> registration = new FunctionRegistration<>(
|
||||
function, "echo").type(FunctionType.of(functionType));
|
||||
function, "echo").type(functionType);
|
||||
SimpleFunctionRegistry catalog = new SimpleFunctionRegistry(this.conversionService, this.messageConverter,
|
||||
new JacksonMapper(new ObjectMapper()));
|
||||
catalog.register(registration);
|
||||
|
||||
Reference in New Issue
Block a user