Commit Graph

6941 Commits

Author SHA1 Message Date
Gary Gregory 855a439d0d Fix property name for biz.aQute.bndlib artifact version 2022-08-26 15:12:17 -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 06e569f091 Update README to use the default Maven goal 2022-08-26 08:20:14 -04:00
Gary Gregory c3b1c62155 Revert "Add pmd:cpd to Maven default goal"
This reverts commit 3187849f33.
2022-08-24 10:10:38 -04:00
Gary Gregory 3187849f33 Add pmd:cpd to Maven default goal 2022-08-24 10:08:20 -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