Skip to content

Commit b9a2ef1

Browse files
committed
update EzyClients
1 parent fd5a2d6 commit b9a2ef1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/java/com/tvd12/ezyfoxserver/client/EzyClients.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ public EzyClient newClient(
3030
EzyTransportType transportType,
3131
EzyClientConfig config) {
3232
synchronized (clients) {
33-
return newClient0(transportType, config);
33+
return doNewClient(transportType, config);
3434
}
3535
}
3636

37-
private EzyClient newClient0(
37+
private EzyClient doNewClient(
3838
EzyTransportType transportType,
3939
EzyClientConfig config) {
4040
String clientName = config.getClientName();
@@ -61,7 +61,7 @@ public EzyClient newDefaultClient(
6161
EzyTransportType transportType,
6262
EzyClientConfig config) {
6363
synchronized (clients) {
64-
EzyClient client = newClient0(transportType, config);
64+
EzyClient client = doNewClient(transportType, config);
6565
defaultClientName = client.getName();
6666
return client;
6767
}

0 commit comments

Comments
 (0)