This is an automated email from the ASF dual-hosted git repository.

benjobs pushed a commit to branch args
in repository https://gitbox.apache.org/repos/asf/incubator-streampark.git


The following commit(s) were added to refs/heads/args by this push:
     new 394162b9e [Improve] method extractArguments improvement
394162b9e is described below

commit 394162b9e0a67c2bb592fffa125bfd88e1d4d25e
Author: benjobs <[email protected]>
AuthorDate: Sun Oct 29 09:46:52 2023 +0800

    [Improve] method extractArguments improvement
---
 .../main/scala/org/apache/streampark/common/util/PropertiesUtils.scala  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/streampark-common/src/main/scala/org/apache/streampark/common/util/PropertiesUtils.scala
 
b/streampark-common/src/main/scala/org/apache/streampark/common/util/PropertiesUtils.scala
index 11d0d7c0b..b0db39578 100644
--- 
a/streampark-common/src/main/scala/org/apache/streampark/common/util/PropertiesUtils.scala
+++ 
b/streampark-common/src/main/scala/org/apache/streampark/common/util/PropertiesUtils.scala
@@ -321,7 +321,7 @@ object PropertiesUtils extends Logger {
                 value += s" ${iter.next()}"
               }
             }
-            programArgs += value.replaceAll(s"^$p|$p$$", "")
+            programArgs += value.substring(1, value.length - 1)
           case _ => programArgs += v
         }
       }

Reply via email to