Commit Graph

6275 Commits

Author SHA1 Message Date
Gary Gregory 813b1a5c34 Use own validator ObjectUtils.anyNull to check null String input #718. 2021-02-25 09:44:30 -05:00
Arturo Bernal 615c1dad1b
Use own validator ObjectUtils.anyNull to check null String input (#718) 2021-02-25 09:43:14 -05:00
Gary Gregory ea34486551 Add and use ObjectUtils.requireNonEmpty().
This is a different implementation of the ideas and discussion in PR
#716.
2021-02-25 09:01:23 -05:00
Gary Gregory 43f0424827 Sort members. 2021-02-25 08:53:59 -05:00
Gary Gregory 4859ad52de Sort members. 2021-02-24 10:05:34 -05:00
Gary Gregory b57f292cdf Add testParsesKnownJava16Ea25Failure().
Fails on Java 16 Early Access build 25 and above, last tested with build
36.
2021-02-23 22:10:37 -05:00
Gary Gregory e27c7a4842 Add toStringAll() for debugging. 2021-02-23 22:08:29 -05:00
Gary Gregory 9281de1b1b Fix toString() formatting. 2021-02-23 21:58:05 -05:00
Gary Gregory 0b23b9eae3 Better internal names. 2021-02-23 21:46:55 -05:00
Gary Gregory d33503042e Better internal name. 2021-02-23 21:45:36 -05:00
Gary Gregory f7c5c5c6db Add some toString() methods handy when debugging. 2021-02-23 21:28:16 -05:00
Gary Gregory c6314067f0 Fix some formatting. 2021-02-23 21:10:58 -05:00
Gary Gregory b03b21b449 Bump biz.aQute.bndlib from 5.2.0 to 5.3.0 #715. 2021-02-23 09:50:31 -05:00
dependabot[bot] 8631e03f93
Bump biz.aQute.bndlib from 5.2.0 to 5.3.0 (#715)
Bumps [biz.aQute.bndlib](https://github.com/bndtools/bnd) from 5.2.0 to 5.3.0.
- [Release notes](https://github.com/bndtools/bnd/releases)
- [Changelog](https://github.com/bndtools/bnd/blob/master/docs/ADDING_RELEASE_DOCS.md)
- [Commits](https://github.com/bndtools/bnd/commits)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-23 09:49:28 -05:00
Gary Gregory fa0a793d3d Lamndas. 2021-02-22 11:44:05 -05:00
Gary Gregory 91928eed34 Combine nested 'if' statement in 'else' block to 'else if'. 2021-02-22 11:12:20 -05:00
Gary Gregory 7e5be1cf84 Use final. 2021-02-22 11:01:11 -05:00
Gary Gregory c6d4a3e2c3 Move JSR-305/javax.annotation code to the test tree for now instead of
deleting it.
2021-02-21 20:50:53 -05:00
Gary Gregory a276ba7d78 Prepare for next release. 2021-02-21 20:43:49 -05:00
Gary Gregory e73816cb69 Use 3.12.0 as the next version label.
Simplify site to use more general terms instead of the version number.
2021-02-21 20:36:21 -05:00
Gary Gregory 6d2e78b58e Reset RC number. 2021-02-21 18:15:34 -05:00
Gary Gregory a98a6a99d9 Add and use Duration in APIs.
- Add and use ThreadUtils.sleep(Duration).
- Add and use ThreadUtils.join(Thread, Duration).
- Add ObjectUtils.wait(Duration).
2021-02-21 18:14:34 -05:00
Gary Gregory 3c96b101bd Sort members. 2021-02-21 17:02:46 -05:00
Gary Gregory 789f88eaa2 Sort members. 2021-02-21 16:57:20 -05:00
Gary Gregory e18ace73ef Sort members. 2021-02-21 14:09:57 -05:00
Gary Gregory dff8edf3a9 Fix compiler warnings. 2021-02-21 14:08:10 -05:00
Gary Gregory 5c7749d18f Remove @SuppressWarnings no longer needed. 2021-02-21 12:05:08 -05:00
Gary Gregory 5f8c016707 Clarify local var names. 2021-02-21 11:46:40 -05:00
Gary Gregory 8d35d66ba9 Minor formatting. 2021-02-21 11:37:48 -05:00
Gary Gregory f843429145 Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-lang.git 2021-02-21 11:36:37 -05:00
Gary Gregory 8d6933daf6 Better assertion failure messages. 2021-02-21 11:36:24 -05:00
Gary Gregory e233ab6b14 Fix XML. 2021-02-21 10:35:51 -05:00
Gary Gregory 7c9129c955 Remove trailing whitespace. 2021-02-21 10:07:51 -05:00
Gary Gregory d7575087eb Fix broken Javadoc links to commons-text #712. 2021-02-20 17:10:25 -05:00
Chris Smowton 804e7c818f
Fix broken links to commons-text (#712)
All were missing a subpackage
2021-02-20 17:09:17 -05:00
Gary Gregory bd3eff8b07 Add and use true & false String constants #714. 2021-02-20 17:07:25 -05:00
Arturo Bernal 397a2c8044
true & false String constant (#714)
* Add constant:

* true && false
* Yes && No
* On && Off

* Update BooleanUtils.java

* Update BooleanUtils.java

Co-authored-by: Gary Gregory <garydgregory@users.noreply.github.com>
2021-02-20 17:05:24 -05:00
Gary Gregory ba67e88e35 Remove trailing whitespace. 2021-02-20 16:55:51 -05:00
Gary Gregory 3a35c53c6c Add DurationUtils.zeroIfNull(Duration). 2021-02-20 09:11:57 -05:00
Gary Gregory cda703ccb8 Simplify. 2021-02-20 08:21:19 -05:00
Gary Gregory 5689c91cf2 Add DurationUtils.isPositive(Duration) and toDuration(long,TimeUnit). 2021-02-16 09:23:38 -05:00
Gary Gregory ff6c5f65a5 Add DurationUtils. 2021-02-11 16:47:38 -05:00
Gary Gregory fa880a43ed Fix Checkstyle oddity on Windows. 2021-02-11 16:46:18 -05:00
Gary Gregory 1fa1940f4b Minor formatting. 2021-02-11 16:45:54 -05:00
Gary Gregory 110ab39cb2 Use final. 2021-02-11 14:25:09 -05:00
Gary Gregory 949c911a87 Sort members. 2021-02-10 23:03:13 -05:00
Gary Gregory 038f304474 Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-lang.git 2021-02-10 17:20:02 -05:00
Gary Gregory 37d4858a67 Minor Improvement: Remove redundant initializer #699. 2021-02-10 17:19:53 -05:00
Arturo Bernal 01fc8c7159
Minor Improvement: (#699)
* Remove redundant initializer
2021-02-10 17:19:24 -05:00
Gary Gregory c3c825faa6 Minor Improvement: Add final variable.try to make the code read-only
#700.
2021-02-10 17:19:00 -05:00