Commit Graph

7025 Commits

Author SHA1 Message Date
Gary Gregory f714c84f95 [LANG-1675] Improve performance of StringUtils.join for primitives #812 2022-04-03 12:54:24 -04:00
Hubert 0f7d484882
LANG-1675 - Improve performance of StringUtils.join for primitives (#812)
* String.join - boolean - use StringBuilder

* Replaced StringJoiner by StringBuilder

* Fix: formatting, removed condition in for

* Use substring instead of deleteCharAt. Computed StringBuilder size for - char, boolean join methods

* Reformating
2022-04-03 12:52:56 -04:00
Gary Gregory 0d729dd729 Javadoc. 2022-04-03 11:07:45 -04:00
Gary Gregory dd4e7bdc7c Refactor commons code. 2022-04-03 10:57:59 -04:00
Gary Gregory 777590c82c Use final. 2022-04-03 10:57:31 -04:00
Gary Gregory 7c60085179 Better lambda. 2022-04-03 10:57:04 -04:00
Gary Gregory 9abbb06376 Javadoc. 2022-04-03 10:54:34 -04:00
Gary Gregory a64be9d8a8 Normalize spelling of summarizing. 2022-04-03 10:48:47 -04:00
Gary Gregory 4b5245dbce Add @SuppressWarnings("unchecked") 2022-04-03 10:48:22 -04:00
Gary Gregory efce331acd Javadoc. 2022-04-03 10:42:12 -04:00
Gary Gregory 2e1affcebb Bump exec-maven-plugin from 1.6.0 to 3.0.0 #590 2022-04-03 10:24:48 -04:00
dependabot[bot] da07dda4df
Bump exec-maven-plugin from 1.6.0 to 3.0.0 (#590)
Bumps [exec-maven-plugin](https://github.com/mojohaus/exec-maven-plugin) from 1.6.0 to 3.0.0.
- [Release notes](https://github.com/mojohaus/exec-maven-plugin/releases)
- [Commits](https://github.com/mojohaus/exec-maven-plugin/compare/exec-maven-plugin-1.6.0...exec-maven-plugin-3.0.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-03 10:23:52 -04:00
Gary Gregory 4877259dad [LANG-1679] Improve performance of StringUtils.unwrap(String,
String) #844
2022-04-03 10:22:16 -04:00
cloverandwang 944608b854
[LANG-1679] Improve performance of StringUtils.unwrap(String, String) (#844) 2022-04-03 10:20:34 -04:00
Gary Gregory 97e1f091af Bump jmh.version from 1.34 to 1.35 #872 2022-04-03 10:12:00 -04:00
Gary Gregory fea878d6eb Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-lang.git 2022-04-03 10:11:19 -04:00
dependabot[bot] d9e27a9485
Bump jmh.version from 1.34 to 1.35 (#872)
Bumps `jmh.version` from 1.34 to 1.35.

Updates `jmh-core` from 1.34 to 1.35

Updates `jmh-generator-annprocess` from 1.34 to 1.35

---
updated-dependencies:
- dependency-name: org.openjdk.jmh:jmh-core
  dependency-type: direct:development
  update-type: version-update:semver-minor
- dependency-name: org.openjdk.jmh:jmh-generator-annprocess
  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>
2022-04-03 10:11:13 -04:00
Gary Gregory 33e5a955d5 Bump commons.pmd-impl.version from 6.43.0 to 6.44.0 #873 2022-04-03 10:11:03 -04:00
dependabot[bot] 2329ebffd7
Bump commons.pmd-impl.version from 6.43.0 to 6.44.0 (#873)
Bumps `commons.pmd-impl.version` from 6.43.0 to 6.44.0.

Updates `pmd-core` from 6.43.0 to 6.44.0
- [Release notes](https://github.com/pmd/pmd/releases)
- [Changelog](https://github.com/pmd/pmd/blob/master/docs/render_release_notes.rb)
- [Commits](https://github.com/pmd/pmd/compare/pmd_releases/6.43.0...pmd_releases/6.44.0)

Updates `pmd-java` from 6.43.0 to 6.44.0
- [Release notes](https://github.com/pmd/pmd/releases)
- [Changelog](https://github.com/pmd/pmd/blob/master/docs/render_release_notes.rb)
- [Commits](https://github.com/pmd/pmd/compare/pmd_releases/6.43.0...pmd_releases/6.44.0)

Updates `pmd-javascript` from 6.43.0 to 6.44.0
- [Release notes](https://github.com/pmd/pmd/releases)
- [Changelog](https://github.com/pmd/pmd/blob/master/docs/render_release_notes.rb)
- [Commits](https://github.com/pmd/pmd/compare/pmd_releases/6.43.0...pmd_releases/6.44.0)

Updates `pmd-jsp` from 6.43.0 to 6.44.0
- [Release notes](https://github.com/pmd/pmd/releases)
- [Changelog](https://github.com/pmd/pmd/blob/master/docs/render_release_notes.rb)
- [Commits](https://github.com/pmd/pmd/compare/pmd_releases/6.43.0...pmd_releases/6.44.0)

---
updated-dependencies:
- dependency-name: net.sourceforge.pmd:pmd-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: net.sourceforge.pmd:pmd-java
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: net.sourceforge.pmd:pmd-javascript
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: net.sourceforge.pmd:pmd-jsp
  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>
2022-04-03 10:09:53 -04:00
Gary Gregory 4b9dfa2b1d Fixing and adding DateUtils exception Javadocs #871 2022-03-27 08:32:04 -07:00
Diego Marcilio 75bb10331c
Fixing and adding DateUtils exception javadocs with new tests when needed (#871) 2022-03-27 08:24:33 -07:00
Gary Gregory 8b7dff9900
Updating javadoc for NullPointerException when Validate.notNull() is called #870. 2022-03-26 10:45:59 -07:00
Diego Marcilio d5fef1e784
Updating javadoc for NullPointerException when Validate.notNull() is called (#870) 2022-03-26 10:43:05 -07:00
dependabot[bot] 90e0a9bb23 Bump spotbugs-maven-plugin from 4.5.3.0 to 4.6.0.0
Bumps [spotbugs-maven-plugin](https://github.com/spotbugs/spotbugs-maven-plugin) from 4.5.3.0 to 4.6.0.0.
- [Release notes](https://github.com/spotbugs/spotbugs-maven-plugin/releases)
- [Commits](https://github.com/spotbugs/spotbugs-maven-plugin/compare/spotbugs-maven-plugin-4.5.3.0...spotbugs-maven-plugin-4.6.0.0)

---
updated-dependencies:
- dependency-name: com.github.spotbugs:spotbugs-maven-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-26 11:18:06 +13:00
Gary Gregory 54087ee109
Bump actions/cache from 2.1.7 to 3 #867 2022-03-25 08:48:58 -07:00
dependabot[bot] 35f3293b50
Bump actions/cache from 2.1.7 to 3 (#867)
Bumps [actions/cache](https://github.com/actions/cache) from 2.1.7 to 3.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2.1.7...v3)

---
updated-dependencies:
- dependency-name: actions/cache
  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>
2022-03-25 08:48:07 -07:00
Gary Gregory 69533819a0 Fix Checkstyle issue. 2022-03-25 08:47:03 -07:00
Gary Gregory 2252fade50 Javadoc 2022-03-21 11:41:38 -04:00
Gary Gregory 8218767894 Add Consumers. 2022-03-21 11:38:20 -04:00
Gary Gregory 3e6255ec52 Fix Checkstyle. 2022-03-21 11:36:01 -04:00
Gary Gregory 0486d069b5 Fix Javadoc doclint WARNING messages on Java 17. 2022-03-21 10:55:13 -04:00
Gary Gregory a9f9ba4fba Bump SpotBugs to the current versions of Maven Plugin and underlying
tool.

- TODO Can any of these be done without breaking binary compatibility?
EI_EXPOSE_REP, EI_EXPOSE_REP2, MS_EXPOSE_REP,
REFLF_REFLECTION_MAY_INCREASE_ACCESSIBILITY_OF_FIELD.
- Equals and hashcode do not match up.
2022-03-21 10:36:56 -04:00
Gary Gregory 318cc6ec4d Sort members. 2022-03-21 10:18:17 -04:00
Gary Gregory e5910c7a03 Bump animal-sniffer-maven-plugin from 1.20 to 1.21. 2022-03-21 10:04:09 -04:00
Gary Gregory 9da59d6deb Bump commons.japicmp.version 0.15.4 to 0.15.7 2022-03-21 10:01:52 -04:00
Gary Gregory 389fb37c56 Add Memoizer(Function) and Memoizer(Function, boolean). 2022-03-21 10:00:41 -04:00
Gary Gregory 85751a118e Refactor to create the mapping function once.
Add FutureTasks.
2022-03-21 09:19:13 -04:00
Gary Gregory 00bccd85e5 Add TimeZones.toTimeZone(TimeZone). 2022-03-20 14:28:44 -04:00
Gary Gregory 3952780fd7 Adds TimeZones.toTimeZone(). 2022-03-20 14:27:50 -04:00
Gary Gregory 30c9be6f6d Better concurrency with the Java 8 API ConcurrentMap#computeIfAbsent(). 2022-03-20 14:27:28 -04:00
Gary Gregory f518bb6c6f Better concurrency with the Java 8 API ConcurrentMap#computeIfAbsent(). 2022-03-20 14:27:15 -04:00
Gary Gregory 9dd8584963 Better concurrency with the Java 8 API ConcurrentMap#computeIfAbsent(). 2022-03-20 14:27:10 -04:00
Gary Gregory 5648bc42e2 Better concurrency with the Java 8 API ConcurrentMap#computeIfAbsent(). 2022-03-20 14:06:39 -04:00
Gary Gregory 89bcc5f80e Better concurrency with the Java 8 API ConcurrentMap#computeIfAbsent(). 2022-03-20 14:06:23 -04:00
Gary Gregory cb6676b1bb Use Java 8 API ConcurrentMap#computeIfAbsent(). 2022-03-20 13:49:09 -04:00
Gary Gregory 4a5ef835cc Fix unintended commit. 2022-03-20 13:27:18 -04:00
Gary Gregory 033cd48313 Javadoc typo. 2022-03-20 13:25:59 -04:00
Gary Gregory 6dd2bce193 Remove extra whitespace. 2022-03-20 13:20:13 -04:00
Gary Gregory 9658994c9a In-line only used once local variable. 2022-03-20 13:15:04 -04:00
Gary Gregory 3ac79227ed Bump biz.aQute.bnd:biz.aQute.bndlib from 6.1.0 to 6.2.0 2022-03-11 09:42:44 -05:00