Use comma instead of pipe (better in URL path)

This commit is contained in:
Dave Syer
2018-09-17 10:58:25 +01:00
parent e1c2610105
commit f0e2f0b975
2 changed files with 2 additions and 3 deletions

View File

@@ -379,8 +379,7 @@ class FunctionCreatorConfiguration {
return;
}
FunctionRegistration<Object> registration = new FunctionRegistration<Object>(
bean).names(
FunctionProperties.functionName(counter.getAndIncrement()));
bean, FunctionProperties.functionName(counter.getAndIncrement()));
if (this.runner != null) {
if (this.runner.containsBean(FunctionInspector.class.getName())) {
Object inspector = this.runner

View File

@@ -82,7 +82,7 @@ public class FunctionProperties {
for (int i = 0; i <= StringUtils.countOccurrencesOf(name, ","); i++) {
names.add("function" + i);
}
return StringUtils.collectionToDelimitedString(names, "|");
return StringUtils.collectionToDelimitedString(names, ",");
}
public static String functionName(int value) {