Skip to content

Commit 247c1a0

Browse files
optimize: Correct word spelling errors (apache#6889)
1 parent 851e5de commit 247c1a0

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

changes/en-us/2.x.md

+2
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ Add changes here for all PR submitted to the 2.x branch.
1313
- [[#6826](https://github.com/apache/incubator-seata/pull/6826)] remove the branch registration operation of the XA read-only transaction
1414
- [[#6874](https://github.com/apache/incubator-seata/pull/6874)] modify the version to 2.3.0-SNAPSHOT
1515
- [[#6892](https://github.com/apache/incubator-seata/pull/6892)] upgrade npmjs version
16+
- [[#6889](https://github.com/apache/incubator-seata/pull/6889)] Correct word spelling errors
1617

1718

1819
### refactor:
@@ -28,6 +29,7 @@ Thanks to these contributors for their code commits. Please report an unintended
2829
- [slievrly](https://github.com/slievrly)
2930
- [GoodBoyCoder](https://github.com/GoodBoyCoder)
3031
- [funky-eyes](https://github.com/funky-eyes)
32+
- [MaoMaoandSnail](https://github.com/MaoMaoandSnail)
3133
- [yougecn](https://github.com/yougecn)
3234

3335

changes/zh-cn/2.x.md

+3
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
- [[#6826](https://github.com/apache/incubator-seata/pull/6826)] 移除只读XA事务的分支注册操作
1313
- [[#6874](https://github.com/apache/incubator-seata/pull/6874)] modify the version to 2.3.0-SNAPSHOT
1414
- [[#6892](https://github.com/apache/incubator-seata/pull/6892)] 升级 npmjs 版本
15+
- [[#6889](https://github.com/apache/incubator-seata/pull/6889)] 修正单词拼写错误
1516

1617

1718
### refactor:
@@ -28,8 +29,10 @@
2829
- [slievrly](https://github.com/slievrly)
2930
- [GoodBoyCoder](https://github.com/GoodBoyCoder)
3031
- [funky-eyes](https://github.com/funky-eyes)
32+
- [MaoMaoandSnail](https://github.com/MaoMaoandSnail)
3133
- [yougecn](https://github.com/yougecn)
3234

3335

36+
3437
同时,我们收到了社区反馈的很多有价值的issue和建议,非常感谢大家。
3538

saga/seata-saga-engine/src/main/java/org/apache/seata/saga/engine/impl/ProcessCtrlStateMachineEngine.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ protected StateMachineInstance forwardInternal(String stateMachineInstId, Map<St
263263
if (replaceParams != null) {
264264
contextVariables.putAll(replaceParams);
265265
}
266-
putBusinesskeyToContextariables(stateMachineInstance, contextVariables);
266+
putBusinessKeyToContextVariables(stateMachineInstance, contextVariables);
267267

268268
ConcurrentHashMap<String, Object> concurrentContextVariables = new ConcurrentHashMap<>(contextVariables.size());
269269
nullSafeCopy(contextVariables, concurrentContextVariables);
@@ -508,7 +508,7 @@ public StateMachineInstance compensateInternal(String stateMachineInstId, Map<St
508508
if (replaceParams != null) {
509509
contextVariables.putAll(replaceParams);
510510
}
511-
putBusinesskeyToContextariables(stateMachineInstance, contextVariables);
511+
putBusinessKeyToContextVariables(stateMachineInstance, contextVariables);
512512

513513
ConcurrentHashMap<String, Object> concurrentContextVariables = new ConcurrentHashMap<>(contextVariables.size());
514514
nullSafeCopy(contextVariables, concurrentContextVariables);
@@ -696,7 +696,7 @@ private String buildExceptionMessage(StateMachineInstance stateMachineInstance,
696696
return stringBuilder.toString();
697697
}
698698

699-
private void putBusinesskeyToContextariables(StateMachineInstance stateMachineInstance,
699+
private void putBusinessKeyToContextVariables(StateMachineInstance stateMachineInstance,
700700
Map<String, Object> contextVariables) {
701701
if (StringUtils.hasText(stateMachineInstance.getBusinessKey()) && !contextVariables.containsKey(
702702
DomainConstants.VAR_NAME_BUSINESSKEY)) {

0 commit comments

Comments
 (0)