From 9b9ff4edc2bd6898c24cbbe6986ef213256104e9 Mon Sep 17 00:00:00 2001 From: slievrly Date: Mon, 10 Feb 2025 14:31:03 +0800 Subject: [PATCH] optimize license and notice --- LICENSE | 10 +++++++++- NOTICE | 10 ++++++++++ .../src/render/PathMap.js | 2 +- 3 files changed, 20 insertions(+), 2 deletions(-) diff --git a/LICENSE b/LICENSE index 74bd0cb4866..329c8567032 100644 --- a/LICENSE +++ b/LICENSE @@ -208,6 +208,9 @@ subcomponents is subject to the terms and conditions of the following licenses. + ======================================================================== + MIT licenses + ======================================================================== For the org.apache.seata.sqlparser.antlr.mysql.antlr.MySqlLexer.g4 and org.apache.seata.sqlparser.antlr.mysql.antlr.MySqlParser.g4: @@ -235,4 +238,9 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - THE SOFTWARE. \ No newline at end of file + THE SOFTWARE. + + ======================================================================== + Apache 2.0 licenses + ======================================================================== + For the mvnw and mvnw.cmd files, they are copied from https://github.com/apache/maven-wrapper. The code is licensed under an Apache 2.0 License. \ No newline at end of file diff --git a/NOTICE b/NOTICE index f06b711f2df..2dabb9df61c 100644 --- a/NOTICE +++ b/NOTICE @@ -3,3 +3,13 @@ Copyright 2023-2024 The Apache Software Foundation This product includes software developed at The Apache Software Foundation (http://www.apache.org/). +----------------------------------------------------------------------- +Apache Maven Wrapper +Copyright 2013-2022 The Apache Software Foundation + +This product includes software developed at +The Apache Software Foundation (http://www.apache.org/). + +The original idea and initial implementation of the maven-wrapper module is derived +from the Gradle Wrapper which was written originally by Hans Dockter and Adam Murdoch. +Copyright 2007 the original author or authors. \ No newline at end of file diff --git a/saga/seata-saga-statemachine-designer/src/render/PathMap.js b/saga/seata-saga-statemachine-designer/src/render/PathMap.js index 863bc961761..b5ba96ca9c7 100644 --- a/saga/seata-saga-statemachine-designer/src/render/PathMap.js +++ b/saga/seata-saga-statemachine-designer/src/render/PathMap.js @@ -40,7 +40,7 @@ function replacer(all, key, obj) { } }); //Return the final alternative result, or all if result has not changed - return result == null || result === obj ? all : result; + return `${result == null || result === obj ? all : result}`; } function format(str, obj) {