From 95d0ca7d7c8be764b9d628db74c21e5f6f66d3c1 Mon Sep 17 00:00:00 2001 From: Oleg Zhurakousky Date: Mon, 8 Aug 2022 15:32:57 +0200 Subject: [PATCH] GH-909 Fix spelling of the method Resolves #909 --- .../function/context/catalog/SimpleFunctionRegistry.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-cloud-function-context/src/main/java/org/springframework/cloud/function/context/catalog/SimpleFunctionRegistry.java b/spring-cloud-function-context/src/main/java/org/springframework/cloud/function/context/catalog/SimpleFunctionRegistry.java index 67e3cb8c6..57d4c69cf 100644 --- a/spring-cloud-function-context/src/main/java/org/springframework/cloud/function/context/catalog/SimpleFunctionRegistry.java +++ b/spring-cloud-function-context/src/main/java/org/springframework/cloud/function/context/catalog/SimpleFunctionRegistry.java @@ -232,7 +232,7 @@ public class SimpleFunctionRegistry implements FunctionRegistry, FunctionInspect } if (function != null) { - function = this.wrapInAroundAviceIfNecessary(function); + function = this.wrapInAroundAdviceIfNecessary(function); } return (T) function; @@ -270,7 +270,7 @@ public class SimpleFunctionRegistry implements FunctionRegistry, FunctionInspect * 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) {