doc: 调整代码文档注释格式.

This commit is contained in:
2024-10-05 13:27:43 +08:00
parent 3e8b90963b
commit 0cc25559d2
52 changed files with 54 additions and 1 deletions

View File

@@ -4,6 +4,7 @@ import java.util.Collection;
/**
* 断言
*
* @author <a href="mailto:serliunx@yeah.net">SerLiunx</a>
* @version 1.0.0
* @since 2024/5/15
@@ -17,8 +18,9 @@ public final class Assert {
}
public static void notNull(Object object, String msg) {
if(object == null)
if(object == null) {
throw new NullPointerException(msg);
}
}
public static void notNull(Object...objects) {