Commit Graph

7010 Commits

Author SHA1 Message Date
Gary Gregory 25e91c4242 Move new internal Calendar APIs to CalendarUtils and refactor. 2022-05-15 15:51:31 -04:00
Gary Gregory eff43864b3 [LANG-1680] FastDateFormat does not support the 'L'-Pattern from
SimpleDateFormat.

- Use final.
- Fix typos.
- In-line single use local variables.
2022-05-15 15:22:50 -04:00
Steve Bosman 127869e88f
LANG-1680 Add support for standalone month formats (#892) 2022-05-15 15:13:41 -04:00
Gary Gregory a2ed219fb8 Internal refactoring to allow to chain calls using
MemberUtils.setAccessibleWorkaround().
2022-05-10 18:35:20 -04:00
Gary Gregory 54f00795a3 Fix Javadoc. 2022-05-10 18:26:55 -04:00
Gary Gregory 663c806ee9 Fix Javadoc. 2022-05-10 16:29:07 -04:00
Gary Gregory 2a22770183 Remove unnecessary @SuppressWarnings("unchecked") 2022-05-09 08:47:38 -04:00
Gary Gregory 80889fc45c
Minor changes #769 2022-05-04 10:52:24 -04:00
Arturo Bernal d5ff609743
* Inline var (#769)
* Simplify conditions
* Make final variable
2022-05-04 10:51:41 -04:00
Gary Gregory 4ef1e3db99 Add BooleanUtilsTest tests.
Add testXor_primitive_validInput_1items().
Add testXor_object_validInput_1items().
2022-05-04 10:40:10 -04:00
Gary Gregory 6fa0a17595 Bump net.sourceforge.pmd:* from 6.44.0 to 6.45.0 2022-05-02 09:44:34 -04:00
Gary Gregory 2b64fe7b54 Bump com.github.spotbugs:spotbugs from 4.5.3 to 4.6.0 2022-05-02 09:42:04 -04:00
Gary Gregory f146bf817a Remove unnecessary variable creations. #882 2022-05-02 09:34:17 -04:00
Arturo Bernal ba08d40beb
Remove unnecessary variable creations. (#882) 2022-05-02 09:33:50 -04:00
Gary Gregory d5f43dce28 Make final mappingFunction variable. #876 2022-05-02 09:32:03 -04:00
Arturo Bernal b58fb5bdc1
Make final mappingFunction variable. (#876) 2022-05-02 09:31:21 -04:00
Gary Gregory e6dadcb49a Fix Javadoc for Validate.isAssignableFrom() 2022-05-02 09:30:03 -04:00
Gary Gregory 69202d5f16 Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-lang.git 2022-05-02 09:28:26 -04:00
Gary Gregory 9bf6b2fb41 Make Validate.isAssignableFrom() check null inputs. 2022-05-02 09:28:15 -04:00
Gary Gregory cd0a380f04
Bump github/codeql-action from 1 to 2 #886 2022-05-01 14:10:09 -04:00
dependabot[bot] 505f76724c
Bump github/codeql-action from 1 to 2 (#886)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 1 to 2.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v1...v2)

---
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>
2022-05-01 14:09:07 -04:00
dependabot[bot] 75a6aac07e Bump junit-pioneer from 1.6.2 to 1.7.0
Bumps [junit-pioneer](https://github.com/junit-pioneer/junit-pioneer) from 1.6.2 to 1.7.0.
- [Release notes](https://github.com/junit-pioneer/junit-pioneer/releases)
- [Commits](https://github.com/junit-pioneer/junit-pioneer/compare/v1.6.2...v1.7.0)

---
updated-dependencies:
- dependency-name: org.junit-pioneer:junit-pioneer
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-16 13:06:54 +12:00
dependabot[bot] b718d6a9d1 Bump commons-parent from 52 to 53
Bumps commons-parent from 52 to 53.

---
updated-dependencies:
- dependency-name: org.apache.commons:commons-parent
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-16 13:01:53 +12:00
Gary Gregory 0b51bc7bee Bump actions/cache from 3 to 3.0.2 2022-04-12 08:43:41 -04:00
Gary Gregory 246a43cca5 Group some updates. 2022-04-12 08:43:22 -04:00
dependabot[bot] dded8fd504 Bump actions/setup-java from 2 to 3
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 2 to 3.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-09 09:39:02 +12:00
dependabot[bot] 82ec18a60a Bump maven-surefire-plugin from 3.0.0-M5 to 3.0.0-M6
Bumps [maven-surefire-plugin](https://github.com/apache/maven-surefire) from 3.0.0-M5 to 3.0.0-M6.
- [Release notes](https://github.com/apache/maven-surefire/releases)
- [Commits](https://github.com/apache/maven-surefire/compare/surefire-3.0.0-M5...surefire-3.0.0-M6)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-surefire-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-09 09:37:28 +12:00
Sebb 704bd0119c git-wip-us => gitbox 2022-04-05 11:37:32 +01:00
Gary Gregory eb62fccc1c No need to use the java.lang package name in Javadoc references. 2022-04-03 17:19:06 -04:00
Gary Gregory 9bb09244e6 Fomrat tweak. 2022-04-03 17:15:48 -04:00
Gary Gregory b634633126 Checkstyle 2022-04-03 17:14:16 -04:00
Gary Gregory 517a9e0630 Fixed NPE getting Stack Trace if Throwable is null #733
Simplify.
2022-04-03 17:13:23 -04:00
Gary Gregory 85c70a450c Fixed NPE getting Stack Trace if Throwable is null #733 2022-04-03 17:03:17 -04:00
Arturo Bernal 1926e35e3e
Fixed NPE getting Stack Trace if Throwable is null (#733) 2022-04-03 17:02:00 -04:00
Gary Gregory 454255f0bb [LANG-1655] Fixed an issue where characters were separated in the NFD
system

Add but disable a test.
2022-04-03 14:44:11 -04:00
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