chainName补上@Deprecated标记

This commit is contained in:
everywhere.z
2024-12-06 17:24:04 +08:00
parent b8b1cc0048
commit 5c53a07b1b
2 changed files with 2 additions and 0 deletions

View File

@@ -128,6 +128,7 @@ public class LiteFlowChainELBuilder {
* @return LiteFlowChainELBuilder
* @deprecated 请使用 {@link #setChainId(String)}
*/
@Deprecated
public LiteFlowChainELBuilder setChainName(String chainName) {
if (FlowBus.containChain(chainName)) {
this.chain = FlowBus.getChain(chainName);

View File

@@ -81,6 +81,7 @@ public class Chain implements Executable{
* @param chainName chainId
* @deprecated 请使用 {@link #setChainId(String)}
*/
@Deprecated
public void setChainName(String chainName) {
this.chainId = chainName;
}