Merge pull request #763 from GreenRover/main

Performance improvements
This commit is contained in:
Oleg Zhurakousky
2021-11-08 11:14:21 +01:00
committed by GitHub
3 changed files with 3 additions and 3 deletions

View File

@@ -1050,7 +1050,7 @@ public class SimpleFunctionRegistry implements FunctionRegistry, FunctionInspect
if (this.isWrapConvertedInputInMessage(convertedInput)) {
convertedInput = MessageBuilder.withPayload(convertedInput).build();
}
Assert.notNull(convertedInput, "Failed to convert input: " + input + " to " + type);
Assert.notNull(convertedInput, () -> "Failed to convert input: " + input + " to " + type);
return convertedInput;
}