polishing backport comments

This commit is contained in:
Oleg Zhurakousky
2021-03-19 16:16:46 +01:00
parent 3c77e89de7
commit e0fdaa5b39

View File

@@ -762,10 +762,7 @@ public class FunctionConfiguration {
private void determineFunctionName(FunctionCatalog catalog, Environment environment) {
//=======
// private boolean determineFunctionName(FunctionCatalog catalog, Environment environment) {
boolean autodetect = environment.getProperty("spring.cloud.stream.function.autodetect", boolean.class, true);
//>>>>>>> 9db08ec6... GH-2035 Add autodetect property to give user control over function autodetection
String definition = streamFunctionProperties.getDefinition();
if (!StringUtils.hasText(definition)) {
definition = environment.getProperty("spring.cloud.function.definition");