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

jianbin pushed a commit to branch docusaurus
in repository https://gitbox.apache.org/repos/asf/incubator-seata-website.git


The following commit(s) were added to refs/heads/docusaurus by this push:
     new 966cfddf7e optimize: optimize some descriptions (#856)
966cfddf7e is described below

commit 966cfddf7e7898315c6c86162079689662315499
Author: liuqiufeng <[email protected]>
AuthorDate: Fri Mar 22 11:34:46 2024 +0800

    optimize: optimize some descriptions (#856)
---
 .../design-more-flexable-application-by-saga.md              |  2 +-
 .../how-to-write-unit-tests.md                               |  2 +-
 i18n/en/docusaurus-plugin-content-blog/seata-tcc.md          | 12 ++++++------
 .../design-more-flexable-application-by-saga.md              |  2 +-
 .../how-to-write-unit-tests.md                               |  4 ++--
 .../docusaurus-plugin-content-blog/seata-at-tcc-saga.md      |  2 +-
 i18n/zh-cn/docusaurus-plugin-content-blog/seata-tcc.md       | 10 +++++-----
 7 files changed, 17 insertions(+), 17 deletions(-)

diff --git 
a/i18n/en/docusaurus-plugin-content-blog/design-more-flexable-application-by-saga.md
 
b/i18n/en/docusaurus-plugin-content-blog/design-more-flexable-application-by-saga.md
index 8b347ef51f..3280e9ff6e 100644
--- 
a/i18n/en/docusaurus-plugin-content-blog/design-more-flexable-application-by-saga.md
+++ 
b/i18n/en/docusaurus-plugin-content-blog/design-more-flexable-application-by-saga.md
@@ -11,7 +11,7 @@ date: 2019-11-04
 
 Seata, short for Simple Extensible Autonomous Transaction Architecture, is an 
all-in-one distributed transaction solution. It provides AT, TCC, Saga, and XA 
transaction modes. This article provides a detailed explanation of the Saga 
mode within Seata, with the project hosted on 
[GitHub](https://github.com/apache/incubator-seata).
 
-Author: Yiyuan (Chen Long), Core Developer of Distributed Transactions at Ant 
Financial, Seata Committer.
+Author: Yiyuan (Chen Long), Core Developer of Distributed Transactions at Ant 
Financial.
 
 <a name="uTwja"></a>
 
diff --git a/i18n/en/docusaurus-plugin-content-blog/how-to-write-unit-tests.md 
b/i18n/en/docusaurus-plugin-content-blog/how-to-write-unit-tests.md
index 069d191ef8..5b79011418 100644
--- a/i18n/en/docusaurus-plugin-content-blog/how-to-write-unit-tests.md
+++ b/i18n/en/docusaurus-plugin-content-blog/how-to-write-unit-tests.md
@@ -2,7 +2,7 @@
 title: How to Write Test Cases in Seata
 keywords: [Seata, unit test, junit, mockito, assertj]
 description: This article mainly introduces the testing frameworks already 
used in Seata and community suggestions on how developers can better write test 
cases.
-author: Wang Zhongxiang - Apache Seata committer, trustdecision Technical 
Expert
+author: Wang Zhongxiang - trustdecision Technical Expert
 date: 2024-02-20
 ---
 
diff --git a/i18n/en/docusaurus-plugin-content-blog/seata-tcc.md 
b/i18n/en/docusaurus-plugin-content-blog/seata-tcc.md
index 13379af672..ef1e1388c0 100644
--- a/i18n/en/docusaurus-plugin-content-blog/seata-tcc.md
+++ b/i18n/en/docusaurus-plugin-content-blog/seata-tcc.md
@@ -185,9 +185,9 @@ public BranchStatus branchCommit(BranchType 
branchType,String xid,long branchId,
     //BusinessActionContext
     BusinessActionContext 
businessActionContext=getBusinessActionContext(xid,branchId,resourceId,
     applicationData);
-    // ... ... 
+    // ... ...
     ret=commitMethod.invoke(targetTCCBean,args);
-    // ... ... 
+    // ... ...
     return 
result?BranchStatus.PhaseTwo_Committed:BranchStatus.PhaseTwo_CommitFailed_Retryable;
     }catch(Throwable t){
     String msg=String.format("commit TCC resource error, resourceId: %s, xid: 
%s.",resourceId,xid);
@@ -218,13 +218,13 @@ As shown in the figure, when `GlobalTransactionalScanner` 
scans the TCC interfac
 In `TccActionInterceptor`, it will also call `ActionInterceptorHandler` to 
execute the interception logic, and the transaction-related processing is in 
the `ActionInterceptorHandler#proceed` method:
 
 ```java
-public Object proceed(Method method, Object[] arguments, String xid, 
TwoPhaseBusinessAction businessAction, 
+public Object proceed(Method method, Object[] arguments, String xid, 
TwoPhaseBusinessAction businessAction,
     Callback<Object> targetCallback) throws Throwable {
     //Get action context from arguments, or create a new one and then reset to 
arguments
     BusinessActionContext actionContext = 
getOrCreateActionContextAndResetToArguments(method.getParameterTypes(), 
arguments);
     //Creating Branch Record
     String branchId = doTccActionLogStore(method, arguments, businessAction, 
actionContext);
-    // ... ... 
+    // ... ...
     try {
     // ... ...
     return targetCallback.execute();
@@ -233,7 +233,7 @@ public Object proceed(Method method, Object[] arguments, 
String xid, TwoPhaseBus
     //to report business action context finally if the 
actionContext.getUpdated() is true
     BusinessActionContextUtil.reportContext(actionContext);
     } finally {
-    // ... ... 
+    // ... ...
     }
     }
 }
@@ -301,5 +301,5 @@ When the two-phase Cancel method is executed, if it is 
found that there is no re
 
 # Author Introduction
 
-Zhang Chenghui, currently working at Ant Group, loves to share technology. He 
is the author of the WeChat public account "Advanced Backend," the author of 
the technical blog (https://objcoding.com/), a Seata Committer, and his GitHub 
ID is: objcoding.
+Zhang Chenghui, currently working at Ant Group, loves to share technology. He 
is the author of the WeChat public account "Advanced Backend," the author of 
the technical blog (https://objcoding.com/), and his GitHub ID is: objcoding.
 
diff --git 
a/i18n/zh-cn/docusaurus-plugin-content-blog/design-more-flexable-application-by-saga.md
 
b/i18n/zh-cn/docusaurus-plugin-content-blog/design-more-flexable-application-by-saga.md
index c1c4e12e96..7c5b34d5a4 100644
--- 
a/i18n/zh-cn/docusaurus-plugin-content-blog/design-more-flexable-application-by-saga.md
+++ 
b/i18n/zh-cn/docusaurus-plugin-content-blog/design-more-flexable-application-by-saga.md
@@ -10,7 +10,7 @@ date: 2019-11-04
 
 Seata 意为:Simple Extensible Autonomous Transaction 
Architecture,是一套一站式分布式事务解决方案,提供了 AT、TCC、Saga 和 XA 事务模式,本文详解其中的 Saga 模式。<br 
/>项目地址:[https://github.com/apache/incubator-seata](https://github.com/apache/incubator-seata)
 
-本文作者:屹远(陈龙),蚂蚁金服分布式事务核心研发,Seata Committer。
+本文作者:屹远(陈龙),蚂蚁金服分布式事务核心研发。
 
 <a name="uTwja"></a>
 
diff --git 
a/i18n/zh-cn/docusaurus-plugin-content-blog/how-to-write-unit-tests.md 
b/i18n/zh-cn/docusaurus-plugin-content-blog/how-to-write-unit-tests.md
index 79a74c040e..8369630281 100644
--- a/i18n/zh-cn/docusaurus-plugin-content-blog/how-to-write-unit-tests.md
+++ b/i18n/zh-cn/docusaurus-plugin-content-blog/how-to-write-unit-tests.md
@@ -2,12 +2,12 @@
 title: 如何在seata中编写测试用例
 keywords: [Seata, unit test, junit, mockito, assertj]
 description: 这篇文章主要介绍了Seata中已经使用的测试用例相关框架,以及社区建议开发者如何更好的编写测试用例
-author: 汪忠祥 - Apache Seata committer,trustdecision 技术专家
+author: 汪忠祥 - trustdecision 技术专家
 date: 2024-02-20
 ---
 
 ## 背景
-随着 Seata 
项目的不断发展和壮大,我们的贡献者群体也在持续扩大。项目的功能不断增强,对于代码质量的要求也在提高。在这个过程中,我们期望每一位贡献者在提交功能代码的同时,能够附带规范、完备的测试用例。
  
+随着 Seata 
项目的不断发展和壮大,我们的贡献者群体也在持续扩大。项目的功能不断增强,对于代码质量的要求也在提高。在这个过程中,我们期望每一位贡献者在提交功能代码的同时,能够附带规范、完备的测试用例。
 
 一个优秀的项目,其完备的单元测试是基本保障。Test-Driven 
Development(TDD)理念已经提出多年,它强调在编写功能代码之前先编写测试用例。通过编写单元测试,开发者可以更深入地理解代码中相关类和方法的作用,掌握核心逻辑,熟悉各种场景的运行情况。同时,单元测试也为开源项目提供了稳定安全的保障,使得项目在接受贡献者代码时,能够确保代码的质量和稳定性。
  
单元测试是质量保障的第一环,有效的单元测试能够提前发现90%以上的代码Bug问题,同时也能防止代码的腐化。在项目重构和演进过程中,单元测试起到了至关重要的作用,它能够确保重构后的代码仍然能够正常工作,不会引入新的Bug。
 
diff --git a/i18n/zh-cn/docusaurus-plugin-content-blog/seata-at-tcc-saga.md 
b/i18n/zh-cn/docusaurus-plugin-content-blog/seata-at-tcc-saga.md
index 0543b96380..9fd1f22048 100644
--- a/i18n/zh-cn/docusaurus-plugin-content-blog/seata-at-tcc-saga.md
+++ b/i18n/zh-cn/docusaurus-plugin-content-blog/seata-at-tcc-saga.md
@@ -7,7 +7,7 @@ date: 2019-08-11
 ---
 # 分布式事务 Seata 及其三种模式详解 | Meetup#3 回顾
 
-作者:屹远(陈龙),蚂蚁金服分布式事务框架核心研发,Seata Committer。
+作者:屹远(陈龙),蚂蚁金服分布式事务框架核心研发。
 <br />本文根据 8 月 11 日 SOFA Meetup#3 广州站 《分布式事务 Seata 
及其三种模式详解》主题分享整理,着重分享分布式事务产生的背景、理论基础,以及 Seata 
分布式事务的原理以及三种模式(AT、TCC、Saga)的分布式事务实现。
 
 现场回顾视频以及 PPT 见文末链接。
diff --git a/i18n/zh-cn/docusaurus-plugin-content-blog/seata-tcc.md 
b/i18n/zh-cn/docusaurus-plugin-content-blog/seata-tcc.md
index c9024fbcfd..dc286fd5cf 100644
--- a/i18n/zh-cn/docusaurus-plugin-content-blog/seata-tcc.md
+++ b/i18n/zh-cn/docusaurus-plugin-content-blog/seata-tcc.md
@@ -195,9 +195,9 @@ public BranchStatus branchCommit(BranchType 
branchType,String xid,long branchId,
     //BusinessActionContext
     BusinessActionContext 
businessActionContext=getBusinessActionContext(xid,branchId,resourceId,
     applicationData);
-    // ... ... 
+    // ... ...
     ret=commitMethod.invoke(targetTCCBean,args);
-    // ... ... 
+    // ... ...
     return 
result?BranchStatus.PhaseTwo_Committed:BranchStatus.PhaseTwo_CommitFailed_Retryable;
     }catch(Throwable t){
     String msg=String.format("commit TCC resource error, resourceId: %s, xid: 
%s.",resourceId,xid);
@@ -236,7 +236,7 @@ public Object proceed(Method 
method,Object[]arguments,String xid,TwoPhaseBusines
     BusinessActionContext 
actionContext=getOrCreateActionContextAndResetToArguments(method.getParameterTypes(),arguments);
     //Creating Branch Record
     String 
branchId=doTccActionLogStore(method,arguments,businessAction,actionContext);
-    // ... ... 
+    // ... ...
     try{
     // ... ...
     return targetCallback.execute();
@@ -245,7 +245,7 @@ public Object proceed(Method 
method,Object[]arguments,String xid,TwoPhaseBusines
     //to report business action context finally if the 
actionContext.getUpdated() is true
     BusinessActionContextUtil.reportContext(actionContext);
     }finally{
-    // ... ... 
+    // ... ...
     }
     }
     }
@@ -316,5 +316,5 @@ Seata 是怎么处理悬挂的呢?
 
 # 作者简介
 
-张乘辉,目前就职于蚂蚁集团,热爱分享技术,微信公众号「后端进阶」作者,技术博客([https://objcoding.com/](https://objcoding.com/))博主,Seata
 Committer,GitHub
+张乘辉,目前就职于蚂蚁集团,热爱分享技术,微信公众号「后端进阶」作者,技术博客([https://objcoding.com/](https://objcoding.com/))博主,GitHub
 ID:objcoding。


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

Reply via email to