Commit Graph

6790 Commits

Author SHA1 Message Date
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
Gary Gregory e8cccb8efb Add synchronized like super 2022-05-30 09:11:14 -04:00
Gary Gregory cf8d9737eb Organize imports 2022-05-30 09:06:16 -04:00
Gary Gregory e7762b2672 Use try-with-resources without final (redundant SpotBugs) 2022-05-30 09:05:38 -04:00
Gary Gregory bb43de8a5e Use try-with-resources 2022-05-30 09:02:29 -04:00
Gary Gregory 1fed20b531 Add and document @SuppressWarnings 2022-05-30 08:59:02 -04:00
Gary Gregory 254e0f1da8 Remove unnecessary @SuppressWarnings 2022-05-30 08:54:23 -04:00
Gary Gregory 803aa24db0 Add missing serialVersionUID declarations in tests 2022-05-30 08:49:50 -04:00
Gary Gregory 6ebaad61fe Fix test 2022-05-29 17:41:36 -04:00
Gary Gregory 308b28a478 Fix test 2022-05-29 17:10:12 -04:00
Gary Gregory d1b750eaca Javadoc 2022-05-28 14:03:15 -04:00
Gary Gregory 8a6a5d9ebc Fix Javadoc, use ternary expressions, use Objects instead of Validate,
format fix
2022-05-28 13:59:39 -04:00
Gary Gregory 16de452a37 Add DurationUtils.of(FailableConsumer|FailableRunnbale) 2022-05-28 09:02:02 -04:00
Gary Gregory eb2bc4d3b7 Remove @SuppressWarnings("unchecked") 2022-05-28 07:58:24 -04:00
Gary Gregory 25000a62f4 Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-lang.git 2022-05-28 07:53:41 -04:00