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 3c839a1f4 Update EventMeshVersion.java
new 446553868 Merge pull request #3633 from harshithasudhakar/patch-6
3c839a1f4 is described below
commit 3c839a1f48b1d48dd5b42730bd1de6d25a1fa839
Author: Harshitha Sudhakar
<[email protected]>
AuthorDate: Wed Apr 5 16:49:08 2023 +0530
Update EventMeshVersion.java
Replaced "replaceAll()" with "replace()"
---
.../org/apache/eventmesh/runtime/constants/EventMeshVersion.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git
a/eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/constants/EventMeshVersion.java
b/eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/constants/EventMeshVersion.java
index 992f7bdd2..de985609a 100644
---
a/eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/constants/EventMeshVersion.java
+++
b/eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/constants/EventMeshVersion.java
@@ -22,9 +22,9 @@ public class EventMeshVersion {
public static final String CURRENT_VERSION = Version.V3_0_0.name();
public static String getCurrentVersionDesc() {
- return CURRENT_VERSION.replaceAll("V", "")
- .replaceAll("_", ".")
- .replaceAll("_SNAPSHOT", "-SNAPSHOT");
+ return CURRENT_VERSION.replace("V", "")
+ .replace("_", ".")
+ .replace("_SNAPSHOT", "-SNAPSHOT");
}
public enum Version {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]