From 60ad93f5aea4d2f368a1311c3bcda0211b01660a Mon Sep 17 00:00:00 2001 From: Looly Date: Tue, 26 Sep 2023 18:58:52 +0800 Subject: [PATCH 1/4] add apidocs --- docs/apidocs/index.html | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/apidocs/index.html diff --git a/docs/apidocs/index.html b/docs/apidocs/index.html new file mode 100644 index 000000000..a283ef666 --- /dev/null +++ b/docs/apidocs/index.html @@ -0,0 +1,33 @@ + + + + + + + + Hutool API Docs + + + + +
+
+ +
+ + +
+ + +
+
+
+ + + + \ No newline at end of file From d296e27fbbfd49a22bdcd665bf4f99a8626a912a Mon Sep 17 00:00:00 2001 From: Looly Date: Thu, 16 Nov 2023 22:32:49 +0800 Subject: [PATCH 2/4] add ad --- README-EN.md | 7 +++++-- README.md | 7 +++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/README-EN.md b/README-EN.md index 12c571594..3ed5a42c4 100755 --- a/README-EN.md +++ b/README-EN.md @@ -47,8 +47,11 @@ -------------------------------------------------------------------------------

- - + 特别赞助:
+ + + +

------------------------------------------------------------------------------- diff --git a/README.md b/README.md index c3df8cd0b..b13df77b3 100755 --- a/README.md +++ b/README.md @@ -47,8 +47,11 @@ -------------------------------------------------------------------------------

- - + 特别赞助:
+ + + +

------------------------------------------------------------------------------- From ac89627f3098818bb9e157aedf3285ee40167272 Mon Sep 17 00:00:00 2001 From: Looly Date: Tue, 28 Nov 2023 18:03:28 +0800 Subject: [PATCH 3/4] remove ad --- README-EN.md | 4 ---- README.md | 4 ---- 2 files changed, 8 deletions(-) diff --git a/README-EN.md b/README-EN.md index 3ed5a42c4..25cf0d695 100755 --- a/README-EN.md +++ b/README-EN.md @@ -47,10 +47,6 @@ -------------------------------------------------------------------------------

- 特别赞助:
- - -

diff --git a/README.md b/README.md index b13df77b3..cd90bb4a8 100755 --- a/README.md +++ b/README.md @@ -47,10 +47,6 @@ -------------------------------------------------------------------------------

- 特别赞助:
- - -

From c7e2720cc54df06d5a4769028563651926ba32ed Mon Sep 17 00:00:00 2001 From: holmebin Date: Thu, 28 Dec 2023 23:07:44 +0800 Subject: [PATCH 4/4] fix RandomUtil.randomInt,RandomUtil.randomLong range problem #3449 --- hutool-core/src/main/java/cn/hutool/core/util/RandomUtil.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hutool-core/src/main/java/cn/hutool/core/util/RandomUtil.java b/hutool-core/src/main/java/cn/hutool/core/util/RandomUtil.java index f82763155..16b767df5 100755 --- a/hutool-core/src/main/java/cn/hutool/core/util/RandomUtil.java +++ b/hutool-core/src/main/java/cn/hutool/core/util/RandomUtil.java @@ -223,7 +223,7 @@ public class RandomUtil { min++; } if (includeMax) { - max--; + max++; } return getRandom().nextInt(min, max); } @@ -296,7 +296,7 @@ public class RandomUtil { min++; } if (includeMax) { - max--; + max++; } return getRandom().nextLong(min, max); }