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

jimin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-seata-samples.git


The following commit(s) were added to refs/heads/master by this push:
     new dcce531f optimize: Annotations adjusted to English (#718)
dcce531f is described below

commit dcce531f5fec93c40305f4fa26246c52fc6d0d32
Author: shukai <[email protected]>
AuthorDate: Mon Oct 13 15:07:22 2025 +0800

    optimize: Annotations adjusted to English (#718)
---
 .../seata/interceptor/FeignRequestInterceptor.java     | 18 +++++++++++++++++-
 .../seata/interceptor/FeignRequestInterceptor.java     | 18 +++++++++++++++++-
 .../seata/interceptor/FeignRequestInterceptor.java     | 18 +++++++++++++++++-
 .../seata/interceptor/FeignRequestInterceptor.java     | 18 +++++++++++++++++-
 4 files changed, 68 insertions(+), 4 deletions(-)

diff --git 
a/xa-sample/springboot-feign-seata-xa/springboot-feign-seata-account/src/main/java/org/apache/seata/interceptor/FeignRequestInterceptor.java
 
b/xa-sample/springboot-feign-seata-xa/springboot-feign-seata-account/src/main/java/org/apache/seata/interceptor/FeignRequestInterceptor.java
index f7ff106a..bb47df12 100644
--- 
a/xa-sample/springboot-feign-seata-xa/springboot-feign-seata-account/src/main/java/org/apache/seata/interceptor/FeignRequestInterceptor.java
+++ 
b/xa-sample/springboot-feign-seata-xa/springboot-feign-seata-account/src/main/java/org/apache/seata/interceptor/FeignRequestInterceptor.java
@@ -1,3 +1,19 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 package org.apache.seata.interceptor;
 
 import org.apache.seata.core.context.RootContext;
@@ -11,7 +27,7 @@ public class FeignRequestInterceptor implements 
RequestInterceptor {
 
     @Override
     public void apply(RequestTemplate template) {
-        // 从全局事务上下文中获取 TX_XID 并添加到 Feign 请求的 Header 中
+        // Obtain the TX_XID from the global transaction context and add it to 
the Feign request header
         String xid = RootContext.getXID();
         if (xid != null) {
             template.header(RootContext.KEY_XID, xid);
diff --git 
a/xa-sample/springboot-feign-seata-xa/springboot-feign-seata-business/src/main/java/org/apache/seata/interceptor/FeignRequestInterceptor.java
 
b/xa-sample/springboot-feign-seata-xa/springboot-feign-seata-business/src/main/java/org/apache/seata/interceptor/FeignRequestInterceptor.java
index f7ff106a..bb47df12 100644
--- 
a/xa-sample/springboot-feign-seata-xa/springboot-feign-seata-business/src/main/java/org/apache/seata/interceptor/FeignRequestInterceptor.java
+++ 
b/xa-sample/springboot-feign-seata-xa/springboot-feign-seata-business/src/main/java/org/apache/seata/interceptor/FeignRequestInterceptor.java
@@ -1,3 +1,19 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 package org.apache.seata.interceptor;
 
 import org.apache.seata.core.context.RootContext;
@@ -11,7 +27,7 @@ public class FeignRequestInterceptor implements 
RequestInterceptor {
 
     @Override
     public void apply(RequestTemplate template) {
-        // 从全局事务上下文中获取 TX_XID 并添加到 Feign 请求的 Header 中
+        // Obtain the TX_XID from the global transaction context and add it to 
the Feign request header
         String xid = RootContext.getXID();
         if (xid != null) {
             template.header(RootContext.KEY_XID, xid);
diff --git 
a/xa-sample/springboot-feign-seata-xa/springboot-feign-seata-order/src/main/java/org/apache/seata/interceptor/FeignRequestInterceptor.java
 
b/xa-sample/springboot-feign-seata-xa/springboot-feign-seata-order/src/main/java/org/apache/seata/interceptor/FeignRequestInterceptor.java
index f7ff106a..bb47df12 100644
--- 
a/xa-sample/springboot-feign-seata-xa/springboot-feign-seata-order/src/main/java/org/apache/seata/interceptor/FeignRequestInterceptor.java
+++ 
b/xa-sample/springboot-feign-seata-xa/springboot-feign-seata-order/src/main/java/org/apache/seata/interceptor/FeignRequestInterceptor.java
@@ -1,3 +1,19 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 package org.apache.seata.interceptor;
 
 import org.apache.seata.core.context.RootContext;
@@ -11,7 +27,7 @@ public class FeignRequestInterceptor implements 
RequestInterceptor {
 
     @Override
     public void apply(RequestTemplate template) {
-        // 从全局事务上下文中获取 TX_XID 并添加到 Feign 请求的 Header 中
+        // Obtain the TX_XID from the global transaction context and add it to 
the Feign request header
         String xid = RootContext.getXID();
         if (xid != null) {
             template.header(RootContext.KEY_XID, xid);
diff --git 
a/xa-sample/springboot-feign-seata-xa/springboot-feign-seata-storage/src/main/java/org/apache/seata/interceptor/FeignRequestInterceptor.java
 
b/xa-sample/springboot-feign-seata-xa/springboot-feign-seata-storage/src/main/java/org/apache/seata/interceptor/FeignRequestInterceptor.java
index f7ff106a..bb47df12 100644
--- 
a/xa-sample/springboot-feign-seata-xa/springboot-feign-seata-storage/src/main/java/org/apache/seata/interceptor/FeignRequestInterceptor.java
+++ 
b/xa-sample/springboot-feign-seata-xa/springboot-feign-seata-storage/src/main/java/org/apache/seata/interceptor/FeignRequestInterceptor.java
@@ -1,3 +1,19 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 package org.apache.seata.interceptor;
 
 import org.apache.seata.core.context.RootContext;
@@ -11,7 +27,7 @@ public class FeignRequestInterceptor implements 
RequestInterceptor {
 
     @Override
     public void apply(RequestTemplate template) {
-        // 从全局事务上下文中获取 TX_XID 并添加到 Feign 请求的 Header 中
+        // Obtain the TX_XID from the global transaction context and add it to 
the Feign request header
         String xid = RootContext.getXID();
         if (xid != null) {
             template.header(RootContext.KEY_XID, xid);


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to