Commit Graph

6067 Commits

Author SHA1 Message Date
dependabot[bot] aebebf784b Bump junit-pioneer from 1.7.1 to 1.8.0
Bumps [junit-pioneer](https://github.com/junit-pioneer/junit-pioneer) from 1.7.1 to 1.8.0.
- [Release notes](https://github.com/junit-pioneer/junit-pioneer/releases)
- [Commits](https://github.com/junit-pioneer/junit-pioneer/compare/v1.7.1...v1.8.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-11-12 10:23:29 +01:00
dependabot[bot] 97683f4894 Bump spotbugs-maven-plugin from 4.7.2.1 to 4.7.3.0
Bumps [spotbugs-maven-plugin](https://github.com/spotbugs/spotbugs-maven-plugin) from 4.7.2.1 to 4.7.3.0.
- [Release notes](https://github.com/spotbugs/spotbugs-maven-plugin/releases)
- [Commits](https://github.com/spotbugs/spotbugs-maven-plugin/compare/spotbugs-maven-plugin-4.7.2.1...spotbugs-maven-plugin-4.7.3.0)

---
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>
2022-11-12 10:21:44 +01:00
Gary Gregory 351fb75f49 Reuse Objects#hasCode() 2022-11-04 16:29:43 -04:00
Gary Gregory 731a679406 Reuse Objects#hasCode() 2022-11-04 16:24:29 -04:00
Gary Gregory 8d6e743748 Simplify 2022-11-04 16:21:54 -04:00
Gary Gregory b01d56ddea Use Objects.requireNonNull() directly 2022-11-04 16:19:43 -04:00
Gary Gregory 54e26e04fa Reuse own API 2022-11-04 16:18:35 -04:00
Gary Gregory bea5bd3c0a Remove single use local var 2022-11-04 15:56:18 -04:00
Gary Gregory d839a82521 Use Objects.requireNonNull() directly 2022-11-04 14:42:11 -04:00
Gary Gregory ecd23d5e20 Reuse own API 2022-11-04 14:20:14 -04:00
Gary Gregory cf97953570
Bump easymock from 5.0.0 to 5.0.1 #986 2022-10-30 15:01:20 -04:00
Gary Gregory 81b1b80c8c Bump pmd from 6.50.0 to 6.51.0 2022-10-30 12:03:48 -04:00
Gary Gregory fb90d0bd85 Reuse own API 2022-10-27 09:51:05 -04:00
Gary Gregory 0659831ad4 Javadoc 2022-10-25 10:02:41 -04:00
Gary Gregory 8bdbf102fd
Update changes.xml 2022-10-23 12:48:15 -04:00
Arturo Bernal a1e911a935
Fix simple broken javadoc. (#981) 2022-10-23 12:47:34 -04:00
Gary Gregory 28fd691ebc
Bump easymock from 4.3 to 5.0.0 #972 2022-10-17 10:03:29 -04:00
Gary Gregory bbd2521c04
Bump spotbugs from 4.7.2 to 4.7.3 #973 2022-10-17 10:02:06 -04:00
Gary Gregory 57ddce1195 Add NumberRange, DoubleRange, IntegerRange, LongRange.
Fix changes.xml
2022-10-17 08:08:59 -04:00
Gary Gregory 6c3ffa44ff Javadoc 2022-10-17 05:54:19 -04:00
Gary Gregory a21fd72f85 Javadoc 2022-10-17 05:45:41 -04:00
Gary Gregory c0f527e509 Remove paren noise 2022-10-15 18:01:50 -04:00
Gary Gregory 5f1d7055ec Reuse own API 2022-10-15 17:55:54 -04:00
Gary Gregory 273a6bd20e Fix format typos 2022-10-15 17:54:09 -04:00
Gary Gregory 9aba7b4583 Reuse own API 2022-10-15 17:53:51 -04:00
Gary Gregory c35c745f92 Reuse own API 2022-10-13 14:47:51 -04:00
Gary Gregory 2ffa117194 Format tweaks 2022-10-13 14:17:47 -04:00
Gary Gregory 10db68e492 Use JRE API 2022-10-13 14:07:31 -04:00
Gary Gregory d4c311d255 Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-lang.git 2022-10-13 13:28:43 -04:00
Gary Gregory 2bd8c66a16 Sort members 2022-10-13 13:18:37 -04:00
Gary Gregory 4a3b2f23bf
Add gets the current day of year. #968 2022-10-13 13:17:01 -04:00
Gary Gregory b6253688d3 Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-lang.git 2022-10-13 13:15:36 -04:00
Arturo Bernal 59d201f7be
Add gets the current day of year. (#968) 2022-10-13 13:14:22 -04:00
Gary Gregory ca3574f08b Sort members 2022-10-13 13:03:53 -04:00
Arturo Bernal ff733d9d9b
Make a non-access modifier local variables. (#966) 2022-10-08 16:40:36 -04:00
Gary Gregory e588f51b69
Simplify expression (length is never < 0) #962 2022-10-08 08:12:54 -04:00
Arturo Bernal a3a93d53a5
No need conditions. Never is < 0 (#962) 2022-10-08 08:11:47 -04:00
dependabot[bot] 862f537846 Bump actions/cache from 3.0.9 to 3.0.10
Bumps [actions/cache](https://github.com/actions/cache) from 3.0.9 to 3.0.10.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v3.0.9...v3.0.10)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-08 11:25:48 +13:00
dependabot[bot] 74ff229b56 Bump actions/checkout from 3.0.2 to 3.1.0
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.0.2 to 3.1.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3.0.2...93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-08 11:18:03 +13:00
Gary Gregory 03f74ba5a1 Add ClassPathUtils.packageToPath(String) and pathToPackage(String) 2022-10-07 08:57:05 -04:00
Gary Gregory 32756ef89b Use Java 8 APIs 2022-10-05 22:02:57 -04:00
Gary Gregory 341b578b4f Reuse constant
Format tweak
2022-10-03 09:46:58 -04:00
Gary Gregory 5cf676b5b9 Bump actions/setup-java from 3 to 3.5.1 2022-10-01 14:52:28 -04:00
dependabot[bot] 8488f01f89 Bump actions/cache from 3.0.8 to 3.0.9
Bumps [actions/cache](https://github.com/actions/cache) from 3.0.8 to 3.0.9.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v3.0.8...v3.0.9)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-01 16:05:17 +13:00
dependabot[bot] a821a65b4e Bump commons.pmd-impl.version from 6.49.0 to 6.50.0
Bumps `commons.pmd-impl.version` from 6.49.0 to 6.50.0.

Updates `pmd-core` from 6.49.0 to 6.50.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.49.0...pmd_releases/6.50.0)

Updates `pmd-java` from 6.49.0 to 6.50.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.49.0...pmd_releases/6.50.0)

Updates `pmd-javascript` from 6.49.0 to 6.50.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.49.0...pmd_releases/6.50.0)

Updates `pmd-jsp` from 6.49.0 to 6.50.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.49.0...pmd_releases/6.50.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-10-01 16:04:04 +13:00
Gary Gregory e790ca9f7b
Bump commons-text from 1.9 to 1.10.0 #957 2022-09-29 09:30:26 -04:00
Gary Gregory 63e6596ea0 Bump japicmp-maven-plugin from 0.15.7 to 0.16.0 2022-09-24 11:36:12 -04:00
Gary Gregory 913cc36912
Bump junit-bom from 5.9.0 to 5.9.1 #955 2022-09-22 08:58:37 -04:00
Gary Gregory 70f5a13a6c
Bump commons-parent from 53 to 54 #954 2022-09-22 08:39:30 -04:00
Gary Gregory 9e3abd58a4 Remove extra whitespace 2022-09-22 08:24:09 -04:00
Gary Gregory 756daad879 Refactor duplicate pattern 2022-09-22 08:23:51 -04:00
Alex Herbert 2715224cb0 Track changes 2022-09-21 21:43:01 +01:00
Piotr Stawirej 7f7d4b881d Handle error messages with special characters.
Closes #953
2022-09-21 21:43:01 +01:00
Gary Gregory e81855a208 Add BooleanUtils.values() and forEach(). 2022-09-16 10:22:39 -04:00
Gary Gregory 19612d4134 [LANG-1691] ClassUtils.getShortCanonicalName doesn't use the
canonicalName #949
2022-09-15 15:28:00 -04:00
Thiyagarajan 45acc1c970
LANG-1691: ClassUtils.getShortCanonicalName - using canonicalName rather than class name (#949) 2022-09-15 15:17:41 -04:00
dependabot[bot] 8088b8fd2d Bump spotbugs from 4.7.1 to 4.7.2
Bumps [spotbugs](https://github.com/spotbugs/spotbugs) from 4.7.1 to 4.7.2.
- [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.7.1...4.7.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-10 11:44:11 +12:00
dependabot[bot] 39ddd1c6cd Bump maven-pmd-plugin from 3.18.0 to 3.19.0
Bumps [maven-pmd-plugin](https://github.com/apache/maven-pmd-plugin) from 3.18.0 to 3.19.0.
- [Release notes](https://github.com/apache/maven-pmd-plugin/releases)
- [Commits](https://github.com/apache/maven-pmd-plugin/compare/maven-pmd-plugin-3.18.0...maven-pmd-plugin-3.19.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-09-10 11:40:56 +12:00
dependabot[bot] 8acd2a9a87 Bump spotbugs-maven-plugin from 4.7.1.1 to 4.7.2.0
Bumps [spotbugs-maven-plugin](https://github.com/spotbugs/spotbugs-maven-plugin) from 4.7.1.1 to 4.7.2.0.
- [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.1...spotbugs-maven-plugin-4.7.2.0)

---
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>
2022-09-10 11:39:16 +12:00
Gary Gregory a0234a6cad Bump actions/checkout from 3 to 3.0.2. 2022-09-06 09:32:42 -07:00
Gary Gregory 9465909799
Bump commons.pmd-impl.version from 6.48.0 to 6.49.0 #944 2022-09-02 14:41:33 -04:00
Gary Gregory 1c7a8fb2d1 Drop profile.clirr 2022-08-30 21:23:37 -04:00
Gary Gregory c3c2928bc5 Use standard Javadoc @since tag format 2022-08-30 11:20:05 -04:00
Gary Gregory 655cb56167 Bump maven-javadoc-plugin from 3.4.0 to 3.4.1. 2022-08-30 09:29:05 -04:00
Gary Gregory 8b6f18cb0d Javadoc @link tags do not need to use a FQCN for classes in java.lang 2022-08-29 07:36:33 -04:00
Gary Gregory 83dd1284e4 Javadoc @see tags do not need to use a FQCN for classes in java.lang 2022-08-29 07:18:26 -04:00
Gary Gregory 843fa377c8 Javadoc @see tags do not need to use a FQCN for classes in java.lang 2022-08-29 07:17:06 -04:00
Gary Gregory 2b86afb4d4
LANG-1638: Added docs regarding week year support #924 2022-08-27 14:44:56 -04:00
Andrew Thomas 44c5d39bec
LANG-1638: Added docs regarding week year support (#924)
* LANG-1638: Added docs regarding week year support

* Moved comment from method to class level

* Added link to explanation of week vs calendar year
2022-08-27 14:41:05 -04:00
Gary Gregory 9a372f6749 Javadoc 2022-08-26 16:39:14 -04:00
Gary Gregory bf1a8ea278 Account for Bug in PMD when the same class name exists in different
packages
2022-08-26 16:39:03 -04:00
Gary Gregory 18937b23dc Javadoc 2022-08-26 16:38:49 -04:00
Gary Gregory c90ba2fca9 Sort members 2022-08-26 16:31:00 -04:00
Gary Gregory 8b75877f59 CPD: Re-implement deprecated code to use new code 2022-08-26 16:29:57 -04:00
Gary Gregory 318b2cb7e2 Merge entries for PMD 2022-08-26 15:51:47 -04:00
Gary Gregory 3c4079c70d
Bump maven-checkstyle-plugin from 3.1.2 to 3.2.0 #943 2022-08-26 15:49:55 -04:00
Gary Gregory 161c08bacd Enable PMD check with 2 exclusions (for now) 2022-08-26 15:07:27 -04:00
Gary Gregory b6739ab929 PMD: Avoid using a branching statement as the last in a loop.
Make deprecated code reuse main code
2022-08-26 15:05:43 -04:00
Gary Gregory 9b0e54e096 PMD: Implement equals() 2022-08-26 15:00:38 -04:00
Gary Gregory 49ef6b530c PMD: Implement equals() 2022-08-26 14:57:21 -04:00
Gary Gregory ce40e5bdf2 Sort members 2022-08-26 14:48:19 -04:00
Gary Gregory 7d8701ebf4 Sort members 2022-08-26 14:43:02 -04:00
Gary Gregory ad849fa8a3 Remove obsolete comment 2022-08-26 14:37:51 -04:00
Gary Gregory dec5675c22 Remove obsolete comment 2022-08-26 14:33:34 -04:00
Gary Gregory 7cb81aa26f PMD: Remove extra parens 2022-08-26 14:29:24 -04:00
Gary Gregory dafea75722 PMD: Remove useless parens 2022-08-26 14:19:40 -04:00
Gary Gregory e505c08668 Bump maven-pmd-plugin from 3.17.0 to 3.18.0 2022-08-26 08:21:57 -04:00
Gary Gregory 4deabadb97 PMD: Ternary operators that can be simplified with || or && 2022-08-23 10:56:01 -04:00
Gary Gregory cec7857a0e Fix PMD issue: Either refer to method with static import or class, but
not both
2022-08-23 10:54:28 -04:00
Gary Gregory 34e4ef7eaa Normalize Javadoc paragraph tags "p" (lower case) 2022-08-23 10:49:00 -04:00
Gary Gregory 1c2397eb47 First sentence of a Javadoc comment does not need p tags 2022-08-23 10:46:01 -04:00
Gary Gregory 21da81bb4d Add a main test class to prints out the difference time working with
MutableInt AtomicInteger.
2022-08-23 09:42:13 -04:00
Gary Gregory 02de3b21ba First sentence of a Javadoc comment does not need p tags
Use the same verb as the JRE for next methods: "Returns..." ->
"Generates..."
2022-08-23 09:36:55 -04:00
Gary Gregory d0270433db First sentence of a Javadoc comment does not need p tags
Use the same verb as the JRE for next methods: "Returns..." ->
"Generates..."
2022-08-23 09:36:28 -04:00
Gary Gregory 11d8c330e4
[LANG-1604] Deprecate RandomUtils in favor of Apache Commons RNG UniformRandomProvider 2022-08-23 09:23:57 -04:00
Bohachov Maksym 4a9662e5e3
LANG-1604 (#942)
* LANG-1604: Deprecate RandomUtils class

* LANG-1604: Added URL for favored implementation

* LANG-1604: Deprecate RandomUtils class

* LANG-1604: Added URL for favored implementation

* LANG-1604: Fixed formatting

* LANG-1604: Fixed formatting

* LANG-1604: Fixed formatting

* Update RandomUtils.java

Co-authored-by: Gary Gregory <garydgregory@users.noreply.github.com>
2022-08-23 09:20:27 -04:00
Gary Gregory 75f35d6dc0 Bump actions/cache from 3.0.7 to 3.0.8 2022-08-22 15:25:44 -04:00
Gary Gregory 3cc9e3b449 Javadoc 2022-08-22 10:25:47 -04:00
Gary Gregory 1903d88e0b Add Processor.Type.getLabel() and Processor.toString() 2022-08-21 17:09:48 -04:00
Gary Gregory 28ab516d96
Fix links in Javadoc and documentation #926 2022-08-21 15:30:20 -04:00
Marc Wrobel 19bad1a6cb
Fix links in Javadoc and documentations (#926)
* Fix links in javadoc and documentations

- fix broken links (using their new URL, an alternative URL or a Wayback Machine link),
- use direct links instead of redirects,
- upgrade javadoc links to version 8,
- use HTTPS where possible.

* Update EqualsBuilder.java

Co-authored-by: Gary Gregory <garydgregory@users.noreply.github.com>
2022-08-21 15:29:18 -04:00
Gary Gregory 6de0fc1ae5 Use Stream 2022-08-21 15:22:21 -04:00
Gary Gregory f8df864f4c Add ThreadUtils.sleepQuietly(Duration)
Remove new ThreadUtils.sleepQuietly(long)
2022-08-21 15:17:44 -04:00
Gary Gregory e92dafdc3b Checkstyle 2022-08-21 15:00:30 -04:00
Gary Gregory 11b1bc19ab Deprecate ThreadUtils code that defines custom function interfaces in
favor of stock java.util.function.Predicate usage.
2022-08-21 14:47:13 -04:00
Gary Gregory ae6457f4a5
Deprecate getNanosOfMiili() method with typo and create proper getNanosOfMilli() #940 2022-08-21 14:32:46 -04:00
Gary Gregory cf8b7edbe1 Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-lang.git 2022-08-21 14:31:38 -04:00
Arturo Bernal 2f153733c7
Rename method and fix typo. (#940) 2022-08-21 14:29:49 -04:00
Gary Gregory 60884907a7 Format 2022-08-21 11:22:37 -04:00
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
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
Gary Gregory f4aa5ef313
Bump junit-bom from 5.8.2 to 5.9.0 #928 2022-07-29 13:38:13 -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
Gary Gregory 0bee927193 Add Streams.of(Enumeration<E>) 2022-07-16 09:27:15 -04:00
Gary Gregory fc7d83bf84 Add since tag 2022-07-16 07:36:43 -04:00
Gary Gregory 261334e5ae
(doc) Fix typos in project documentations #923 2022-07-15 13:51:54 -04:00
Marc Wrobel 1774335e56
(doc) Fix typos in project documentations (#923) 2022-07-15 13:51:03 -04:00
Gary Gregory 7c68936044
Bump exec-maven-plugin from 3.0.0 to 3.1.0 #922 2022-07-15 13:47:33 -04:00
Gary Gregory 2c16052f94 Use forEach() 2022-07-15 10:31:16 -04:00
Gary Gregory 46b15a2ecb Rename method for next release. 2022-07-15 09:35:10 -04:00
Gary Gregory 9f0f3c838b Use forEach() 2022-07-15 09:21:09 -04:00
Gary Gregory 78ce2d79f2 More precise exceptions 2022-07-15 09:19:10 -04:00
Gary Gregory d6ec3655b1 Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-lang.git 2022-07-15 08:38:06 -04:00
Gary Gregory 351df93276 Bump actions/cache 3.0.4 to 3.0.5 2022-07-15 08:37:57 -04:00
Gary Gregory 63cc351c73
(doc) Fix typos in javadoc and comments #920 2022-07-15 08:26:42 -04:00
Marc Wrobel d7889a8ffe
(doc) Fix typos in javadoc and comments (#920) 2022-07-15 08:25:29 -04:00
Gary Gregory 3ac6beab45 Use for-each loop 2022-07-09 08:53:12 -04:00
Gary Gregory 1c9673a218
Bump spotbugs-maven-plugin from 4.7.0.0 to 4.7.1.0 #919 2022-07-08 18:16:56 -04:00
Gary Gregory c8ebafd7bb Bump biz.aQute.bnd:biz.aQute.bndlib 6.2.0 to 6.3.1 2022-07-06 09:13:48 -04:00
Gary Gregory 8cacc3b338 Fix inline comments and sort members
Javadoc.
2022-07-05 19:37:14 -04:00
Gary Gregory 5f22e04514 [LANG-1662] Let ReflectionToStringBuilder only reflect given field
names #849

Applied PR and:
- Added missing @since tags to new public and protected methods and
fields
- Fixed Javadocs
- Reuse own ArrayUtils API for validation
- Move methods to AB order
2022-07-05 18:49:38 -04:00
Gary Gregory 57c17c42dd Inline some single-use local variables. 2022-07-05 16:20:55 -04:00
Gary Gregory dad064eebb Add ArrayUtils.oneHot(). 2022-07-05 14:11:54 -04:00
Gary Gregory 3c0ac0e87c All tests should leave the ToStringStyle registry empty. 2022-07-05 13:32:18 -04:00
Gary Gregory 1b051c97f7 Whitespace, Javadoc, tests are public. 2022-07-05 13:13:42 -04:00
Gary Gregory 5b68ea3579 Rename test and extend base test. 2022-07-05 13:12:40 -04:00
Gary Gregory c99cac3e3b Remove single use locval variable 2022-07-05 12:55:25 -04:00
Gary Gregory 1bf7d7ec12 All tests should leave the ToStringStyle registry empty. 2022-07-05 12:46:01 -04:00
Gary Gregory ae65d3b255 Javadoc and format nit 2022-07-05 12:10:08 -04:00
Gary Gregory f0a65f3ba8 Javadoc 2022-07-05 12:09:53 -04:00
Gary Gregory cbdb43f76a Format nits 2022-07-05 10:56:59 -04:00
Gary Gregory 7269354272 Group entries together for "Add SystemUtils.IS_JAVA_*" 2022-07-05 10:30:28 -04:00
Gary Gregory e5e8ba0906 Add SystemUtils.IS_JAVA_18 2022-07-05 10:29:51 -04:00
Gary Gregory 6001ae8a0c Add SystemUtils.IS_JAVA_17 2022-07-05 10:25:46 -04:00
Gary Gregory edbaebb4d1 Clean up inline comments 2022-07-05 10:16:48 -04:00
Gary Gregory 827f5c93df Remove useless inline comments 2022-07-05 10:12:57 -04:00
Gary Gregory 28b11d15e7 Javadoc 2022-07-05 10:07:43 -04:00
Gary Gregory 2073de1450 Reuse our DateUtils#toCalendar(Date) API 2022-07-05 10:07:33 -04:00
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
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