Commit Graph

7551 Commits

Author SHA1 Message Date
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
Paranoïd User d3f8fdf126
Minor grammar fixes (#1143)
* style: minor grammar fixes

* revert: fix shadowed generic type in assertion

Will address this type of issue elsewhere in a separate PR.
2023-12-07 08:42:22 -05:00
Gary Gregory 68fdc0dd67
[LANG-1721] Fix wrong number check that cause StringIndexOutOfBoundsException #1140 2023-12-06 09:46:15 -05:00
Arthur Chan 6f2c93ceee
LANG-1721: Fix wrong number check that cause StringIndexOutOfBoundsException (#1140)
* LANG-1721: Fix wrong number check that cause StringIndexOutOfBoundsException

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

* LANG-1721: Fix unit test

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

---------

Signed-off-by: Arthur Chan <arthur.chan@adalogics.com>
2023-12-06 09:44:40 -05:00
Gary Gregory d7e927deff Fix link to the user mailing list 2023-12-05 13:36:34 -05:00
Gary Gregory a6d37ef550 Bump actions/setup-java from 3.13.0 to 4.0.0 2023-11-30 09:51:18 -05:00
Gary Gregory 1f2e015e0e Bump actions/setup-java from 3.13.0 to 4.0.0 2023-11-30 09:46:10 -05:00
Gary Gregory ecea1a981c Bump actions/setup-java from 3.13.0 to 4.0.0 2023-11-30 08:32:48 -05:00
Gary Gregory 0312aedebb Drop reference to IRC 2023-11-30 07:42:23 -05:00
Gary Gregory 4fc2ab4d14 Drop Coveralls 2023-11-28 10:40:15 -05:00
Gary Gregory c52fec6932 Clean up text 2023-11-27 07:37:43 -05:00
Gary Gregory 66ddbc0c77 Javadoc spelling 2023-11-26 16:02:14 -05:00
Gary Gregory 63905f6164 Javadoc spelling 2023-11-26 15:53:54 -05:00
Gary Gregory f62bfa0755 Comments
Normalize spelling
2023-11-26 15:02:06 -05:00
Gary Gregory 8ed7b18dc9 Javadoc
Normalize spelling
2023-11-26 15:00:02 -05:00
Gary Gregory f04b12b9ce Remove extra blank lines 2023-11-26 14:04:50 -05:00