Commit Graph

6120 Commits

Author SHA1 Message Date
Gary Gregory 605f59d869 [LANG-1622] Corrected reference to right methods. #667. 2020-12-05 11:20:34 -05:00
Kanak Sony 603c55895f
[LANG-1622] Javadoc of some methods incorrectly refers to another method (#670) 2020-12-05 11:20:04 -05:00
Gary Gregory c008f4d895 [LANG-1622] Corrected reference to right methods. #667. 2020-12-05 11:18:47 -05:00
Kanak Sony 9bd9643a0b
[LANG-1622] Corrected reference to right methods. (#667) 2020-12-05 11:17:19 -05:00
Gary Gregory 66b54723f0 [LANG-1622] Javadoc of some methods incorrectly refers to another method
#668.
2020-12-03 10:36:33 -05:00
anomen-s d878091c2c
[LANG-1622] - javadoc of some methods incorrectly refers to another method (#668) 2020-12-03 10:32:59 -05:00
Gary Gregory 8c66a5fcb7 [LANG-1535] Add StringUtils.containsAnyIgnoreCase(CharSequence,
CharSequence...).
2020-11-29 13:11:46 -05:00
Gary Gregory 1bf275cb60 [LANG-1535] Add StringUtils.containsAnyIgnoreCase(CharSequence,
CharSequence...).
2020-11-29 13:11:13 -05:00
Gary Gregory c2da7e3c51 Don't need local var. 2020-11-26 10:00:32 -05:00
Gary Gregory ebed08cb25 [LANG-1618] ypeUtils. containsTypeVariables does not support
GenericArrayType #661.
2020-11-26 09:58:28 -05:00
Arturo Bernal b74c697bba
LANG-1618 - Add GenericArrayType (#661) 2020-11-26 09:55:48 -05:00
Gary Gregory 5b025fe4b6 Use a String instead of building one. 2020-11-21 14:10:54 -05:00
Gary Gregory 90e357d461 Redundant return. 2020-11-21 13:51:16 -05:00
Gary Gregory 764b9bba52 Use final. 2020-11-20 22:12:25 -05:00
Gary Gregory d5196e7fe4 No need to initialize to default value. 2020-11-20 21:45:32 -05:00
Gary Gregory f3346dd067 Fix ctor call. 2020-11-20 21:45:19 -05:00
Gary Gregory c284260c43 Travis: Replace Java 14 with 15. 2020-11-20 21:38:35 -05:00
Gary Gregory 53e4f62b51 Remove redundant calls to super(). 2020-11-20 18:00:10 -05:00
Gary Gregory d8f8d9a3a8 Initialize a collection when you create it. 2020-11-20 16:09:58 -05:00
Gary Gregory f2480a984f Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-lang.git 2020-11-17 15:19:06 -05:00
Gary Gregory 12e4ad1cfa Fix formatting of isAn.
yBlank() and isAnyEmpty(). #513
2020-11-17 15:18:58 -05:00
Isira Seneviratne 5f3a9a6eae
Fix formatting of isAnyBlank() and isAnyEmpty(). (#513) 2020-11-17 15:17:57 -05:00
Gary Gregory 412f1e13c9 [LANG-1610] Fix StringUtils.unwrap throws
StringIndexOutOfBoundsException #636
2020-11-17 15:14:28 -05:00
Tony Liang c6f577555b
LANG-1610: Fix StringUtils.unwrap throws StringIndexOutOfBoundsException (#636)
Co-authored-by: Tony Liang <shuchel@zillowgroup.com>
2020-11-17 15:11:19 -05:00
Gary Gregory bd8dbbe0be Fix Javadoc for SystemUtils.isJavaVersionAtMost() #638. 2020-11-17 15:08:19 -05:00
John R. D'Orazio 2adf71bf23
fix javadoc for isJavaVersionAtMost (#638)
the javadoc for isJavaVersionAtMost was the same as for isJavaVersionAtLeast! They sure don't do the same thing :)
2020-11-17 15:06:27 -05:00
Gary Gregory 61e82e832e [LANG-1615] ArrayUtils contains() and indexOf() fails to handle
Float.NaN.
2020-11-15 17:42:04 -05:00
Arturo Bernal 2ccc58e344
[LANG-1615] - ArrayUtils contains && indexOf fails to handle Float.NaN (#651)
* LANG-1615 - ArrayUtils contains && indexOf fails to handle Float.NaN

* Change var name

* Fix checkstyle spaces black

* Fix checkstyle spaces black
2020-11-15 17:37:54 -05:00
Gary Gregory 08d1f66236 [LANG-1612] Fix flaky tests in FieldUtilsTest. 2020-11-15 12:24:13 -05:00
Gary Gregory 3bda8be036 Add fluent-style ArrayUtils.sort(Object[], Comparable). 2020-11-15 12:08:32 -05:00
Gary Gregory 35799d0958 [LANG-1420] TypeUtils.isAssignable returns wrong result for
GenericArrayType and ParameterizedType.
2020-11-15 11:49:11 -05:00
Gary Gregory e123bab198 Fix potential NPE in TypeUtils.isAssignable(Type, ParameterizedType,
Map, Type>).
2020-11-15 10:55:53 -05:00
Gary Gregory 43b2326713 Consistently use just the parameter name for the message of
NullPointerExceptions.
2020-11-15 10:40:31 -05:00
Gary Gregory fe1c7903a8 Sort members. 2020-11-15 09:37:29 -05:00
Gary Gregory 46cdc660f2 Javadoc. 2020-11-15 09:37:10 -05:00
Gary Gregory 0e2ebd347c [LANG-1541] ArrayUtils.contains() and indexOf() fails to handle
Double.NaN #647.

Also remove trailing whitespaces.
2020-11-14 16:33:35 -05:00
Gary Gregory 4cf3dc8c8f [LANG-1613] - BigDecimal is created when you pass it the minimum values…
#642.
2020-11-14 12:23:33 -05:00
Gary Gregory 09c662429b Add fluent-style ArrayUtils.sort(Object[]). 2020-11-14 11:41:46 -05:00
Gary Gregory 14b60bbb9f Update maven-surefire-plugin 2.22.2 -> 3.0.0-M5.
Organize changes.xml for 3.12 entries.
2020-11-14 10:00:46 -05:00
Gary Gregory 6aab14bf1c [LANG-1359] Add StopWatch.getStopTime().
Simplify test.
2020-11-14 09:41:51 -05:00
Gary Gregory e832b70e40 [LANG-1359] Add StopWatch.getStopTime(). 2020-11-14 09:31:59 -05:00
Gary Gregory c9722131d5 Add StopWatch.getStopTime().
Also:
- Rename private instance variable to reflect scale.
- More precise Javadocs.
- Throw IllegalStateException instead of RuntimeException.
- Refactor common code in test for sleeping the current thread.
2020-11-14 09:27:04 -05:00
Gary Gregory 93d520a3e1 Add StringUtils.containsAnyIgnoreCase(CharSequence, CharSequence...). 2020-11-13 10:30:08 -05:00
Gary Gregory 6a991d8413 Close HTML tag. 2020-11-13 10:10:27 -05:00
Gary Gregory 6f51b9b7cb Sort members. 2020-11-13 10:01:10 -05:00
Gary Gregory 6b3f258ed7 Bump checkstyle from 8.36.2 to 8.37 #637. 2020-11-06 09:46:31 -05:00
dependabot[bot] fdd73e696a
Bump checkstyle from 8.36.2 to 8.37 (#637)
Bumps [checkstyle](https://github.com/checkstyle/checkstyle) from 8.36.2 to 8.37.
- [Release notes](https://github.com/checkstyle/checkstyle/releases)
- [Commits](https://github.com/checkstyle/checkstyle/compare/checkstyle-8.36.2...checkstyle-8.37)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-06 09:45:07 -05:00
Gary Gregory 146ddf2363 Bump actions/checkout from v2.3.3 to v2.3.4 #639. 2020-11-06 09:44:21 -05:00
dependabot[bot] 553e192aac
Bump actions/checkout from v2.3.3 to v2.3.4 (#639)
Bumps [actions/checkout](https://github.com/actions/checkout) from v2.3.3 to v2.3.4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2.3.3...5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-06 09:42:09 -05:00
Gary Gregory 4b1a602e49 Typo. 2020-10-30 09:36:32 -04:00