Commit Graph

7016 Commits

Author SHA1 Message Date
Gary Gregory 5cd20a04a0 Internal refactoring around private modify() method 2022-07-05 09:49:33 -04:00
Gary Gregory fa38030955 Use Objects#requireNonNull() 2022-07-05 09:44:44 -04:00
Gary Gregory 7ee27499f8 Better internal exception handling. 2022-07-05 09:04:55 -04:00
Gary Gregory aae5a3522f Use Objects#requireNonNull() 2022-07-05 09:00:04 -04:00
Gary Gregory a588f7e693
Javadoc: StringUtils.repeat("", "x", 3) = "xx"; #918 2022-07-05 08:45:29 -04:00
guicaiyue f099b4a5fc
docs: Annotation error StringUtils.repeat("", "x", 3) = "xx"; (#918) 2022-07-05 08:43:26 -04:00
Gary Gregory 386f6725bd Add test for StringUtils.substringBetween to disprove PR #908. 2022-07-05 08:40:38 -04:00
Gary Gregory 6672207ae1
Bump commons.pmd-impl.version from 6.46.0 to 6.47.0 #915 2022-07-05 08:36:39 -04:00
dependabot[bot] e8e7afa19f
Bump commons.pmd-impl.version from 6.46.0 to 6.47.0 (#915)
Bumps `commons.pmd-impl.version` from 6.46.0 to 6.47.0.

Updates `pmd-core` from 6.46.0 to 6.47.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.46.0...pmd_releases/6.47.0)

Updates `pmd-java` from 6.46.0 to 6.47.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.46.0...pmd_releases/6.47.0)

Updates `pmd-javascript` from 6.46.0 to 6.47.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.46.0...pmd_releases/6.47.0)

Updates `pmd-jsp` from 6.46.0 to 6.47.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.46.0...pmd_releases/6.47.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-07-05 08:35:15 -04:00
Gary Gregory f29647a149 Add missing namespace and XSD to SpotBugs filter file. 2022-07-04 14:20:08 -04:00
Gary Gregory 9ee8c045e4 Extra whitespace 2022-07-02 09:36:11 -04:00
dependabot[bot] 092a328b6b Bump spotbugs from 4.6.0 to 4.7.1
Bumps [spotbugs](https://github.com/spotbugs/spotbugs) from 4.6.0 to 4.7.1.
- [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.6.0...4.7.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-02 10:25:29 +12:00
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