in alpha/alpha-spec-tcc-db/src/main/java/org/apache/servicecomb/pack/alpha/spec/tcc/db/jpa/EventConverter.java [177:188]
public static String getMethodName(String methodInfo, boolean isConfirm) {
String[] methods = methodInfo.split(",");
if (methods.length == 2 && methods[0].startsWith("confirm=") && methods[1].startsWith("cancel=")) {
String confirmMethod = methods[0].substring(8);
String cancelMethod = methods[1].substring(7);
if (isConfirm) return confirmMethod;
else return cancelMethod;
} else {
throw new IllegalArgumentException("MethodInfo: " + methodInfo + ", has some bad formats.");
}
}