[*] 日常优化

This commit is contained in:
acgist
2023-10-27 07:29:59 +08:00
parent d2a2181a23
commit ed6fa89ea0

View File

@@ -45,9 +45,7 @@ public class Session implements Closeable {
* @return 是否通过 * @return 是否通过
*/ */
public boolean authenticate(Client client) { public boolean authenticate(Client client) {
return return this.source == client || this.target == client;
this.source == client ||
this.target == client;
} }
/** /**