This is an automated email from the ASF dual-hosted git repository.
apupier pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
The following commit(s) were added to refs/heads/main by this push:
new b3fc48118c Replace deprecated RegExUtils.replacePattern(String,
String, String)
b3fc48118c is described below
commit b3fc48118cf8ca4c038728df804bc67dc2775b16
Author: Aurélien Pupier <[email protected]>
AuthorDate: Thu Oct 23 10:31:33 2025 +0200
Replace deprecated RegExUtils.replacePattern(String, String, String)
Signed-off-by: Aurélien Pupier <[email protected]>
---
.../camel/quarkus/performance/regression/PerfRegressionCommand.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/tooling/perf-regression/src/main/java/org/apache/camel/quarkus/performance/regression/PerfRegressionCommand.java
b/tooling/perf-regression/src/main/java/org/apache/camel/quarkus/performance/regression/PerfRegressionCommand.java
index 6c94c862af..4d892eeb98 100644
---
a/tooling/perf-regression/src/main/java/org/apache/camel/quarkus/performance/regression/PerfRegressionCommand.java
+++
b/tooling/perf-regression/src/main/java/org/apache/camel/quarkus/performance/regression/PerfRegressionCommand.java
@@ -143,7 +143,7 @@ public class PerfRegressionCommand implements Runnable {
String stdout = MvnwCmdHelper.execute(cqVersionUnderTestFolder, args);
// Extract the throughput from a log line like "15:26:23,110 INFO
(main) [i.h.m.RunMojo] Requests/sec: 1153.56"
- String throughput = RegExUtils.replacePattern(stdout, ".*RunMojo]
Requests/sec: ([0-9.]+).*", "$1");
+ String throughput = RegExUtils.replacePattern((CharSequence) stdout,
".*RunMojo] Requests/sec: ([0-9.]+).*", "$1");
try {
return US_NUMBER_FORMAT.parse(throughput).doubleValue();