Commit Graph

7666 Commits

Author SHA1 Message Date
Gary Gregory 7b547fb4e4 Javadoc spelling 2023-12-21 17:08:02 -05:00
Gary Gregory e5e54fa003 Javadoc 2023-12-17 14:38:39 -05:00
Gary Gregory 9c966b496e Better Javadoc 2023-12-17 14:17:35 -05:00
Gary Gregory 16a826adc6 Use StandardCharsets instead of magic string 2023-12-15 16:26:58 -05:00
Gary Gregory fc0bb1464c Use StandardCharsets instead of magic string 2023-12-15 16:26:17 -05:00
dependabot[bot] 6004b71142
Bump github/codeql-action from 2.22.10 to 3.22.11 (#1150)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.22.10 to 3.22.11.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](305f654631...b374143c11)

---
updated-dependencies:
- dependency-name: github/codeql-action
  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>
2023-12-15 10:43:11 -05:00
dependabot[bot] c48d9741f5
Bump actions/upload-artifact from 3.1.3 to 4.0.0 (#1149)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3.1.3 to 4.0.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](a8a3f3ad30...c7d193f32e)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  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>
2023-12-15 10:42:59 -05:00
Gary Gregory 5fce2eb84e Javadoc 2023-12-14 13:58:16 -05:00
Gary Gregory 3f6d449f51 Javadoc 2023-12-14 09:49:01 -05:00
Gary Gregory 7666870539 Bump github/codeql-action from 2.22.9 to 2.22.10 2023-12-13 07:50:48 -05:00
Gary Gregory 8f2a6ea09e Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-lang.git 2023-12-13 07:43:17 -05:00
Gary Gregory c5bad8406b Bump github/codeql-action from 2.22.9 to 2.22.10 2023-12-13 07:43:04 -05:00
Sebb 9a306b2b7a Add note re Java versions 2023-12-12 17:12:28 +00:00
Gary Gregory 7d12dfb329 Let parent POM figure out commons.spdx.version 2023-12-12 08:01:47 -05:00
Gary Gregory 4949adec48 Add ReflectionDiffBuilder.Builder
- Add ReflectionDiffBuilder.builder()
2023-12-12 07:55:33 -05:00
Gary Gregory aa4eef85cf [LANG-1724] Customize text pattern in DiffResult#toString()
- Add DiffBuilder.Builder
- Add DiffBuilder.builder()
2023-12-11 15:18:47 -05:00
Gary Gregory d0f012d736 Format tweak 2023-12-11 14:34:48 -05:00
Gary Gregory faa1a1eea5 Internal refactoring
Use lambdas instead of anonymous inner classes
2023-12-11 12:46:19 -05:00
Gary Gregory cb3cbd356f Deprecate org.apache.commons.lang3.builder.Diff.getType() 2023-12-11 09:52:16 -05:00
Gary Gregory c79e29f894 Better internal and parameter names 2023-12-11 09:36:18 -05:00
Gary Gregory 29c94abc08 Javadoc
- "left-hand" -> "left-hand side"
- "right-hand" -> "right-hand side"
2023-12-11 09:33:21 -05:00
Gary Gregory b1b409ae40 [LANG-1724] Customise text pattern in DiffResult#toString()
Internal refactoring toward solution
2023-12-11 09:26:14 -05:00
Gary Gregory 75c6b58777 Jenkins build is unmaintained 2023-12-11 09:21:12 -05:00
Gary Gregory e80fa8b471 Minor tweaks 2023-12-11 08:49:40 -05:00
Sung Ho Yoon d85460129f
(doc) Fix broken release notes (#1147)
Ref: 3201bdf
2023-12-10 21:11:43 -05:00
Gary Gregory 7df7e7ee65 Use constant instead of magic string 2023-12-10 12:57:07 -05:00
Gary Gregory 84b7eb01fc [LANG-1713] ArrayUtils will return null when adding two null arrays, but
undocumented
2023-12-09 11:49:08 -05:00
Gary Gregory 59f464d533 Javadoc: Clarify adAll() methods 2023-12-09 11:47:08 -05:00
Gary Gregory 96438a1f56 Javadoc: Clarify clone() methods 2023-12-09 11:43:15 -05:00
Gary Gregory cbc44a3045 Remove SpotBugs exclusions for fixed SpotBugs bug
DMI_RANDOM_USED_ONLY_ONCE
https://github.com/spotbugs/spotbugs/issues/1504
2023-12-09 10:21:55 -05:00
Gary Gregory 7659889a06 Better comment (deprecation is irrelevant here) 2023-12-09 10:19:18 -05:00
Gary Gregory 4c2224dd1b Javadoc: Remove redundant "java.lang" prefix 2023-12-09 09:58:45 -05:00
Gary Gregory 40fc3496bd Javadoc 2023-12-09 09:45:40 -05:00
Gary Gregory c9513cf2ca
Throw NumberFormatException instead of IndexOutOfBoundsException in NumberUtils.getMantissa(String, int) #1145 2023-12-09 09:35:27 -05:00
Gary Gregory 2078f5c4c9
Throw NumberFormatException instead of IndexOutOfBoundsException in NumberUtils.getMantissa(String, int) #1145 2023-12-09 09:34:55 -05:00
Arthur Chan 6a65b76f2a
[LANG-1723]: Throw NumberFormatException instead of IndexOutOfBoundsException in NumberUtils.getMantissa(String, int) (#1145)
* [LANG-1723]: Wrap possible IOOBE with NumberFormatException

Signed-off-by: Arthur Chan <arthur.chan@adalogics.com>

* Fix unit test

Signed-off-by: Arthur Chan <arthur.chan@adalogics.com>

* Don't change the formatting

* Don't change the formatting

* Query length once

* Less duplication

---------

Signed-off-by: Arthur Chan <arthur.chan@adalogics.com>
Co-authored-by: Gary Gregory <garydgregory@users.noreply.github.com>
2023-12-09 09:33:15 -05:00
Sebb 26e41e0199 Bump parent pom to 65 2023-12-08 23:45:13 +00:00
Sebb bb6d9b6384 Fix varargs compile warnings 2023-12-08 23:44:45 +00:00
Sebb ba729fc832 Fix checkstyle complaints 2023-12-08 23:29:44 +00:00
Sebb 5fbd1bd909 Deal with Spotbugs complaints from latest version 2023-12-08 23:10:38 +00:00
Sebb 3ac237e0e2
Merge pull request #1130 from syoon2/master
Fix broken changelog
2023-12-08 16:48:59 +00:00
Sebb c47bc87147
Merge pull request #1146 from apache/dependabot/github_actions/github/codeql-action-2.22.9
Bump github/codeql-action from 2.22.8 to 2.22.9
2023-12-08 15:42:02 +00:00
dependabot[bot] 5edb8f2361
Bump github/codeql-action from 2.22.8 to 2.22.9
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.22.8 to 2.22.9.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](407ffafae6...c0d1daa7f7)

---
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>
2023-12-08 15:31:22 +00:00
Gary Gregory e298d0bd81 Use compact array declaration
Remove redundant parens
2023-12-07 10:38:08 -05:00
Gary Gregory a8f5dbac27 Sort members 2023-12-07 10:34:47 -05:00
Gary Gregory 4b41f2e26f Typo 2023-12-07 08:49:09 -05:00
Gary Gregory 40e1f5de33
Rethrow NegativeArraySizeException as SerializationException in SerilizationUtils.deserialize(InputStream) #1141 2023-12-07 08:46:12 -05:00
Arthur Chan c3f5f3204b
LANG-1722: Rethrow NegativeArraySizeException as SerializationException in SerilizationUtils.deserialize(InputStream) (#1141)
* LANG-1722: Catch NegativeArraySizeException

Signed-off-by: Arthur Chan <arthur.chan@adalogics.com>

* Fix unit test formatting

Signed-off-by: Arthur Chan <arthur.chan@adalogics.com>

---------

Signed-off-by: Arthur Chan <arthur.chan@adalogics.com>
2023-12-07 08:44:58 -05:00
Gary Gregory 3760ad0838
Update changes.xml 2023-12-07 08:44:36 -05:00
Paranoïd User 0e6f9c4f79
build: drop obsolete jdk13 profile (#1142)
In 2019, there were issues with generating coverage reports with Jacoco v0.8.3 on JDK 13 (PR #433). Since then, Jacoco has been updated to v0.8.10, which officially supports JDK 19/20. This profile is now obsolete and can be safely removed.

https://github.com/jacoco/jacoco/releases
2023-12-07 08:43:37 -05:00