Commit Graph

6333 Commits

Author SHA1 Message Date
Gary Gregory 041cf552c5 [LANG-1580] Refine StringUtils.deleteWhitespace #569. 2020-12-05 12:31:42 -05:00
XenoAmess 5a17dc7ad3
refine deleteWhitespace (#569) 2020-12-05 12:30:42 -05:00
Gary Gregory eaebffb59a Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-lang.git 2020-12-05 12:29:04 -05:00
Gary Gregory 0532e10668 [LANG-1584] Refine StringUtils.isNumericSpace #573 2020-12-05 12:28:58 -05:00
XenoAmess ea8428ab75
[LANG-1584] Refine StringUtils.isNumericSpace (#573)
* refine isNumericSpace

* fix same issues in other two functions
2020-12-05 12:24:22 -05:00
Gary Gregory 902a0faab4 [LANG-1620] Refine StringUtils.lastIndexOfIgnoreCase #664.
[LANG-1619] Refine StringUtils.abbreviate #663.
2020-12-05 12:22:28 -05:00
Arturo Bernal dd7f02feac
LANG-1619 - refine StringUtils.abbreviate (#663) 2020-12-05 12:20:00 -05:00
Arturo Bernal 76443d7f1d
LANG-1620 - refine StringUtils.lastIndexOfIgnoreCase (#664) 2020-12-05 12:16:31 -05:00
Gary Gregory edcf9344e6 Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-lang.git 2020-12-05 11:24:44 -05:00
Gary Gregory f9f4c09fd7 Document third party bumps.
- Bump checkstyle from 8.37 to 8.38 #665.
- Bump junit-pioneer from 1.0.0 to 1.1.0 #662.
- Bump maven-pmd-plugin from 3.13.0 to 3.14.0 #660.
2020-12-05 11:24:31 -05:00
dependabot[bot] 5569432c4e
Bump maven-pmd-plugin from 3.13.0 to 3.14.0 (#660)
Bumps [maven-pmd-plugin](https://github.com/apache/maven-pmd-plugin) from 3.13.0 to 3.14.0.
- [Release notes](https://github.com/apache/maven-pmd-plugin/releases)
- [Commits](https://github.com/apache/maven-pmd-plugin/compare/maven-pmd-plugin-3.13.0...maven-pmd-plugin-3.14.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-05 11:22:49 -05:00
dependabot[bot] d05119a9b9
Bump junit-pioneer from 1.0.0 to 1.1.0 (#662)
Bumps [junit-pioneer](https://github.com/junit-pioneer/junit-pioneer) from 1.0.0 to 1.1.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.0.0...v1.1.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-05 11:22:15 -05:00
dependabot[bot] 434f6fc5ab
Bump checkstyle from 8.37 to 8.38 (#665)
Bumps [checkstyle](https://github.com/checkstyle/checkstyle) from 8.37 to 8.38.
- [Release notes](https://github.com/checkstyle/checkstyle/releases)
- [Commits](https://github.com/checkstyle/checkstyle/compare/checkstyle-8.37...checkstyle-8.38)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-05 11:21:07 -05:00
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