Commit Graph

7004 Commits

Author SHA1 Message Date
Gary Gregory 01c61f987b Add SystemUtils.IS_OS_WINDOWS_11. 2022-06-27 10:15:57 -04:00
Bruno P. Kinoshita 1bad88dbc3 Merge branch 'pr-913'
This closes #913
2022-06-21 15:08:57 +12:00
shalk b16b93fa5f Remove duplicate asserts in StringUtilsTest. 2022-06-21 15:08:47 +12:00
Gary Gregory 2e71945163 Replace @code with @link for class references 2022-06-19 09:30:36 -04:00
Gary Gregory 911fbb9352 Add ExceptionUtils.getRootCauseStackTraceList(Throwable) 2022-06-18 13:41:40 -04:00
Gary Gregory 01f8edc18b In-line some local vars 2022-06-18 13:27:48 -04:00
Gary Gregory c6cfdc6149 Format tweaks 2022-06-18 13:26:13 -04:00
Gary Gregory 70b2250f80 Add ExceptionUtils.forEach(Throwable, Consumer<Throwable>)
Add ExceptionUtils.stream(Throwable).
2022-06-18 13:23:48 -04:00
Gary Gregory 7912894eb8 Sort members 2022-06-18 13:02:50 -04:00
Gary Gregory df0296f7c2 Format tweaks 2022-06-16 10:28:47 -04:00
Gary Gregory 1967613528 Use final, remove redundant call to super(), use valueOf(), lambdas. 2022-06-15 15:25:10 -04:00
Gary Gregory 6cdaa83614 Close HTML tags 2022-06-14 14:21:42 -04:00
Gary Gregory 4aef230954 Foramtting. 2022-06-14 13:49:34 -04:00
Gary Gregory 8e687f1cf2 Use final 2022-06-14 08:58:07 -04:00
Gary Gregory c18803a47f Fix code duplication 2022-06-14 08:44:11 -04:00
Gary Gregory dc8920206e Close HTML tags
Remove useless inline comments.
2022-06-14 08:39:04 -04:00
Gary Gregory dceed1be7f Better way to deal with ignored exceptions and PMD checks.
Gets rid of output like:
<suppressedviolation
filename="...\src\main\java\org\apache\commons\lang3\reflect\MemberUtils.java"
suppressiontype="nopmd" msg="Avoid empty catch blocks" usermsg="
"></suppressedviolation>
2022-06-13 23:02:14 -04:00
Gary Gregory bd7956949e Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-lang.git 2022-06-13 20:40:22 -04:00
Gary Gregory bdde0e1c13 Better way to deal with ignored exceptions and PMD checks.
Gets rid of output like:
<suppressedviolation
filename="...\src\main\java\org\apache\commons\lang3\reflect\MemberUtils.java"
suppressiontype="nopmd" msg="Avoid empty catch blocks" usermsg="
"></suppressedviolation>
2022-06-13 20:40:11 -04:00
Gary Gregory 07403c9a94
Update ClassUtils Javadoc with some missing throws NPE #912 2022-06-13 18:16:08 -04:00
shalk(xiao kun) bf2d0bf02b
update ClassUtils javadoc with throw npe (#912) 2022-06-13 18:14:37 -04:00
Gary Gregory c55962646a Add missing test coverage for ClassUtils#getClass(String, boolean) 2022-06-13 18:12:14 -04:00
Gary Gregory 096652bf9a Add missing test coverage for ClassUtils#getClass(ClassLoader, String) 2022-06-13 18:05:38 -04:00
Gary Gregory 4b9c1a03cf Format: Remove extra whitespace around parameters.
Longer lines.
2022-06-13 18:01:24 -04:00
Gary Gregory 2b13f5b9fd Bump apache-rat from 0.13 to 0.14 2022-06-13 08:53:03 -04:00
Nikhil Kumar ef07c645ef fix StringUtils.upperCase(String str) java doc 2022-06-12 14:41:40 +12:00
dependabot[bot] 3228ab0459 Bump maven-surefire-plugin from 3.0.0-M6 to 3.0.0-M7
Bumps [maven-surefire-plugin](https://github.com/apache/maven-surefire) from 3.0.0-M6 to 3.0.0-M7.
- [Release notes](https://github.com/apache/maven-surefire/releases)
- [Commits](https://github.com/apache/maven-surefire/compare/surefire-3.0.0-M6...surefire-3.0.0-M7)

---
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-06-11 10:51:48 +12:00
dependabot[bot] 12beaf97cb Bump maven-pmd-plugin from 3.16.0 to 3.17.0
Bumps [maven-pmd-plugin](https://github.com/apache/maven-pmd-plugin) from 3.16.0 to 3.17.0.
- [Release notes](https://github.com/apache/maven-pmd-plugin/releases)
- [Commits](https://github.com/apache/maven-pmd-plugin/compare/maven-pmd-plugin-3.16.0...maven-pmd-plugin-3.17.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-11 10:50:30 +12:00
Gary Gregory 2da006dbbe Fix camel case and comment typos. 2022-06-10 07:56:28 -04:00
Gary Gregory 593ccc17b8 Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-lang.git 2022-06-08 12:37:11 -04:00
Gary Gregory edb7a6775a Add GitHub coverage.yml. 2022-06-08 12:37:01 -04:00
Gary Gregory a123c892e2 Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-lang.git 2022-06-07 18:10:02 -04:00
Gary Gregory 80b36f1ea6 Bump actions/cache from 3.0.3 to 3.0.4 2022-06-07 14:00:29 -04:00
Jochen Wiedmann 6d8dfbe6a1
Merge pull request #907 from stevebosman-oc/feature/functionCodeCoverage
Increase test coverage of functional interfaces
2022-06-07 18:03:01 +02:00
Steve 3e66c1de17
Move tests into FailableFunctionsTest 2022-06-07 15:16:06 +01:00
Steve a6e18d9465
Increase test coverage of functional interfaces 2022-06-06 15:32:36 +01:00
Gary Gregory 932b1ae52c Use final 2022-06-05 10:01:25 -04:00
dependabot[bot] 4f08422f77 Bump commons.pmd-impl.version from 6.45.0 to 6.46.0
Bumps `commons.pmd-impl.version` from 6.45.0 to 6.46.0.

Updates `pmd-core` from 6.45.0 to 6.46.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.45.0...pmd_releases/6.46.0)

Updates `pmd-java` from 6.45.0 to 6.46.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.45.0...pmd_releases/6.46.0)

Updates `pmd-javascript` from 6.45.0 to 6.46.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.45.0...pmd_releases/6.46.0)

Updates `pmd-jsp` from 6.45.0 to 6.46.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.45.0...pmd_releases/6.46.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>
2022-06-04 05:44:05 +12:00
Gary Gregory 940b79b59c Allow extension of previously final classes ImmutablePair and
ImmutableTriple
2022-06-02 07:18:36 -04:00
Gary Gregory db4a8b47f0 @SuppressWarnings("unchecked") not needed 2022-06-01 15:58:15 -04:00
Gary Gregory 330ba4d932 Bump actions/cache from 3.0.2 to 3.0.3 2022-05-31 16:37:13 -04:00
Gary Gregory 6f3b00f36d Remove noisy inline comments. 2022-05-31 11:27:42 -04:00
Gary Gregory 9ffccd7ac3 Javadoc 2022-05-31 11:09:28 -04:00
Gary Gregory d5fb182cc1 Javadoc 2022-05-31 11:08:59 -04:00
Gary Gregory 9370617f27 Javadoc 2022-05-31 11:07:10 -04:00
Gary Gregory 16ed9eb220 Reuse Function identity 2022-05-30 09:30:28 -04:00
Gary Gregory 47f699be39 Fix generics compiler warnings 2022-05-30 09:24:15 -04:00
Gary Gregory 2477d7970f Document unused for tests 2022-05-30 09:18:11 -04:00
Gary Gregory 702d661907 Add synchronized like super 2022-05-30 09:14:43 -04:00
Gary Gregory c7d56ecb70 Document unused type parameter for tests 2022-05-30 09:14:20 -04:00