diff --git a/.gitee/ISSUE_TEMPLATE.zh-CN.md b/.gitee/ISSUE_TEMPLATE.zh-CN.md index 6a1c8ee09..920eaa91f 100644 --- a/.gitee/ISSUE_TEMPLATE.zh-CN.md +++ b/.gitee/ISSUE_TEMPLATE.zh-CN.md @@ -11,8 +11,8 @@ hutool版本: 5.X.X(请确保最新尝试是否还有问题) Console.log("报错了"); ``` -2. 堆栈信息 +1. 堆栈信息 -3. 测试涉及到的文件(注意脱密) +2. 测试涉及到的文件(注意脱密) 比如报错的Excel文件,有问题的图片等。 \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md index 6a1c8ee09..920eaa91f 100644 --- a/.github/ISSUE_TEMPLATE.md +++ b/.github/ISSUE_TEMPLATE.md @@ -11,8 +11,8 @@ hutool版本: 5.X.X(请确保最新尝试是否还有问题) Console.log("报错了"); ``` -2. 堆栈信息 +1. 堆栈信息 -3. 测试涉及到的文件(注意脱密) +2. 测试涉及到的文件(注意脱密) 比如报错的Excel文件,有问题的图片等。 \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 44a90222b..48e6feefe 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,14 +3,13 @@ ------------------------------------------------------------------------------------------------------------- -# 6.0.0.M1 (2022-10-09) +# 6.0.0.M1 (2023-03-10) ### 计划实现 -* 【poi 】 PDF相关(基于PdfBox) -* 【poi 】 HTML、DOCX转换相关 * 【poi 】 Markdown相关(如HTML转换等),基于commonmark-java * 【db 】 增加DDL封装 * 【poi 】 CellUtil.getCellIfMergedRegion考虑添加缓存支持,增加最大和最小范围判断,减少遍历 +* 【http 】 公共代理和SSL验证 ### ❌不兼容特性 diff --git a/README-EN.md b/README-EN.md index 20d702170..6f7207f02 100755 --- a/README-EN.md +++ b/README-EN.md @@ -1,5 +1,5 @@

- +

🍬A set of tools that keep Java sweet. @@ -51,7 +51,7 @@ ------------------------------------------------------------------------------- ## 📚Introduction -**Hutool** is a small but comprehensive library of Java tools, encapsulation by static methods, reduce the cost of learning related APIs, increase productivity, and make Java as elegant as a functional programming language,let the Java be "sweet" too. +**Hutool** is a small but comprehensive library of Java tools, achieved by encapsulation through static methods, reduce the cost of learning related APIs, increase productivity, and make Java as elegant as a functional programming language,let the Java be "sweet" too. **Hutool** tools and methods from each user's crafted, it covers all aspects of the underlying code of Java development, it is a powerful tool for large project development to solve small problems, but also the efficiency of small projects; @@ -138,18 +138,18 @@ We provide the T-Shirt and Sweater with Hutool Logo, please visit the shop: cn.hutool hutool-all - 6.0.0.M1 + 6.0.0.M2 ``` ### 🍐Gradle ``` -implementation 'cn.hutool:hutool-all:6.0.0.M1' +implementation 'cn.hutool:hutool-all:6.0.0.M2' ``` ## 📥Download -- [Maven Repo](https://repo1.maven.org/maven2/cn/hutool/hutool-all/6.0.0.M1/) +- [Maven Repo](https://repo1.maven.org/maven2/cn/hutool/hutool-all/6.0.0.M2/) > 🔔️note: > Hutool 5.x supports JDK8+ and is not tested on Android platforms, and cannot guarantee that all tool classes or tool methods are available. @@ -176,10 +176,10 @@ cd ${hutool} Hutool's source code is divided into two branches: -| branch | description | -|-----------|---------------------------------------------------------------| +| branch | description | +|-----------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------| | v6-master | The master branch, the branch used by the release version, is the same as the jar committed to the central repository and does not receive any pr or modifications. | -| v6-dev | Development branch, which defaults to the next SNAPSHOT version, accepts modifications or pr | +| v6-dev | Development branch, which defaults to the next SNAPSHOT version, accepts modifications or pr | ### 🐞Provide feedback or suggestions on bugs diff --git a/README.md b/README.md index 622c5490f..40a1b3e99 100755 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@

