Add test for FunctionAroundWrapper
This commit is contained in:
@@ -188,7 +188,9 @@ public class SimpleFunctionRegistry implements FunctionRegistry, FunctionInspect
|
||||
logger.debug("Function '" + functionDefinition + "' is not found in cache");
|
||||
}
|
||||
|
||||
function = this.wrapInAroundAviceIfNecessary(function);
|
||||
if (function != null) {
|
||||
function = this.wrapInAroundAviceIfNecessary(function);
|
||||
}
|
||||
|
||||
return (T) function;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user