mirror of
https://gitee.com/dromara/hutool.git
synced 2026-02-09 09:16:26 +08:00
add @Serial
This commit is contained in:
@@ -19,6 +19,7 @@ package cn.hutool.v7.socket;
|
||||
import cn.hutool.v7.core.io.IoUtil;
|
||||
import cn.hutool.v7.core.util.RuntimeUtil;
|
||||
|
||||
import java.io.Serial;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
@@ -28,6 +29,7 @@ import java.io.Serializable;
|
||||
*
|
||||
*/
|
||||
public class SocketConfig implements Serializable{
|
||||
@Serial
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** CPU核心数 */
|
||||
|
||||
@@ -18,12 +18,15 @@ package cn.hutool.v7.socket;
|
||||
|
||||
import cn.hutool.v7.core.exception.HutoolException;
|
||||
|
||||
import java.io.Serial;
|
||||
|
||||
/**
|
||||
* Socket异常
|
||||
*
|
||||
* @author Looly
|
||||
*/
|
||||
public class SocketRuntimeException extends HutoolException {
|
||||
@Serial
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user