Skip to content

[pull] master from apache:master #531

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2,861 commits into
base: master
Choose a base branch
from
Open

[pull] master from apache:master #531

wants to merge 2,861 commits into from

Conversation

pull[bot]
Copy link

@pull pull bot commented Jan 26, 2020

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.1)

Can you help keep this open source service alive? 💖 Please sponsor : )

@pull pull bot added the ⤵️ pull label Jan 26, 2020
@pull pull bot added the merge-conflict Resolve conflicts manually label Feb 19, 2020
- Different, simpler solution from PR 1326
- Different, simpler solution from PR 1326
- Use JUnit Pioneer @ReadsDefaultLocale
- Use JUnit Pioneer @WritesDefaultLocale
- Simplify test setup and tear down
garydgregory and others added 30 commits April 27, 2025 10:42
Bumps [org.apache.commons:commons-parent](https://github.com/apache/commons-parent) from 81 to 83.
- [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-version: '83'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Use lower-level API for primitive types
an IllegalArgumentException for array dimensions greater than 255

- No need to create strings over and over in a loop
- Preallocate string builder
- Javadoc since tag not needed for a private method
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.28.16 to 3.28.17.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](github/codeql-action@28deaed...60168ef)

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

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [actions/dependency-review-action](https://github.com/actions/dependency-review-action) from 4.6.0 to 4.7.0.
- [Release notes](https://github.com/actions/dependency-review-action/releases)
- [Commits](actions/dependency-review-action@ce3cf95...38ecb5b)

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

Signed-off-by: dependabot[bot] <[email protected]>
…s/dependency-review-action-4.7.0

Bump actions/dependency-review-action from 4.6.0 to 4.7.0
Remove an unnecessary reference to `java.lang.reflect.AnnotatedType`, which does
not exist on Android. We immediately call `getType()` on it, so we might just as
well use the method that gives us `Type[]` directly.
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.28.17 to 3.28.18.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](github/codeql-action@60168ef...ff0a06e)

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

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [actions/dependency-review-action](https://github.com/actions/dependency-review-action) from 4.7.0 to 4.7.1.
- [Release notes](https://github.com/actions/dependency-review-action/releases)
- [Commits](actions/dependency-review-action@38ecb5b...da24556)

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

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Completes the fill methods for all primitive array types

Co-authored-by: Raviteja Kommalapati <[email protected]@example.com>
- Add missing Javadoc since tag
- Sort members
Bumps [org.easymock:easymock](https://github.com/easymock/easymock) from 5.5.0 to 5.6.0.
- [Release notes](https://github.com/easymock/easymock/releases)
- [Changelog](https://github.com/easymock/easymock/blob/master/ReleaseNotes.md)
- [Commits](easymock/easymock@easymock-5.5.0...easymock-5.6.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* LANG-1772 restrict size of cache to prevent overflow errors

* LANG-1772 Adding a largeheap maven profile.  Skipping the testHugeStrings method in all other profiles.

* LANG-1772 Adding javadoc as per request.  Also moving max cache size inside the CachedRandomBits constructor - also checking if the padding produces overflow.  No longer using an arbitrary value but being more precise.

* LANG-1772 Suggestions from PR implemented

* LANG-1772 Using a long for the intermediate calculation and restricting the result to MAX_INT/5, also restricting max cache length to MAX_INT/3, there are now no opportunities for overflow.  The test checks at the boundary condition

* Close HTML tag

* LANG-1772 Introduced many constants, and attempted to add comprehensive documentation around the nextBits method and the size allocation for the cache

* Update src/main/java/org/apache/commons/lang3/RandomStringUtils.java

You're right, should be outside the min

Co-authored-by: Piotr P. Karwasz <[email protected]>

---------

Co-authored-by: James Winters <[email protected]>
Co-authored-by: Gary Gregory <[email protected]>
Co-authored-by: Piotr P. Karwasz <[email protected]>
defaultIfNull(Object, Object)

A adaptation of PR #1355 by Pankraz76
org.apache.commons.lang3.ClassUtilsTest.test_getShortCanonicalName_String()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⤵️ pull merge-conflict Resolve conflicts manually
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants