Copilot commented on code in PR #7894:
URL: https://github.com/apache/incubator-seata/pull/7894#discussion_r2644856163
##########
saga/seata-saga-engine/src/main/java/org/apache/seata/saga/engine/repo/StateMachineRepository.java:
##########
@@ -60,7 +60,7 @@ public interface StateMachineRepository {
* @param stateMachine stateMachine
* @return the state machine
*/
- StateMachine registryStateMachine(StateMachine stateMachine);
+ StateMachine registerStateMachine(StateMachine stateMachine);
/**
* Registry by resources.
Review Comment:
The JavaDoc summary still says "Registry by resources" but the method name
has been changed to "registerByResources". The documentation should be updated
to match the new method name, for example: "Register state machines by
resources."
```suggestion
* Register state machines by resources.
```
##########
compatible/src/main/java/io/seata/saga/engine/repo/StateMachineRepository.java:
##########
@@ -60,7 +60,7 @@ public interface StateMachineRepository {
* @param stateMachine stateMachine
* @return the state machine
*/
- StateMachine registryStateMachine(StateMachine stateMachine);
+ StateMachine registerStateMachine(StateMachine stateMachine);
/**
* Registry by resources.
Review Comment:
The JavaDoc summary still says "Registry by resources" but the method name
has been changed to "registerByResources". The documentation should be updated
to match the new method name, for example: "Register state machines by
resources."
```suggestion
* Register state machines by resources.
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]