Skip to content

Commit ee961bf

Browse files
committed
修改方法名 SocketManager 原方法名:removeKeys -> 新方法名:remoteKeys
方法并没有任何移除的操作,只有获取操作
1 parent ac5791f commit ee961bf

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

txlcn-txmsg-netty/src/main/java/com/codingapi/txlcn/txmsg/netty/bean/SocketManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ public boolean noConnect(SocketAddress socketAddress) {
172172
* @param moduleName 模块名称
173173
* @return remoteKeys
174174
*/
175-
public List<String> removeKeys(String moduleName) {
175+
public List<String> remoteKeys(String moduleName) {
176176
List<String> allKeys = new ArrayList<>();
177177
for (Channel channel : channels) {
178178
if (moduleName.equals(getModuleName(channel))) {

txlcn-txmsg-netty/src/main/java/com/codingapi/txlcn/txmsg/netty/impl/NettyRpcClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ public List<String> loadAllRemoteKey() {
9393

9494
@Override
9595
public List<String> remoteKeys(String moduleName) {
96-
return SocketManager.getInstance().removeKeys(moduleName);
96+
return SocketManager.getInstance().remoteKeys(moduleName);
9797
}
9898

9999

0 commit comments

Comments
 (0)