8084 Commits

Author SHA1 Message Date
Gary Gregory
63d9aa48f3 Wording 2024-07-18 10:43:37 -04:00
Gary Gregory
660b71569e Add section for the next release 2024-07-17 21:12:22 +00:00
Gary Gregory
977e1008fb Merge branch 'release' 2024-07-17 21:10:44 +00:00
Gary Gregory
88ff12327f Bump to next development version 2024-07-17 21:10:41 +00:00
Dávid Szigecsán
59a679310a
Fix JavaDoc grammar issues (#1246)
* Remove dangling JavaDoc

* Fix grammar issues

---------

Co-authored-by: David Szigecsan <david.szigecsan@sagemcom.com>
2024-07-16 10:49:34 +01:00
Gary Gregory
535ec32c68 Merge branch 'master' into release commons-lang-3.15.0-RC2 rel/commons-lang-3.15.0 2024-07-13 22:44:50 +00:00
Gary Gregory
7914b958b8 Prepare for the next release candidate 2024-07-13 18:44:28 -04:00
Gary Gregory
094b6235e5 Prepare for the next release candidate 2024-07-13 18:43:19 -04:00
Gary Gregory
845ba4a77a Let RandomUtils reuse RandomStringUtils.random() 2024-07-13 18:43:03 -04:00
Gary Gregory
a0bf7894ca Set RC date commons-lang-3.15.0-RC1 2024-07-13 10:54:58 -04:00
Gary Gregory
bc5bab6461 Prepare for the next release candidate 2024-07-13 14:33:32 +00:00
Gary Gregory
e30167b3b3 Prepare for the next release candidate 2024-07-13 14:06:52 +00:00
Gary Gregory
b1f41de44d Add test for non-blank length 1 strings 2024-07-13 09:24:38 -04:00
Gary Gregory
8b8c8b3703 Add test for non-blank length 1 strings 2024-07-13 09:22:39 -04:00
Gary Gregory
96cbd1f061 Javadoc 2024-07-13 08:58:23 -04:00
Gary Gregory
739d626300 [LANG-1657] DiffBuilder: Type constraint for method append(...,
DiffResult) too strict #786

Solution from PR #786 but with more tests
2024-07-13 08:58:08 -04:00
dependabot[bot]
b08717ff5f
Bump github/codeql-action from 3.25.11 to 3.25.12 (#1245)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.25.11 to 3.25.12.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](b611370bb5...4fa2a79536)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-12 11:25:39 -04:00
Gary Gregory
cb078c556f Javadoc 2024-07-11 14:04:48 -04:00
Gary Gregory
12f694873a
Add AppendableJoiner and refactor string joining #1244 2024-07-11 08:34:03 -04:00
Gary Gregory
e5aa6d0844
Refactor string joining into AppendableJoiner (#1244) 2024-07-11 08:32:58 -04:00
Gary Gregory
c87418d011
Add RuntimeEnvironment.inContainer() #1241 2024-07-11 08:01:24 -04:00
Gary Gregory
46e4d460b3
Add RuntimeEnvironment.inContainer() (#1241)
* Add RuntimeEnv.inContainer()

* Add since tag

---------

Co-authored-by: Gary Gregory <gardgregory@gmail.com>
2024-07-11 08:00:06 -04:00
Gary Gregory
144b86a7cc Whitespace 2024-07-06 15:03:54 -04:00
Gary Gregory
90a5e8ad37 Fix CodeQL Code scanning alerts
Implicit narrowing conversion in compound assignment
2024-07-06 15:03:48 -04:00
Gary Gregory
c2b9a51f8c Whitespace 2024-07-06 15:00:28 -04:00
Gary Gregory
db1def8a47 [LANG-1254] ThreadLocalRandom should be used in utility classes
Add missing entry for 3.13.0
2024-07-06 14:57:42 -04:00
Gary Gregory
f5c6cb60ab
Reimplement RandomStringUtils on top of SecureRandom#getInstanceStrong() #1235 2024-07-06 09:28:20 -04:00
Gary Gregory
f382d61a03
Reimplement RandomStringUtils on top of SecureRandom#getInstanceStrong() (#1235)
* Reimplement RandomStringUtils on top of SecureRandom#getInstanceStrong()

The previous implementation used  ThreadLocalRandom#current()

* Performance optimizations for RandomStringUtils

This commit improves the performance of RandomStringUtils:

* Reduces the number of random bytes generated and the number of calls to the random number generator, by using a cache system `AmortizedRandomBits`.
* Optimizes the case of alphanumerical strings, reducing the number of rejections in the rejection sampling.

See comments in code for details.

* Code style and comment improvements

* Fix 2 checkstyle errors.
* Apply suggestions from review for garydgregory/commons-lang#2
* Improve comments in new (non-public) class `AmortizedRandomBits` to match comments in other classes.

* Make class final

- Rename package-private class
- Whitespace
- Add null check
- Add serialVersionUID
- Remove redunant type cast
- Throw IllegalStateException, not RuntimeException
- nextBytes() should throw NullPointerException per contract
- Javadoc: Use longer lines

* Apply comments by aherbert in
55a70c84f3 (r143834333)

---------

Co-authored-by: Gary Gregory <gardgregory@gmail.com>
Co-authored-by: Fabrice Benhamouda <yfabrice@amazon.com>
2024-07-06 09:25:20 -04:00
Gary Gregory
78154f0456
Bump org.codehaus.mojo:taglist-maven-plugin from 3.0.0 to 3.1.0 #1242 2024-07-05 20:22:00 -04:00
dependabot[bot]
6efca0342a
Bump org.codehaus.mojo:taglist-maven-plugin from 3.0.0 to 3.1.0 (#1242)
Bumps [org.codehaus.mojo:taglist-maven-plugin](https://github.com/mojohaus/taglist-maven-plugin) from 3.0.0 to 3.1.0.
- [Release notes](https://github.com/mojohaus/taglist-maven-plugin/releases)
- [Commits](https://github.com/mojohaus/taglist-maven-plugin/compare/taglist-maven-plugin-3.0.0...3.1.0)

---
updated-dependencies:
- dependency-name: org.codehaus.mojo:taglist-maven-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-05 20:21:13 -04:00
dependabot[bot]
9b40a7fc1f
Bump actions/upload-artifact from 4.3.3 to 4.3.4 (#1243)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.3.3 to 4.3.4.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](65462800fd...0b2256b8c0)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-05 12:51:49 -04:00
Gary Gregory
98a6722495 Drop codecov.io
- It now requires an API key and a login to view reports
- Instead, use 'mvn clean install site -P jacoco' to view JaCoCo HTML
reports
2024-06-29 14:28:42 -04:00
Gary Gregory
d6b441070c Revert "Drop CodeQL"
This reverts commit 1a01f80645cda31ae4c0b44a2f63872f7d9ae018.
2024-06-29 10:53:13 -04:00
Gary Gregory
ce8726f64b Revert "Drop CodeQL"
This reverts commit b25afac8b9456594473adf6cf7a4d80ac0ab97b6.
2024-06-29 10:53:13 -04:00
Gary Gregory
b25afac8b9 Drop CodeQL
- It now requires an API key and a login to view reports
- Instead, use 'mvn clean install site -P jacoco' to view JaCoCo HTML
reports
2024-06-29 08:12:40 -04:00
Gary Gregory
1a01f80645 Drop CodeQL
- It now requires an API key and a login to view reports
- Instead, use 'mvn clean install site -P jacoco' to view JaCoCo HTML
reports
2024-06-29 08:03:42 -04:00
dependabot[bot]
abfee794aa
Bump github/codeql-action from 3.25.10 to 3.25.11 (#1240)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.25.10 to 3.25.11.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](23acc5c183...b611370bb5)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-28 13:08:51 -04:00
Gary Gregory
5e07d873e6 Javadoc 2024-06-18 09:21:03 -04:00
dependabot[bot]
91d801dc31
Bump actions/checkout from 4.1.6 to 4.1.7 (#1237)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.6 to 4.1.7.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](a5ac7e51b4...692973e3d9)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-14 12:09:24 -04:00
dependabot[bot]
fbd0405d1e
Bump github/codeql-action from 3.25.8 to 3.25.10 (#1238)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.25.8 to 3.25.10.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](2e230e8fe0...23acc5c183)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-14 12:09:15 -04:00
dependabot[bot]
28c3e77404
Bump codecov/codecov-action from 4.4.1 to 4.5.0 (#1236)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4.4.1 to 4.5.0.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](125fc84a9a...e28ff129e5)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-14 12:09:05 -04:00
Gary Gregory
e1c374bf50
Bump org.apache.commons:commons-parent from 70 to 71 #1233 2024-06-11 13:19:21 -04:00
dependabot[bot]
0761a8cf48
Bump org.apache.commons:commons-parent from 70 to 71 (#1233)
Bumps [org.apache.commons:commons-parent](https://github.com/apache/commons-parent) from 70 to 71.
- [Changelog](https://github.com/apache/commons-parent/blob/master/RELEASE-NOTES.txt)
- [Commits](https://github.com/apache/commons-parent/commits)

---
updated-dependencies:
- dependency-name: org.apache.commons:commons-parent
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-11 13:18:41 -04:00
Gary Gregory
a7871a6bdb Use Objects.toString() 2024-06-11 10:53:54 -04:00
Gary Gregory
65b479f62b Use Objects.toString() 2024-06-11 10:52:28 -04:00
Gary Gregory
35350e3eea Use Javadoc code tag 2024-06-09 13:38:33 -04:00
Gary Gregory
53cb72616a
Bump org.easymock:easymock from 5.2.0 to 5.3.0 #1232 2024-06-09 09:41:10 -04:00
dependabot[bot]
29acec2389
Bump org.easymock:easymock from 5.2.0 to 5.3.0 (#1232)
Bumps [org.easymock:easymock](https://github.com/easymock/easymock) from 5.2.0 to 5.3.0.
- [Release notes](https://github.com/easymock/easymock/releases)
- [Changelog](https://github.com/easymock/easymock/blob/master/ReleaseNotes.md)
- [Commits](https://github.com/easymock/easymock/compare/easymock-5.2.0...easymock-5.3.0)

---
updated-dependencies:
- dependency-name: org.easymock:easymock
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-09 09:40:03 -04:00
dependabot[bot]
33ab1ef553
Bump github/codeql-action from 3.25.7 to 3.25.8 (#1230)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.25.7 to 3.25.8.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](f079b84933...2e230e8fe0)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-07 12:25:17 -04:00
Gary Gregory
45a955702a Remove duplicate static data in
SerializationUtils.ClassLoaderAwareObjectInputStream
2024-06-03 08:00:42 -04:00