Commit Graph

6445 Commits

Author SHA1 Message Date
Gary Gregory 8ae6a3925a Add and use ArrayUtils.newInstance(Class<T>, int). 2021-05-25 10:18:47 -04:00
Gary Gregory 27101b4739 Add and use APIs to avoid compiler warnings and use of
@SuppressWarnings.

- Add and use ArrayUtils.getComponentType(T[]).
- Add and use ClassUtils.getComponentType(Class<T[]>).
- Add and use ObjectUtils.getClass(T).
2021-05-25 09:57:29 -04:00
Gary Gregory 56e525d074 Remove useless in-line comments. 2021-05-25 09:38:21 -04:00
Gary Gregory 57e5a3edd1 Remove useless in-line comments. 2021-05-25 08:59:00 -04:00
Gary Gregory 7b7aaa4e7c Bump junit-bom from 5.7.1 to 5.7.2 #761. 2021-05-22 17:28:45 -04:00
dependabot[bot] dc6c0fc5bd
Bump junit-bom from 5.7.1 to 5.7.2 (#761)
Bumps [junit-bom](https://github.com/junit-team/junit5) from 5.7.1 to 5.7.2.
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.7.1...r5.7.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-22 17:27:58 -04:00
Gary Gregory 83cbc149a3 Remove extra whitespace. 2021-05-22 08:24:38 -04:00
Gary Gregory c893f5d3ae Add GitHub code of conduct page that points to the Apache page. 2021-05-16 17:06:47 -04:00
Gary Gregory acd7283f19 Redundant Collection operation. Use Collections.emptyIterator() #738. 2021-05-14 09:38:52 -04:00
Arturo Bernal 6e4ed7cd4f
Redundant Collection operation. Use Collections.emptyIterator() (#738) 2021-05-14 09:37:09 -04:00
Gary Gregory 950ab130d6 Upgrade checkstyle 8.41.1 -> 8.42 #752. 2021-05-12 09:07:02 -04:00
XenoAmess 3dde1e8bbf
upgrade checkstyle (#752) 2021-05-12 09:05:18 -04:00
Gary Gregory b48077252d Bump junit-pioneer from 1.3.8 to 1.4.1 #749. 2021-05-12 09:03:50 -04:00
dependabot[bot] 473e6ad2a1
Bump junit-pioneer from 1.3.8 to 1.4.1 (#749)
Bumps [junit-pioneer](https://github.com/junit-pioneer/junit-pioneer) from 1.3.8 to 1.4.1.
- [Release notes](https://github.com/junit-pioneer/junit-pioneer/releases)
- [Commits](https://github.com/junit-pioneer/junit-pioneer/compare/v1.3.8...v1.4.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-12 09:02:41 -04:00
Gary Gregory 523672d25c Update some build dependencoes.
- commons.jacoco.version 0.8.6 -> 0.8.7.
- commons.japicmp.version 0.15.2 -> 0.15.3.
2021-05-12 08:44:52 -04:00
Gary Gregory c1a0c26c30 Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-lang.git 2021-04-19 10:03:46 -04:00
Gary Gregory d5a1814d63 Bump easymock from 4.2 to 4.3 #746. 2021-04-19 09:03:57 -04:00
dependabot[bot] e790449091
Bump easymock from 4.2 to 4.3 (#746)
Bumps [easymock](https://github.com/easymock/easymock) from 4.2 to 4.3.
- [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-4.2...easymock-4.3)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-19 09:03:09 -04:00
Gary Gregory a5d4660eed Allow Java 16 to fail to allow Java 8 and 11 to run until we know what's
wrong on Java 16.
2021-04-19 08:41:55 -04:00
Gary Gregory 07f7143092 Allow Java 16 to fail to allow Java 8 and 11 to run until we know what's
wrong on Java 16.
2021-04-19 08:39:40 -04:00
Gary Gregory c4019e73bb Workaround https://github.com/spotbugs/spotbugs/issues/1504 2021-04-18 19:37:56 -04:00
Gary Gregory 03f559700f spotbugs-maven-plugin 4.2.2 -> 4.2.3. 2021-04-18 19:25:51 -04:00
Gary Gregory 2978cb6cf0 DMI: Random object created and used only once
(DMI_RANDOM_USED_ONLY_ONCE); Better multi-threaded behavior.

Thank you SpotBugs.
Sort methods.
2021-04-18 19:21:44 -04:00
Gary Gregory 5d51fc2878 Typo. 2021-04-18 18:48:04 -04:00
Gary Gregory 6ad3961b3f Bump actions/setup-java from v1.4.3 to v2.
Update changes.xml for recent PRs.
2021-04-18 18:47:19 -04:00
Gary Gregory 9723b57f3b Checkstyle. 2021-04-18 18:44:22 -04:00
dependabot[bot] a35ecb3439
Bump checkstyle from 8.41 to 8.41.1 (#739)
Bumps [checkstyle](https://github.com/checkstyle/checkstyle) from 8.41 to 8.41.1.
- [Release notes](https://github.com/checkstyle/checkstyle/releases)
- [Commits](https://github.com/checkstyle/checkstyle/compare/checkstyle-8.41...checkstyle-8.41.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-18 18:42:00 -04:00
dependabot[bot] d14cc4aa40
Bump spotbugs from 4.2.2 to 4.2.3 (#744)
Bumps [spotbugs](https://github.com/spotbugs/spotbugs) from 4.2.2 to 4.2.3.
- [Release notes](https://github.com/spotbugs/spotbugs/releases)
- [Changelog](https://github.com/spotbugs/spotbugs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/spotbugs/spotbugs/compare/4.2.2...4.2.3)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-18 18:41:36 -04:00
dependabot[bot] f0ed760004
Bump actions/cache from v2.1.4 to v2.1.5 (#742)
Bumps [actions/cache](https://github.com/actions/cache) from v2.1.4 to v2.1.5.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2.1.4...1a9e2138d905efd099035b49d8b7a3888c653ca8)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-18 18:39:32 -04:00
Gary Gregory 4e18561e49 Add and use Suppliers. 2021-04-18 18:37:17 -04:00
Gary Gregory 320486fe17 Remove dead comments. 2021-04-18 18:19:25 -04:00
Gary Gregory d1e9e598c9 Add test for SystemUtils.USER_NAME. 2021-03-28 08:47:59 -04:00
Gary Gregory 5e5af7a02b Sort members. 2021-03-28 08:45:13 -04:00
Gary Gregory 79eb89e351 Add and use EnumUtils.getFirstEnumIgnoreCase(Class, String, Function,
E).
2021-03-26 10:11:41 -04:00
Gary Gregory aaf210e7e7 Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-lang.git 2021-03-24 19:46:46 -04:00
Gary Gregory c06fd10b0e Bump spotbugs-maven-plugin from 4.2.0 to 4.2.2 #735. 2021-03-24 19:46:34 -04:00
dependabot[bot] 9042e5f15d
Bump spotbugs-maven-plugin from 4.2.0 to 4.2.2 (#735)
Bumps [spotbugs-maven-plugin](https://github.com/spotbugs/spotbugs-maven-plugin) from 4.2.0 to 4.2.2.
- [Release notes](https://github.com/spotbugs/spotbugs-maven-plugin/releases)
- [Commits](https://github.com/spotbugs/spotbugs-maven-plugin/commits)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-24 19:45:44 -04:00
Gary Gregory b4e95a4736 Add TriConsumer; provenance Apache Log4j 2.7, and enhanced with
andThen().
2021-03-24 19:44:47 -04:00
Gary Gregory 69c9593cc1 Replace GitHub build for Java 15 with Java 16 and drop Java 16-ea. 2021-03-17 15:49:49 -04:00
Gary Gregory a6714731f5 Clarify entry. 2021-03-17 09:11:41 -04:00
Gary Gregory 9d5bf4b4e2 Normalize to US English spelling. 2021-03-17 09:11:06 -04:00
Gary Gregory 0727c6f9c8 Bump next version for semver to minor release. 2021-03-17 09:10:37 -04:00
Gary Gregory 700be0d8c1 EnumUtils.getEnumSystemProperty(...). 2021-03-17 08:55:26 -04:00
Gary Gregory 64e6ddbc6b Sort methods. 2021-03-17 08:31:39 -04:00
Gary Gregory 61b1747580 Sort members. 2021-03-17 08:22:23 -04:00
Gary Gregory 6b9964ff4b No need to nest in else. 2021-03-05 15:18:32 -05:00
aherbert a2b2b35ac3 [LANG-1646] NumberUtils to return requested floating point type for zero 2021-03-05 16:12:41 +00:00
aherbert 0cfc31b987 Fix formatting 2021-03-05 11:46:15 +00:00
aherbert f53de756a8 Remove bad javadoc from test 2021-03-05 11:41:59 +00:00
aherbert dde6790a88 [LANG-1645] NumberUtils to recognise hex integers prefixed with +
Closes #728
2021-03-05 11:41:38 +00:00