Skip to content

Commit a6a5573

Browse files
authored
Fix xxl-job latest dep test (#14515)
1 parent c607938 commit a6a5573

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

instrumentation/xxl-job/xxl-job-common/testing/src/main/java/io/opentelemetry/instrumentation/xxljob/ReflectiveMethodsFactory.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ public void initMethod() {}
2121
public void destroyMethod() {}
2222

2323
public ReturnT<String> echo(String param) {
24-
return new ReturnT<>("echo: " + param);
24+
ReturnT<String> result = new ReturnT<>();
25+
result.setContent("echo: " + param);
26+
return result;
2527
}
2628
}
2729

0 commit comments

Comments
 (0)