Revert "Use comma instead of pipe (better in URL path)"

This reverts commit f0e2f0b975.
This commit is contained in:
Dave Syer
2018-09-17 11:22:17 +01:00
parent 1061c1d525
commit 4311aa949c
2 changed files with 3 additions and 2 deletions

View File

@@ -379,7 +379,8 @@ class FunctionCreatorConfiguration {
return;
}
FunctionRegistration<Object> registration = new FunctionRegistration<Object>(
bean, FunctionProperties.functionName(counter.getAndIncrement()));
bean).names(
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) {