From 87633e20624a50e2b3f29d255e8d57a2b87ccb98 Mon Sep 17 00:00:00 2001 From: paulch <14127153+paulch@user.noreply.gitee.com> Date: Thu, 27 Jun 2024 09:41:59 +0800 Subject: [PATCH] java doc fix --- bonus-api/bonus-api-system/pom.xml | 20 +++-- bonus-auth/pom.xml | 35 ++++++--- .../core/exception/GlobalException.java | 6 +- .../core/exception/ServiceException.java | 6 +- .../bonus/common/core/text/StrFormatter.java | 10 +-- .../bonus/common/core/utils/ServletUtils.java | 18 ++--- .../bonus/common/core/utils/StringUtils.java | 74 +++++++++---------- .../common/core/utils/file/FileUtils.java | 14 ++-- .../common/core/utils/poi/ExcelUtil.java | 45 +++++------ .../bonus/common/core/utils/uuid/UUID.java | 24 +++--- .../common/core/web/page/TableSupport.java | 4 +- bonus-common/pom.xml | 23 ++++++ pom.xml | 48 ++++++------ 13 files changed, 180 insertions(+), 147 deletions(-) diff --git a/bonus-api/bonus-api-system/pom.xml b/bonus-api/bonus-api-system/pom.xml index 2cf3565..a6915d9 100644 --- a/bonus-api/bonus-api-system/pom.xml +++ b/bonus-api/bonus-api-system/pom.xml @@ -8,7 +8,7 @@ 24.6.0 4.0.0 - + bonus-api-system @@ -16,13 +16,23 @@ - + com.bonus bonus-common-core - - - \ No newline at end of file + + + + bns-releases + http://192.168.0.56:8081/repository/maven-releases/ + + + bns-snapshots + http://192.168.0.56:8081/repository/maven-snapshots/ + + + + diff --git a/bonus-auth/pom.xml b/bonus-auth/pom.xml index e6ad4dd..0f71fb5 100644 --- a/bonus-auth/pom.xml +++ b/bonus-auth/pom.xml @@ -7,53 +7,53 @@ 24.6.0 4.0.0 - + bonus-auth - + bonus-auth认证授权中心 - + - + com.alibaba.cloud spring-cloud-starter-alibaba-nacos-discovery - + com.alibaba.cloud spring-cloud-starter-alibaba-nacos-config - + com.alibaba.cloud spring-cloud-starter-alibaba-sentinel - + org.springframework.boot spring-boot-starter-web - + org.springframework.boot spring-boot-starter-actuator - + com.bonus bonus-common-security - + - + ${project.artifactId} @@ -70,5 +70,16 @@ - + + + + bns-releases + http://192.168.0.56:8081/repository/maven-releases/ + + + bns-snapshots + http://192.168.0.56:8081/repository/maven-snapshots/ + + + diff --git a/bonus-common/bonus-common-core/src/main/java/com/bonus/common/core/exception/GlobalException.java b/bonus-common/bonus-common-core/src/main/java/com/bonus/common/core/exception/GlobalException.java index 8d8ea4e..416f741 100644 --- a/bonus-common/bonus-common-core/src/main/java/com/bonus/common/core/exception/GlobalException.java +++ b/bonus-common/bonus-common-core/src/main/java/com/bonus/common/core/exception/GlobalException.java @@ -2,7 +2,7 @@ package com.bonus.common.core.exception; /** * 全局异常 - * + * * @author bonus */ public class GlobalException extends RuntimeException @@ -16,8 +16,6 @@ public class GlobalException extends RuntimeException /** * 错误明细,内部调试错误 - * - * 和 {@link CommonResult#getDetailMessage()} 一致的设计 */ private String detailMessage; @@ -55,4 +53,4 @@ public class GlobalException extends RuntimeException this.message = message; return this; } -} \ No newline at end of file +} diff --git a/bonus-common/bonus-common-core/src/main/java/com/bonus/common/core/exception/ServiceException.java b/bonus-common/bonus-common-core/src/main/java/com/bonus/common/core/exception/ServiceException.java index 84e549d..c3dbc97 100644 --- a/bonus-common/bonus-common-core/src/main/java/com/bonus/common/core/exception/ServiceException.java +++ b/bonus-common/bonus-common-core/src/main/java/com/bonus/common/core/exception/ServiceException.java @@ -2,7 +2,7 @@ package com.bonus.common.core.exception; /** * 业务异常 - * + * * @author bonus */ public final class ServiceException extends RuntimeException @@ -21,8 +21,6 @@ public final class ServiceException extends RuntimeException /** * 错误明细,内部调试错误 - * - * 和 {@link CommonResult#getDetailMessage()} 一致的设计 */ private String detailMessage; @@ -71,4 +69,4 @@ public final class ServiceException extends RuntimeException this.detailMessage = detailMessage; return this; } -} \ No newline at end of file +} diff --git a/bonus-common/bonus-common-core/src/main/java/com/bonus/common/core/text/StrFormatter.java b/bonus-common/bonus-common-core/src/main/java/com/bonus/common/core/text/StrFormatter.java index 6be699a..e58f1cd 100644 --- a/bonus-common/bonus-common-core/src/main/java/com/bonus/common/core/text/StrFormatter.java +++ b/bonus-common/bonus-common-core/src/main/java/com/bonus/common/core/text/StrFormatter.java @@ -4,7 +4,7 @@ import com.bonus.common.core.utils.StringUtils; /** * 字符串格式化 - * + * * @author bonus */ public class StrFormatter @@ -19,10 +19,10 @@ public class StrFormatter * 此方法只是简单将占位符 {} 按照顺序替换为参数
* 如果想输出 {} 使用 \\转义 { 即可,如果想输出 {} 之前的 \ 使用双转义符 \\\\ 即可
* 例:
- * 通常使用:format("this is {} for {}", "a", "b") -> this is a for b
- * 转义{}: format("this is \\{} for {}", "a", "b") -> this is \{} for a
- * 转义\: format("this is \\\\{} for {}", "a", "b") -> this is \a for b
- * + * 通常使用:format("this is {} for {}", "a", "b") - this is a for b
+ * 转义{}: format("this is \\{} for {}", "a", "b") - this is \{} for a
+ * 转义\: format("this is \\\\{} for {}", "a", "b") - this is \a for b
+ * * @param strPattern 字符串模板 * @param argArray 参数列表 * @return 结果 diff --git a/bonus-common/bonus-common-core/src/main/java/com/bonus/common/core/utils/ServletUtils.java b/bonus-common/bonus-common-core/src/main/java/com/bonus/common/core/utils/ServletUtils.java index 5ed96d0..b0df68b 100644 --- a/bonus-common/bonus-common-core/src/main/java/com/bonus/common/core/utils/ServletUtils.java +++ b/bonus-common/bonus-common-core/src/main/java/com/bonus/common/core/utils/ServletUtils.java @@ -29,7 +29,7 @@ import reactor.core.publisher.Mono; /** * 客户端工具类 - * + * * @author bonus */ public class ServletUtils @@ -189,7 +189,7 @@ public class ServletUtils /** * 将字符串渲染到客户端 - * + * * @param response 渲染对象 * @param string 待渲染的字符串 */ @@ -210,7 +210,7 @@ public class ServletUtils /** * 是否是Ajax异步请求 - * + * * @param request */ public static boolean isAjaxRequest(HttpServletRequest request) @@ -239,7 +239,7 @@ public class ServletUtils /** * 内容编码 - * + * * @param str 内容 * @return 编码后的内容 */ @@ -257,7 +257,7 @@ public class ServletUtils /** * 内容解码 - * + * * @param str 内容 * @return 解码后的内容 */ @@ -278,7 +278,7 @@ public class ServletUtils * * @param response ServerHttpResponse * @param value 响应内容 - * @return Mono + * @return Mono */ public static Mono webFluxResponseWriter(ServerHttpResponse response, Object value) { @@ -291,7 +291,7 @@ public class ServletUtils * @param response ServerHttpResponse * @param code 响应状态码 * @param value 响应内容 - * @return Mono + * @return Mono<Void> */ public static Mono webFluxResponseWriter(ServerHttpResponse response, Object value, int code) { @@ -305,7 +305,7 @@ public class ServletUtils * @param status http状态码 * @param code 响应状态码 * @param value 响应内容 - * @return Mono + * @return Mono<Void> */ public static Mono webFluxResponseWriter(ServerHttpResponse response, HttpStatus status, Object value, int code) { @@ -320,7 +320,7 @@ public class ServletUtils * @param status http状态码 * @param code 响应状态码 * @param value 响应内容 - * @return Mono + * @return Mono<Void> */ public static Mono webFluxResponseWriter(ServerHttpResponse response, String contentType, HttpStatus status, Object value, int code) { diff --git a/bonus-common/bonus-common-core/src/main/java/com/bonus/common/core/utils/StringUtils.java b/bonus-common/bonus-common-core/src/main/java/com/bonus/common/core/utils/StringUtils.java index e2f7488..af46199 100644 --- a/bonus-common/bonus-common-core/src/main/java/com/bonus/common/core/utils/StringUtils.java +++ b/bonus-common/bonus-common-core/src/main/java/com/bonus/common/core/utils/StringUtils.java @@ -9,7 +9,7 @@ import com.bonus.common.core.text.StrFormatter; /** * 字符串工具类 - * + * * @author bonus */ public class StringUtils extends org.apache.commons.lang3.StringUtils @@ -25,7 +25,7 @@ public class StringUtils extends org.apache.commons.lang3.StringUtils /** * 获取参数不为空值 - * + * * @param value defaultValue 要判断的value * @return value 返回值 */ @@ -36,7 +36,7 @@ public class StringUtils extends org.apache.commons.lang3.StringUtils /** * * 判断一个Collection是否为空, 包含List,Set,Queue - * + * * @param coll 要判断的Collection * @return true:为空 false:非空 */ @@ -47,7 +47,7 @@ public class StringUtils extends org.apache.commons.lang3.StringUtils /** * * 判断一个Collection是否非空,包含List,Set,Queue - * + * * @param coll 要判断的Collection * @return true:非空 false:空 */ @@ -58,7 +58,7 @@ public class StringUtils extends org.apache.commons.lang3.StringUtils /** * * 判断一个对象数组是否为空 - * + * * @param objects 要判断的对象数组 ** @return true:为空 false:非空 */ @@ -69,7 +69,7 @@ public class StringUtils extends org.apache.commons.lang3.StringUtils /** * * 判断一个对象数组是否非空 - * + * * @param objects 要判断的对象数组 * @return true:非空 false:空 */ @@ -80,7 +80,7 @@ public class StringUtils extends org.apache.commons.lang3.StringUtils /** * * 判断一个Map是否为空 - * + * * @param map 要判断的Map * @return true:为空 false:非空 */ @@ -91,7 +91,7 @@ public class StringUtils extends org.apache.commons.lang3.StringUtils /** * * 判断一个Map是否为空 - * + * * @param map 要判断的Map * @return true:非空 false:空 */ @@ -102,7 +102,7 @@ public class StringUtils extends org.apache.commons.lang3.StringUtils /** * * 判断一个字符串是否为空串 - * + * * @param str String * @return true:为空 false:非空 */ @@ -113,7 +113,7 @@ public class StringUtils extends org.apache.commons.lang3.StringUtils /** * * 判断一个字符串是否为非空串 - * + * * @param str String * @return true:非空串 false:空串 */ @@ -124,7 +124,7 @@ public class StringUtils extends org.apache.commons.lang3.StringUtils /** * * 判断一个对象是否为空 - * + * * @param object Object * @return true:为空 false:非空 */ @@ -135,7 +135,7 @@ public class StringUtils extends org.apache.commons.lang3.StringUtils /** * * 判断一个对象是否非空 - * + * * @param object Object * @return true:非空 false:空 */ @@ -146,7 +146,7 @@ public class StringUtils extends org.apache.commons.lang3.StringUtils /** * * 判断一个对象是否是数组类型(Java基本型别的数组) - * + * * @param object 对象 * @return true:是数组 false:不是数组 */ @@ -208,7 +208,7 @@ public class StringUtils extends org.apache.commons.lang3.StringUtils /** * 截取字符串 - * + * * @param str 字符串 * @param start 开始 * @return 结果 @@ -239,7 +239,7 @@ public class StringUtils extends org.apache.commons.lang3.StringUtils /** * 截取字符串 - * + * * @param str 字符串 * @param start 开始 * @param end 结束 @@ -285,7 +285,7 @@ public class StringUtils extends org.apache.commons.lang3.StringUtils /** * 判断是否为空,并且不是空白字符 - * + * * @param str 要判断的value * @return 结果 */ @@ -308,14 +308,14 @@ public class StringUtils extends org.apache.commons.lang3.StringUtils } /** - * 格式化文本, {} 表示占位符
- * 此方法只是简单将占位符 {} 按照顺序替换为参数
- * 如果想输出 {} 使用 \\转义 { 即可,如果想输出 {} 之前的 \ 使用双转义符 \\\\ 即可
- * 例:
- * 通常使用:format("this is {} for {}", "a", "b") -> this is a for b
- * 转义{}: format("this is \\{} for {}", "a", "b") -> this is \{} for a
- * 转义\: format("this is \\\\{} for {}", "a", "b") -> this is \a for b
- * + * 格式化文本, {} 表示占位符 + * 此方法只是简单将占位符 {} 按照顺序替换为参数 + * 如果想输出 {} 使用 \\转义 { 即可,如果想输出 {} 之前的 \ 使用双转义符 \\\\ 即可 + * 例: + * 通常使用:format("this is {} for {}", "a", "b") - this is a for b + * 转义{}: format("this is \\{} for {}", "a", "b") - this is \{} for a + * 转义\: format("this is \\\\{} for {}", "a", "b") - this is \a for b + * * @param template 文本模板,被替换的部分用 {} 表示 * @param params 参数值 * @return 格式化后的文本 @@ -331,7 +331,7 @@ public class StringUtils extends org.apache.commons.lang3.StringUtils /** * 是否为http(s)://开头 - * + * * @param link 链接 * @return 结果 */ @@ -417,7 +417,7 @@ public class StringUtils extends org.apache.commons.lang3.StringUtils /** * 是否包含字符串 - * + * * @param str 验证字符串 * @param strs 字符串组 * @return 包含返回true @@ -438,8 +438,8 @@ public class StringUtils extends org.apache.commons.lang3.StringUtils } /** - * 将下划线大写方式命名的字符串转换为驼峰式。如果转换前的下划线大写方式命名的字符串为空,则返回空字符串。 例如:HELLO_WORLD->HelloWorld - * + * 将下划线大写方式命名的字符串转换为驼峰式。如果转换前的下划线大写方式命名的字符串为空,则返回空字符串。 例如:HELLO_WORLD- HelloWorld + * * @param name 转换前的下划线大写方式命名的字符串 * @return 转换后的驼峰式命名的字符串 */ @@ -475,7 +475,7 @@ public class StringUtils extends org.apache.commons.lang3.StringUtils /** * 驼峰式命名法 - * 例如:user_name->userName + * 例如:user_name- userName */ public static String toCamelCase(String s) { @@ -513,7 +513,7 @@ public class StringUtils extends org.apache.commons.lang3.StringUtils /** * 查找指定字符串是否匹配指定字符串列表中的任意一个字符串 - * + * * @param str 指定字符串 * @param strs 需要检查的字符串数组 * @return 是否匹配 @@ -535,14 +535,14 @@ public class StringUtils extends org.apache.commons.lang3.StringUtils } /** - * 判断url是否与规则配置: - * ? 表示单个字符; - * * 表示一层路径内的任意字符串,不可跨层级; + * 判断url是否与规则配置: + * ? 表示单个字符; + * * 表示一层路径内的任意字符串,不可跨层级; * ** 表示任意层路径; - * + * * @param pattern 匹配规则 * @param url 需要匹配的url - * @return + * @return 匹配返回true,否则返回false */ public static boolean isMatch(String pattern, String url) { @@ -558,7 +558,7 @@ public class StringUtils extends org.apache.commons.lang3.StringUtils /** * 数字左边补齐0,使之达到指定长度。注意,如果数字转换为字符串后,长度大于size,则只保留 最后size个字符。 - * + * * @param num 数字对象 * @param size 字符串指定长度 * @return 返回数字的字符串格式,该字符串为指定长度。 @@ -570,7 +570,7 @@ public class StringUtils extends org.apache.commons.lang3.StringUtils /** * 字符串左补齐。如果原始字符串s长度大于size,则只保留最后size个字符。 - * + * * @param s 原始字符串 * @param size 字符串指定长度 * @param c 用于补齐的字符 diff --git a/bonus-common/bonus-common-core/src/main/java/com/bonus/common/core/utils/file/FileUtils.java b/bonus-common/bonus-common-core/src/main/java/com/bonus/common/core/utils/file/FileUtils.java index 3973604..086db3d 100644 --- a/bonus-common/bonus-common-core/src/main/java/com/bonus/common/core/utils/file/FileUtils.java +++ b/bonus-common/bonus-common-core/src/main/java/com/bonus/common/core/utils/file/FileUtils.java @@ -20,7 +20,7 @@ import org.springframework.web.multipart.MultipartFile; /** * 文件处理工具类 - * + * * @author bonus */ public class FileUtils @@ -35,10 +35,9 @@ public class FileUtils /** * 输出指定文件的byte数组 - * + * * @param filePath 文件路径 * @param os 输出流 - * @return */ public static void writeBytes(String filePath, OutputStream os) throws IOException { @@ -91,7 +90,7 @@ public class FileUtils /** * 删除文件 - * + * * @param filePath 文件 * @return */ @@ -109,7 +108,7 @@ public class FileUtils /** * 文件名称验证 - * + * * @param filename 文件名称 * @return true 正常 false 非法 */ @@ -120,7 +119,7 @@ public class FileUtils /** * 检查文件是否可下载 - * + * * @param resource 需要下载的文件 * @return true 正常 false 非法 */ @@ -137,7 +136,7 @@ public class FileUtils /** * 下载文件名重新编码 - * + * * @param request 请求对象 * @param fileName 文件名 * @return 编码后的文件名 @@ -226,7 +225,6 @@ public class FileUtils * * @param response 响应对象 * @param realFileName 真实文件名 - * @return */ public static void setAttachmentResponseHeader(HttpServletResponse response, String realFileName) throws UnsupportedEncodingException { diff --git a/bonus-common/bonus-common-core/src/main/java/com/bonus/common/core/utils/poi/ExcelUtil.java b/bonus-common/bonus-common-core/src/main/java/com/bonus/common/core/utils/poi/ExcelUtil.java index e1c41f5..2e34b5f 100644 --- a/bonus-common/bonus-common-core/src/main/java/com/bonus/common/core/utils/poi/ExcelUtil.java +++ b/bonus-common/bonus-common-core/src/main/java/com/bonus/common/core/utils/poi/ExcelUtil.java @@ -181,7 +181,6 @@ public class ExcelUtil * 隐藏Excel中列属性 * * @param fields 列属性名 示例[单个"name"/多个"id","name"] - * @throws Exception */ public void hideColumn(String... fields) { @@ -258,7 +257,7 @@ public class ExcelUtil /** * 对excel表单默认第一个索引名转换成list - * + * * @param is 输入流 * @return 转换后集合 */ @@ -283,7 +282,7 @@ public class ExcelUtil /** * 对excel表单默认第一个索引名转换成list - * + * * @param is 输入流 * @param titleNum 标题占用行数 * @return 转换后集合 @@ -295,7 +294,7 @@ public class ExcelUtil /** * 对excel表单指定表格索引名转换成list - * + * * @param sheetName 表格索引名 * @param titleNum 标题占用行数 * @param is 输入流 @@ -452,7 +451,6 @@ public class ExcelUtil * @param response 返回数据 * @param list 导出数据集合 * @param sheetName 工作表的名称 - * @return 结果 */ public void exportExcel(HttpServletResponse response, List list, String sheetName) { @@ -466,7 +464,6 @@ public class ExcelUtil * @param list 导出数据集合 * @param sheetName 工作表的名称 * @param title 标题 - * @return 结果 */ public void exportExcel(HttpServletResponse response, List list, String sheetName, String title) { @@ -480,7 +477,6 @@ public class ExcelUtil * 对list数据源将其里面的数据导入到excel表单 * * @param sheetName 工作表的名称 - * @return 结果 */ public void importTemplateExcel(HttpServletResponse response, String sheetName) { @@ -492,7 +488,6 @@ public class ExcelUtil * * @param sheetName 工作表的名称 * @param title 标题 - * @return 结果 */ public void importTemplateExcel(HttpServletResponse response, String sheetName, String title) { @@ -503,9 +498,7 @@ public class ExcelUtil } /** - * 对list数据源将其里面的数据导入到excel表单 - * - * @return 结果 + * 对list数据源将其里面的数据导出到excel表单 */ public void exportExcel(HttpServletResponse response) { @@ -566,7 +559,7 @@ public class ExcelUtil /** * 填充excel数据 - * + * * @param index 序号 * @param row 单元格行 */ @@ -637,7 +630,7 @@ public class ExcelUtil /** * 创建表格样式 - * + * * @param wb 工作薄对象 * @return 样式列表 */ @@ -692,7 +685,7 @@ public class ExcelUtil /** * 根据Excel注解创建表格头样式 - * + * * @param wb 工作薄对象 * @return 自定义样式列表 */ @@ -728,7 +721,7 @@ public class ExcelUtil /** * 根据Excel注解创建表格列样式 - * + * * @param wb 工作薄对象 * @return 自定义样式列表 */ @@ -760,7 +753,7 @@ public class ExcelUtil /** * 根据Excel注解创建表格列样式 - * + * * @param styles 自定义样式列表 * @param field 属性列信息 * @param excel 注解信息 @@ -822,7 +815,7 @@ public class ExcelUtil /** * 设置单元格信息 - * + * * @param value 单元格值 * @param attr 注解相关 * @param cell 单元格信息 @@ -981,7 +974,7 @@ public class ExcelUtil /** * 设置 POI XSSFSheet 单元格提示或选择框 - * + * * @param sheet 表单 * @param textlist 下拉框显示的内容 * @param promptContent 提示内容 @@ -1018,7 +1011,7 @@ public class ExcelUtil /** * 设置某些列的值只能输入预制的数据,显示下拉框(兼容超出一定数量的下拉框). - * + * * @param sheet 要设置的sheet. * @param textlist 下拉框显示的内容 * @param promptContent 提示内容 @@ -1070,7 +1063,7 @@ public class ExcelUtil /** * 解析导出值 0=男,1=女,2=未知 - * + * * @param propertyValue 参数值 * @param converterExp 翻译注解 * @param separator 分隔符 @@ -1107,7 +1100,7 @@ public class ExcelUtil /** * 反向解析值 男=0,女=1,未知=2 - * + * * @param propertyValue 参数值 * @param converterExp 翻译注解 * @param separator 分隔符 @@ -1349,7 +1342,7 @@ public class ExcelUtil /** * 创建工作表 - * + * * @param sheetNo sheet数量 * @param index 序号 */ @@ -1366,7 +1359,7 @@ public class ExcelUtil /** * 获取单元格值 - * + * * @param row 获取的行 * @param column 获取单元格列号 * @return 单元格值 @@ -1426,7 +1419,7 @@ public class ExcelUtil /** * 判断是否是空行 - * + * * @param row 判断的行 * @return */ @@ -1449,7 +1442,7 @@ public class ExcelUtil /** * 格式化不同类型的日期对象 - * + * * @param dateFormat 日期格式 * @param val 被格式化的日期对象 * @return 格式化后的日期字符 @@ -1515,7 +1508,7 @@ public class ExcelUtil /** * 获取对象的子列表方法 - * + * * @param name 名称 * @param pojoClass 类对象 * @return 子列表方法 diff --git a/bonus-common/bonus-common-core/src/main/java/com/bonus/common/core/utils/uuid/UUID.java b/bonus-common/bonus-common-core/src/main/java/com/bonus/common/core/utils/uuid/UUID.java index 7a9ff2a..e4722ae 100644 --- a/bonus-common/bonus-common-core/src/main/java/com/bonus/common/core/utils/uuid/UUID.java +++ b/bonus-common/bonus-common-core/src/main/java/com/bonus/common/core/utils/uuid/UUID.java @@ -33,7 +33,7 @@ public final class UUID implements java.io.Serializable, Comparable /** * 私有构造 - * + * * @param data 数据 */ private UUID(byte[] data) @@ -66,8 +66,8 @@ public final class UUID implements java.io.Serializable, Comparable } /** - * 获取类型 4(伪随机生成的)UUID 的静态工厂。 - * + * 获取类型 4(伪随机生成的)UUID 的静态工厂。 + * * @return 随机生成的 {@code UUID} */ public static UUID fastUUID() @@ -77,7 +77,7 @@ public final class UUID implements java.io.Serializable, Comparable /** * 获取类型 4(伪随机生成的)UUID 的静态工厂。 使用加密的强伪随机数生成器生成该 UUID。 - * + * * @return 随机生成的 {@code UUID} */ public static UUID randomUUID() @@ -87,7 +87,7 @@ public final class UUID implements java.io.Serializable, Comparable /** * 获取类型 4(伪随机生成的)UUID 的静态工厂。 使用加密的强伪随机数生成器生成该 UUID。 - * + * * @param isSecure 是否使用{@link SecureRandom}如果是可以获得更安全的随机码,否则可以得到更好的性能 * @return 随机生成的 {@code UUID} */ @@ -289,7 +289,7 @@ public final class UUID implements java.io.Serializable, Comparable * *

* UUID 的字符串表示形式由此 BNF 描述: - * + *

*
      * {@code
      * UUID                   = ----
@@ -302,7 +302,7 @@ public final class UUID implements java.io.Serializable, Comparable
      * hexDigit               = [0-9a-fA-F]
      * }
      * 
- * + * *
* * @return 此{@code UUID} 的字符串表现形式 @@ -319,7 +319,7 @@ public final class UUID implements java.io.Serializable, Comparable * *

* UUID 的字符串表示形式由此 BNF 描述: - * + *

*
      * {@code
      * UUID                   = ----
@@ -332,7 +332,7 @@ public final class UUID implements java.io.Serializable, Comparable
      * hexDigit               = [0-9a-fA-F]
      * }
      * 
- * + * *
* * @param isSimple 是否简单模式,简单模式为不带'-'的UUID字符串 @@ -432,7 +432,7 @@ public final class UUID implements java.io.Serializable, Comparable // Private method start /** * 返回指定数字对应的hex值 - * + * * @param val 值 * @param digits 位 * @return 值 @@ -456,7 +456,7 @@ public final class UUID implements java.io.Serializable, Comparable /** * 获取{@link SecureRandom},类提供加密的强随机数生成器 (RNG) - * + * * @return {@link SecureRandom} */ public static SecureRandom getSecureRandom() @@ -474,7 +474,7 @@ public final class UUID implements java.io.Serializable, Comparable /** * 获取随机数生成器对象
* ThreadLocalRandom是JDK 7之后提供并发产生随机数,能够解决多个线程发生的竞争争夺。 - * + * * @return {@link ThreadLocalRandom} */ public static ThreadLocalRandom getRandom() diff --git a/bonus-common/bonus-common-core/src/main/java/com/bonus/common/core/web/page/TableSupport.java b/bonus-common/bonus-common-core/src/main/java/com/bonus/common/core/web/page/TableSupport.java index 715b832..203a096 100644 --- a/bonus-common/bonus-common-core/src/main/java/com/bonus/common/core/web/page/TableSupport.java +++ b/bonus-common/bonus-common-core/src/main/java/com/bonus/common/core/web/page/TableSupport.java @@ -2,10 +2,11 @@ package com.bonus.common.core.web.page; import com.bonus.common.core.text.Convert; import com.bonus.common.core.utils.ServletUtils; +//import org.jetbrains.annotations.NotNull; /** * 表格数据处理 - * + * * @author bonus */ public class TableSupport @@ -37,6 +38,7 @@ public class TableSupport /** * 封装分页对象 + * @return 返回 PageDomain 类型的实例 */ public static PageDomain getPageDomain() { diff --git a/bonus-common/pom.xml b/bonus-common/pom.xml index e9b64e0..7d0b23d 100644 --- a/bonus-common/pom.xml +++ b/bonus-common/pom.xml @@ -36,4 +36,27 @@ http://192.168.0.56:8081/repository/maven-snapshots/ + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 3.2.0 + + + + + + package + + javadoc + + + + + + + diff --git a/pom.xml b/pom.xml index b39308a..e435126 100644 --- a/pom.xml +++ b/pom.xml @@ -277,29 +277,29 @@ - - - public - aliyun nexus - https://maven.aliyun.com/repository/public - - true - - - + + + + + + + + + + - - - public - aliyun nexus - https://maven.aliyun.com/repository/public - - true - - - false - - - + + + + + + + + + + + + + - \ No newline at end of file +