Commit Graph

7004 Commits

Author SHA1 Message Date
Gary Gregory 4dd0a6b4a6 Revert "ThreadGroupPredicate extends Predicate<ThreadGroup>"
This reverts commit 6cd7bd5ed9.
2022-08-21 11:15:50 -04:00
Gary Gregory 6cd7bd5ed9 ThreadGroupPredicate extends Predicate<ThreadGroup> 2022-08-21 11:07:33 -04:00
Gary Gregory cb0fbd4c50 Use Stream. 2022-08-21 11:06:28 -04:00
Gary Gregory 1297d7c365 Use Stream. 2022-08-21 11:06:02 -04:00
Gary Gregory b6df0af297 Refactor internals and use Stream 2022-08-21 11:05:45 -04:00
Gary Gregory c2960c483f Refactor internals and use Stream 2022-08-21 11:05:38 -04:00
Gary Gregory ea2e58fc68 Use Stream. 2022-08-21 11:05:15 -04:00
Gary Gregory 4b63f240b9 Use Stream. 2022-08-21 11:04:56 -04:00
Gary Gregory b0b3a46b26 Use Stream. 2022-08-21 11:04:41 -04:00
Gary Gregory f9484a4b96 Use Stream. 2022-08-21 11:04:28 -04:00
Gary Gregory 0d5d1fc119 Better description 2022-08-21 10:20:49 -04:00
Gary Gregory dc4810aa98 Add TODO comment 2022-08-21 09:40:33 -04:00
Gary Gregory ec90e0d6bb
[LANG-1689] Simple Optional in ObjectUtils#isEmpty() #933 2022-08-21 09:38:58 -04:00
Joseph Hendrix eb07b19f4a
Lang 1689 add optional to objectutils isempty (#933)
* LANG-1689: return the negation of Optional.isPresent when checking if an Optional is empty

* LANG-1689: test whether an optional is empty

* LANG-1689: test whether an optional is NOT empty

* LANG-1689 use spaces not tabs

* LANG-1689 update JavaDoc to reflect use of Optional

* LANG-1689 remove empty line to match code style from before changes

Co-authored-by: hendrixjoseph <hendixjoseph@aol.com>
2022-08-21 09:35:49 -04:00
Gary Gregory db606c65b0
Fix some Javadoc comments #938 2022-08-21 08:58:49 -04:00
Arturo Bernal 598f2fb915
Fix broken javadoc. (#938) 2022-08-21 08:57:32 -04:00
Gary Gregory 5fc1f111f8
Simplifiable conditional expression. #941 2022-08-21 08:51:52 -04:00
Arturo Bernal 3087acb929
Simplifiable conditional expression. (#941) 2022-08-21 08:51:09 -04:00
Gary Gregory ef68684cb3
Extends Object clauses are redundant #937 2022-08-20 14:22:48 -04:00
Arturo Bernal 1d66289a50
Extends clauses are redundant as java.lang.Object is a supertype for all classes. (#937) 2022-08-20 14:21:55 -04:00
Gary Gregory ceb7fbb033
Add tests to increase coverage #904 2022-08-16 08:23:06 -04:00
Arturo Bernal c0707a1a24
Add a bunch of test in order to increase the coverage. (#904) 2022-08-16 08:21:30 -04:00
Gary Gregory 30a14e9451 In-line single use local variable 2022-08-12 18:40:11 -04:00
Gary Gregory 717f163a6d Add Streams.of(Iterator) 2022-08-12 14:36:02 -04:00
Gary Gregory ec93f3b7f5 StringUtils.join(Iterator, String) should only return null when the
Iterator is null
2022-08-12 14:30:09 -04:00
Gary Gregory 39f08ac62f StringUtils.join(Iterator, String) should only return null when the
Iterator is null
2022-08-12 14:14:47 -04:00
Gary Gregory 6a95f03a6a Sort members 2022-08-12 11:35:35 -04:00
Gary Gregory 62910e4f32 Add LangCollectors 2022-08-12 11:33:10 -04:00
Gary Gregory 969a9d9f11 Bump actions/cache from 3.0.6 to 3.0.7 2022-08-12 07:17:39 -04:00
Gary Gregory 9f71c33b00 Remove useless parens 2022-08-07 08:47:25 -04:00
Gary Gregory c75d285b7e Remove dead inline comment 2022-08-06 14:11:57 -04:00
Gary Gregory 912389861c Format tweak 2022-08-06 14:11:27 -04:00
Gary Gregory 7170d0e1e8
Bump commons.pmd-impl.version from 6.47.0 to 6.48.0 #932 2022-08-05 13:12:49 -04:00
dependabot[bot] eaba26c76f
Bump commons.pmd-impl.version from 6.47.0 to 6.48.0 (#932)
Bumps `commons.pmd-impl.version` from 6.47.0 to 6.48.0.

Updates `pmd-core` from 6.47.0 to 6.48.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.47.0...pmd_releases/6.48.0)

Updates `pmd-java` from 6.47.0 to 6.48.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.47.0...pmd_releases/6.48.0)

Updates `pmd-javascript` from 6.47.0 to 6.48.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.47.0...pmd_releases/6.48.0)

Updates `pmd-jsp` from 6.47.0 to 6.48.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.47.0...pmd_releases/6.48.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-08-05 13:12:04 -04:00
Gary Gregory 43658a2785 Bump actions/cache from 3.0.5 to 3.0.6 2022-08-05 08:39:34 -04:00
Gary Gregory 72240e45b9
Bump spotbugs-maven-plugin from 4.7.1.0 to 4.7.1.1 #927 2022-07-29 13:39:01 -04:00
dependabot[bot] 1520581a2b
Bump spotbugs-maven-plugin from 4.7.1.0 to 4.7.1.1 (#927)
Bumps [spotbugs-maven-plugin](https://github.com/spotbugs/spotbugs-maven-plugin) from 4.7.1.0 to 4.7.1.1.
- [Release notes](https://github.com/spotbugs/spotbugs-maven-plugin/releases)
- [Commits](https://github.com/spotbugs/spotbugs-maven-plugin/compare/spotbugs-maven-plugin-4.7.1.0...spotbugs-maven-plugin-4.7.1.1)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-29 13:38:25 -04:00
Gary Gregory f4aa5ef313
Bump junit-bom from 5.8.2 to 5.9.0 #928 2022-07-29 13:38:13 -04:00
dependabot[bot] 93122bb947
Bump junit-bom from 5.8.2 to 5.9.0 (#928)
Bumps [junit-bom](https://github.com/junit-team/junit5) from 5.8.2 to 5.9.0.
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.8.2...r5.9.0)

---
updated-dependencies:
- dependency-name: org.junit:junit-bom
  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-29 13:05:32 -04:00
Gary Gregory 744d3d1634 Update GitHub builds to use Temurin 2022-07-29 08:40:18 -04:00
Gary Gregory b0739b066a
Simplify condition #925 2022-07-21 09:53:57 -04:00
Bhimantoro Suryo Admodjo 72c8b73fa4
simplify conditions (#925)
Co-authored-by: bhimsur <bhimsur>
2022-07-21 09:52:27 -04:00
Gary Gregory 1311d6949a Refactor some internals 2022-07-21 09:15:02 -04:00
Gary Gregory ded8923582 Reuse getLength() 2022-07-21 09:04:18 -04:00
Gary Gregory 552fead535 Use ternary expressions
Remove redundant checks
2022-07-21 08:55:02 -04:00
Gary Gregory 3b38df4393 Use forEach() 2022-07-17 08:50:57 -04:00
Gary Gregory 143518b64a Sort members 2022-07-16 14:52:21 -04:00
Gary Gregory 9be39c4a7a Add Streams.of(Iterable<E>) 2022-07-16 14:44:06 -04:00
Gary Gregory 152b1777fd Rename new method 2022-07-16 11:14:44 -04:00
Gary Gregory e0818e3383 Type safety 2022-07-16 09:31:32 -04:00