This is an automated email from the ASF dual-hosted git repository.
mikexue pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/eventmesh.git
The following commit(s) were added to refs/heads/master by this push:
new 3b4426bad [ISSUE #3503] Replace this call to "replaceAll()" by a call
to the "replace()" method.[PravegaClient]
3b4426bad is described below
commit 3b4426bad257153f232e17eec02ada414368eb8e
Author: Piyush <[email protected]>
AuthorDate: Mon May 22 08:59:35 2023 +0530
[ISSUE #3503] Replace this call to "replaceAll()" by a call to the
"replace()" method.[PravegaClient]
---
.../java/org/apache/eventmesh/storage/pravega/client/PravegaClient.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/eventmesh-storage-plugin/eventmesh-storage-pravega/src/main/java/org/apache/eventmesh/storage/pravega/client/PravegaClient.java
b/eventmesh-storage-plugin/eventmesh-storage-pravega/src/main/java/org/apache/eventmesh/storage/pravega/client/PravegaClient.java
index 7c0cf7829..401a19ea9 100644
---
a/eventmesh-storage-plugin/eventmesh-storage-pravega/src/main/java/org/apache/eventmesh/storage/pravega/client/PravegaClient.java
+++
b/eventmesh-storage-plugin/eventmesh-storage-pravega/src/main/java/org/apache/eventmesh/storage/pravega/client/PravegaClient.java
@@ -188,7 +188,7 @@ public class PravegaClient {
}
private String buildReaderId(String instanceName) {
- return String.format("%s-reader", instanceName).replaceAll("\\(",
"-").replaceAll("\\)", "-");
+ return String.format("%s-reader", instanceName).replace("\\(",
"-").replace("\\)", "-");
}
private void createReaderGroup(String topic, String readerGroupName) {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]