Commit Graph

7073 Commits

Author SHA1 Message Date
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