Commit Graph

5860 Commits

Author SHA1 Message Date
Gary Gregory f20df21249 De-clutter root folder by moving Checkstyle configuration files into
src.
2020-02-17 09:23:27 -05:00
Gary Gregory d3e5953b59 Checkstyle 8.27 -> 8.29. 2020-02-17 09:01:08 -05:00
Gary Gregory 772edb9112 SpotBugs 4.4.0-RC3 -> 4.0.0. 2020-02-17 08:50:05 -05:00
Gary Gregory 84197ae4e7 Don't use 'p' as a parameter name prefix (we don't do that anywhere
else.)

Add missing Javadoc.
2020-02-14 18:52:57 -05:00
Gary Gregory 53f223d3e3 Remove redundant type arguments.
Use final.
2020-02-14 18:51:24 -05:00
Jochen Wiedmann ee87df8472 Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-lang 2020-02-14 22:32:54 +01:00
U-EUR\jwi 83dd32b901 Adding Streams.toArray 2020-02-14 22:25:06 +01:00
Gary Gregory b19b2d37da Checkstyle: Remove trailing white spaces on all lines. 2020-02-14 11:43:40 -05:00
Gary Gregory d54c8951d6 Javadoc style. 2020-02-14 10:00:33 -05:00
Gary Gregory 05588e4ebb - Javadoc.
- Don't use 'p' as a parameter name prefix (we don't do that anywhere
else.)
2020-02-14 09:50:53 -05:00
Gary Gregory 0568456103 Remove redundant type arguments and end-of-line whitespace. 2020-02-14 09:39:49 -05:00
Gary Gregory 485876f9c2 Use final. 2020-02-14 09:36:04 -05:00
Gary Gregory 4ebd3e3988 Update SpotBugs. 2020-02-14 09:34:46 -05:00
Gary Gregory 31e726e471 Javadoc. 2020-02-14 09:33:00 -05:00
Bruno P. Kinoshita 474ab7f5f1 Merge branch 'pr-485'
This closes #485
2020-02-14 09:50:26 +13:00
Bruno P. Kinoshita cb0f461237 [LANG-1514]: add changes.xml entry 2020-02-14 09:49:59 +13:00
Gary Gregory e6165e9377 - Update copyright year in NOTICE file.
- org.easymock:easymock 4.1 -> 4.2.
- org.junit-pioneer:junit-pioneer 0.4.2 -> 0.5.3.
- org.junit.jupiter:junit-jupiter 5.5.2 -> 5.6.0.
2020-02-13 10:25:56 -05:00
Jochen Wiedmann 3ce3b27dbd Fixing Checkstyle problems. 2020-02-07 21:59:23 +01:00
Jochen Wiedmann 2ea44b2ada - Added the Streams class.
- Added Functions.stream() as an accessor method.
2020-01-26 22:57:13 +01:00
Gary Gregory bfc88d23cb [LANG-1516] Fix generics in API signatures of ExceptionUtils. 2020-01-24 09:16:01 -05:00
Gary Gregory bb5244814c Reduce magic number usage. 2020-01-24 09:05:31 -05:00
contextshuffling 4b11c764e5 [LANG-1514] make test more stable by using HashSet to compare 2020-01-19 23:51:52 +08:00
Gary Gregory a606a0328b [LANG-1513] ObjectUtils: Get first non-null supplier value. 2020-01-07 23:03:39 -05:00
Gary Gregory 259ac721ce [LANG-1512] Add IS_JAVA_14 and IS_JAVA_15 to
org.apache.commons.lang3.SystemUtils.
2020-01-06 11:39:33 -05:00
Gary Gregory 365f73c455 [LANG-1509] Add ObjectToStringComparator. #483. 2020-01-01 09:32:27 -05:00
Gary Gregory 1df9bc7025
[LANG-1509] Add ObjectToStringComparator. (#483)
* [LANG-1509] Add ObjectToStringComparator.

* [LANG-1509] Add ObjectToStringComparator.

Repackage.

* [LANG-1509] Add ObjectToStringComparator.

Avoid NPE.

* [LANG-1509] Add ObjectToStringComparator.

Clean ups.

* Spotbugs: toString() can return null!
2020-01-01 09:31:22 -05:00
Gary Gregory 6f358e9e8d Shutdown thread pool in case of unexpected error. 2020-01-01 08:54:48 -05:00
Gary Gregory b475986174 Shutdown thread pool in case of unexpected error. 2020-01-01 08:49:39 -05:00
Gary Gregory 3b75763f9d Be quiet on the console. 2020-01-01 08:47:43 -05:00
Gary Gregory e1a4955e91 Checkstyle: trailing spaces. 2020-01-01 08:30:10 -05:00
Gary Gregory eb54882ffa [LANG-1507] Add ComparableUtils #398.
Clean ups.
2020-01-01 08:19:07 -05:00
Gary Gregory 13ac5b8481 Checktyle. 2020-01-01 00:21:32 -05:00
Gary Gregory 931101dd65 [LANG-1510] Add org.apache.commons.lang3.arch.Processor.Arch.getLabel(). 2019-12-31 22:43:43 -05:00
Gary Gregory e15a2db167 Sort members.
Drop @author tag.
2019-12-31 22:32:31 -05:00
Gary Gregory a14ee65d14 [LANG-1507] Add ComparableUtils #398.
Repackage. Another class is coming here soon.
2019-12-31 22:06:18 -05:00
Gary Gregory 1dcf141f7c Remove trailing white spaces on all lines. 2019-12-31 09:21:40 -05:00
Gary Gregory b46d417ef6 [LANG-1508] Add org.apache.commons.lang3.SystemUtils.getUserName(). 2019-12-31 09:07:14 -05:00
Gary Gregory f9535b52a5 [LANG-1507] Add ComparableUtils #398. 2019-12-31 08:41:07 -05:00
Sam Kruglov 2425853701 [LANG-1431] Add ComparableUtils (#398) 2019-12-31 08:35:10 -05:00
Gary Gregory 2a3c56efc0 Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-lang.git 2019-12-30 16:26:21 -05:00
Gary Gregory e4e7de4df9 Checkstyle: Remove trailing white spaces on all lines. 2019-12-30 16:26:12 -05:00
pascalschumacher b2a0ac79b6 ArrayUtils: Remove stray comment. 2019-12-30 22:16:26 +01:00
pascalschumacher 94b0752726 ArrayUtils: Fix checkstyle violation. 2019-12-30 22:14:08 +01:00
Gary Gregory 5ac643368d [LANG-1506] Allow a StopWatch to carry an optional message. 2019-12-30 14:53:22 -05:00
Gary Gregory a914a268ba [LANG-1505] Add StopWatch convenience APIs to format times and create a
simple instance.
2019-12-30 14:06:28 -05:00
Gary Gregory de7b773087 Sort members. 2019-12-30 13:46:05 -05:00
Gary Gregory c8289bfcc9 Javadoc. 2019-12-30 13:41:54 -05:00
Gary Gregory 0ef55fe145 Don't generate gratuitous garbage. 2019-12-26 19:26:14 -05:00
pascalschumacher d5948be13f Use ArrayUtils#EMPTY_STRING_ARRAY instead of creating new empty String arrays. 2019-12-26 23:51:46 +01:00
pascalschumacher 84668a2d98 Use Collection#toArray(new T[0]) instead of a presized array as it is faster on modern JVMs. 2019-12-26 22:48:12 +01:00