Commit Graph

6290 Commits

Author SHA1 Message Date
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
Arturo Bernal 8c0bae01e5
Minor Improvement: (#700)
* Add final variable.try to make the code read-only
2021-02-10 17:18:22 -05:00
Gary Gregory 202076602a Format. 2021-02-10 17:17:40 -05:00
Gary Gregory eb6d6faad3 Minor Improvements #701. 2021-02-10 17:17:08 -05:00
Arturo Bernal 02ff51e504
Minor Improvements (#701)
* Minor Improvement:

* Add final variable.try to make the code read-only
* inline Variable. Simplify code

* Update UnicodeUnpairedSurrogateRemover.java

Better comment.

Co-authored-by: Gary Gregory <garydgregory@users.noreply.github.com>
2021-02-10 17:16:02 -05:00
Gary Gregory 556b744c27 Bump spotbugs from 4.2.0 to 4.2.1 #708. 2021-02-10 17:13:56 -05:00
dependabot[bot] 8b6435cf6f
Bump spotbugs from 4.2.0 to 4.2.1 (#708)
Bumps [spotbugs](https://github.com/spotbugs/spotbugs) from 4.2.0 to 4.2.1.
- [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.2.0...4.2.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-10 17:13:19 -05:00
Gary Gregory 78e3e0390e Bump checkstyle from 8.39 to 8.40 #706. 2021-02-10 17:13:10 -05:00
dependabot[bot] 6458ec180c
Bump checkstyle from 8.39 to 8.40 (#706)
Bumps [checkstyle](https://github.com/checkstyle/checkstyle) from 8.39 to 8.40.
- [Release notes](https://github.com/checkstyle/checkstyle/releases)
- [Commits](https://github.com/checkstyle/checkstyle/compare/checkstyle-8.39...checkstyle-8.40)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-10 17:11:40 -05:00
Gary Gregory d03e715824 Bump junit-bom from 5.7.0 to 5.7.1 #707. 2021-02-10 17:11:23 -05:00
dependabot[bot] fd13f3d19c
Bump junit-bom from 5.7.0 to 5.7.1 (#707)
Bumps [junit-bom](https://github.com/junit-team/junit5) from 5.7.0 to 5.7.1.
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.7.0...r5.7.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-10 17:10:29 -05:00
Gary Gregory ba1df937ff Bump actions/cache from v2 to v2.1.4 #710. 2021-02-10 17:10:07 -05:00
dependabot[bot] dd9a45ea45
Bump actions/cache from v2 to v2.1.4 (#710)
Bumps [actions/cache](https://github.com/actions/cache) from v2 to v2.1.4.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2...26968a09c0ea4f3e233fdddbafd1166051a095f6)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-10 17:09:22 -05:00
Gary Gregory 4f85c164a1 Add StringUtils.substringBefore(String, int). 2021-02-10 17:04:11 -05:00
Gary Gregory 92529ed903 Remove trailing whitespace. 2021-02-07 10:58:58 -05:00
Gary Gregory 63d7c27bef Better local variable name. 2021-02-07 10:33:24 -05:00
Gary Gregory 1131a0c933 Eat own dog food. 2021-02-07 10:32:58 -05:00
Gary Gregory 56dd87e8b8 Fix Javadoc link. 2021-02-07 10:26:27 -05:00
Gary Gregory 38611d05e9 Add missing Javadoc since tag. 2021-02-07 10:25:33 -05:00
Gary Gregory 8dfc79886a Be consistent declaring throws NullPointerException. 2021-02-07 10:25:01 -05:00
Gary Gregory 96d7d49f33 No need to abbreviate local var name. 2021-02-07 10:21:15 -05:00
Gary Gregory d526317006 Use the standard "T" generic type. 2021-02-07 10:20:20 -05:00
Gary Gregory ac6ebf4e1c No need to nest. 2021-02-07 10:15:29 -05:00
Jochen Wiedmann 45e8395ec7 Introducing @Nonnull, @Nullable, and the Objects class as a helper tool. 2021-02-06 22:51:47 +01:00
Gary Gregory a1495290b9 Consolidate entries. 2021-02-03 22:42:28 -05:00
Gary Gregory 29c7b18be8 Bump maven-checkstyle-plugin from 3.1.1 to 3.1.2 #705 2021-02-03 22:41:04 -05:00
dependabot[bot] abcaaff836
Bump maven-checkstyle-plugin from 3.1.1 to 3.1.2 (#705)
Bumps [maven-checkstyle-plugin](https://github.com/apache/maven-checkstyle-plugin) from 3.1.1 to 3.1.2.
- [Release notes](https://github.com/apache/maven-checkstyle-plugin/releases)
- [Commits](https://github.com/apache/maven-checkstyle-plugin/compare/maven-checkstyle-plugin-3.1.1...maven-checkstyle-plugin-3.1.2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-03 22:39:15 -05:00
Gary Gregory 5755cced01 Use the scale in names. 2021-02-02 18:02:26 -05:00
Gary Gregory de3614e3dc Use the scale in the var name. 2021-02-02 17:40:29 -05:00
Gary Gregory 3e27e51770 Bump junit-pioneer from 1.1.0 to 1.3.0 #702 2021-01-27 11:45:27 -05:00
dependabot[bot] caaa3fb9bd
Bump junit-pioneer from 1.1.0 to 1.3.0 (#702)
Bumps [junit-pioneer](https://github.com/junit-pioneer/junit-pioneer) from 1.1.0 to 1.3.0.
- [Release notes](https://github.com/junit-pioneer/junit-pioneer/releases)
- [Changelog](https://github.com/junit-pioneer/junit-pioneer/blob/master/docs/release-notes.md)
- [Commits](https://github.com/junit-pioneer/junit-pioneer/compare/v1.1.0...v1.3.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-27 11:44:10 -05:00
Gary Gregory 6b03fe54b8 Javadoc: Sentences end in a period. 2021-01-22 13:41:06 -05:00
Gary Gregory 0b135af5a0 Make private elements final where possible. 2021-01-17 16:48:52 -05:00
Gary Gregory dddd8c4e26 Use isEmpty(). 2021-01-16 22:30:34 -05:00
Gary Gregory c7c74e936d Fix Checkstyle suppressions DTD link. 2021-01-11 12:18:00 -05:00
Gary Gregory ad84785d9d Fix Checkstyle configuration DTD link. 2021-01-11 12:09:50 -05:00