- +

🍬A set of tools that keep Java sweet. @@ -141,21 +141,21 @@ Hutool的存在就是为了减少代码搜索成本,避免网络上参差不 cn.hutool hutool-all - 6.0.0.M1 + 6.0.0.M2 ``` ### 🍐Gradle ``` -implementation 'cn.hutool:hutool-all:6.0.0.M1' +implementation 'cn.hutool:hutool-all:6.0.0.M2' ``` ### 📥下载jar 点击以下链接,下载`hutool-all-X.X.X.jar`即可: -- [Maven中央库](https://repo1.maven.org/maven2/cn/hutool/hutool-all/6.0.0.M1/) +- [Maven中央库](https://repo1.maven.org/maven2/cn/hutool/hutool-all/6.0.0.M2/) > 🔔️注意 > Hutool 5.x支持JDK8+,对Android平台没有测试,不能保证所有工具类或工具方法可用。 @@ -180,10 +180,10 @@ implementation 'cn.hutool:hutool-all:6.0.0.M1' Hutool的源码分为两个分支,功能如下: -| 分支 | 作用 | -|-----------|---------------------------------------------------------------| +| 分支 | 作用 | +|-----------|--------------------------------------------| | v6-master | 主分支,release版本使用的分支,与中央库提交的jar一致,不接收任何pr或修改 | -| v6-dev | 开发分支,默认为下个版本的SNAPSHOT版本,接受修改或pr | +| v6-dev | 开发分支,默认为下个版本的SNAPSHOT版本,接受修改或pr | ### 🐞提供bug反馈或建议 diff --git a/SECURITY.md b/SECURITY.md index 0edd9b589..ec97fe9b2 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -3,7 +3,7 @@ ## Supported Versions(支持的版本) | Version | Supported | -|---------| ------------------ | +|---------|--------------------| | 6.x.x | :white_check_mark: | ## Reporting a Vulnerability(报告漏洞) diff --git a/bin/replaceVersion.sh b/bin/replaceVersion.sh index f6f60c81e..8bd8d2d29 100755 --- a/bin/replaceVersion.sh +++ b/bin/replaceVersion.sh @@ -12,7 +12,7 @@ echo "当前路径:${pwd}" if [ -n "$1" ];then new_version="$1" - old_version=`cat ${pwd}/bin/version.txt` + old_version=$(cat "${pwd}"/bin/version.txt) echo "$old_version 替换为新版本 $new_version" else # 参数错误,退出 @@ -20,16 +20,16 @@ else exit fi -if [ ! -n "$old_version" ]; then +if [ -z "$old_version" ]; then echo "ERROR: 旧版本不存在,请确认bin/version.txt中信息正确" exit fi # 替换README.md中的版本 -sed -i "s/${old_version}/${new_version}/g" $pwd/README.md -sed -i "s/${old_version}/${new_version}/g" $pwd/README-EN.md +sed -i "s/${old_version}/${new_version}/g" "$pwd"/README.md +sed -i "s/${old_version}/${new_version}/g" "$pwd"/README-EN.md # 替换docs/js/version.js中的版本 -sed -i "s/${old_version}/${new_version}/g" $pwd/docs/js/version.js +sed -i "s/${old_version}/${new_version}/g" "$pwd"/docs/js/version.js # 保留新版本号 -echo "$new_version" > $pwd/bin/version.txt +echo "$new_version" > "$pwd"/bin/version.txt diff --git a/bin/version.txt b/bin/version.txt index c946d3d40..95e0d8a6f 100755 --- a/bin/version.txt +++ b/bin/version.txt @@ -1 +1 @@ -6.0.0.M1 +6.0.0.M2 diff --git a/docs/js/version.js b/docs/js/version.js index a5763db79..7b755716b 100755 --- a/docs/js/version.js +++ b/docs/js/version.js @@ -1 +1 @@ -var version = '6.0.0.M1' \ No newline at end of file +var version = '6.0.0.M2' \ No newline at end of file diff --git a/hutool-all/pom.xml b/hutool-all/pom.xml index 5f87a6a2a..808274d2b 100755 --- a/hutool-all/pom.xml +++ b/hutool-all/pom.xml @@ -9,7 +9,7 @@ cn.hutool hutool-parent - 6.0.0.M1 + 6.0.0.M2 hutool-all diff --git a/hutool-all/src/main/java/cn/hutool/Hutool.java b/hutool-all/src/main/java/cn/hutool/Hutool.java index 2469d1e2d..83c7370c1 100644 --- a/hutool-all/src/main/java/cn/hutool/Hutool.java +++ b/hutool-all/src/main/java/cn/hutool/Hutool.java @@ -42,6 +42,9 @@ import java.util.Set; */ public class Hutool { + /** + * 作者(贡献者) + */ public static final String AUTHOR = "Looly"; private Hutool() { diff --git a/hutool-bom/pom.xml b/hutool-bom/pom.xml index 63b187098..e5ab0a02b 100755 --- a/hutool-bom/pom.xml +++ b/hutool-bom/pom.xml @@ -9,7 +9,7 @@ cn.hutool hutool-parent - 6.0.0.M1 + 6.0.0.M2 hutool-bom diff --git a/hutool-core/README.md b/hutool-core/README.md index f7cf33d14..1ffab5d11 100755 --- a/hutool-core/README.md +++ b/hutool-core/README.md @@ -1,5 +1,5 @@

- +

🍬A set of tools that keep Java sweet. diff --git a/hutool-core/pom.xml b/hutool-core/pom.xml index d8d3e5d78..4fa5a70ed 100755 --- a/hutool-core/pom.xml +++ b/hutool-core/pom.xml @@ -9,23 +9,15 @@ cn.hutool hutool-parent - 6.0.0.M1 + 6.0.0.M2 hutool-core ${project.artifactId} Hutool核心,包括集合、字符串、Bean等工具 + + + cn.hutool.core + - - - - org.apache.maven.plugins - maven-surefire-plugin - - true - - - - - - + \ No newline at end of file diff --git a/hutool-core/src/main/java/cn/hutool/core/annotation/AnnotatedElementUtil.java b/hutool-core/src/main/java/cn/hutool/core/annotation/AnnotatedElementUtil.java index 34ee2974b..f7db8eaca 100644 --- a/hutool-core/src/main/java/cn/hutool/core/annotation/AnnotatedElementUtil.java +++ b/hutool-core/src/main/java/cn/hutool/core/annotation/AnnotatedElementUtil.java @@ -703,7 +703,7 @@ public class AnnotatedElementUtil { /** * 清空相关缓存,包括: *

diff --git a/hutool-core/src/main/java/cn/hutool/core/annotation/AnnotationMapping.java b/hutool-core/src/main/java/cn/hutool/core/annotation/AnnotationMapping.java index c177629f6..c9af1d448 100644 --- a/hutool-core/src/main/java/cn/hutool/core/annotation/AnnotationMapping.java +++ b/hutool-core/src/main/java/cn/hutool/core/annotation/AnnotationMapping.java @@ -28,7 +28,7 @@ public interface AnnotationMapping extends Annotation { T getAnnotation(); /** - * 根据当前映射对象,通过动态代理生成一个类型与被包装注解对象一致的合成注解,该注解相对原生注解: + * 根据当前映射对象,通过动态代理生成一个类型与被包装注解对象一致地合成注解,该注解相对原生注解: *