GH-909 Fix spelling of the method

Resolves #909
This commit is contained in:
Oleg Zhurakousky
2022-08-08 15:32:57 +02:00
parent fc50ebc870
commit 8999337255

View File

@@ -225,7 +225,7 @@ public class SimpleFunctionRegistry implements FunctionRegistry {
}
if (function != null) {
function = this.wrapInAroundAviceIfNecessary(function);
function = this.wrapInAroundAdviceIfNecessary(function);
}
return (T) function;
@@ -263,7 +263,7 @@ public class SimpleFunctionRegistry implements FunctionRegistry {
* There is no current use cases in functions where it is used.
* The approach may change in the future.
*/
private FunctionInvocationWrapper wrapInAroundAviceIfNecessary(FunctionInvocationWrapper function) {
private FunctionInvocationWrapper wrapInAroundAdviceIfNecessary(FunctionInvocationWrapper function) {
FunctionInvocationWrapper wrappedFunction = function;
if (function != null && this.functionAroundWrapper != null) {
wrappedFunction = new FunctionInvocationWrapper(function) {