Commit Graph

6146 Commits

Author SHA1 Message Date
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
Gary Gregory d9f5b61567 Add SECURITY.MD. 2020-10-25 14:39:14 -04:00
Gary Gregory 20ae8f6888 More test coverage for CharSequenceUtils. #631. 2020-10-25 10:53:14 -04:00
Edgar Asatryan 34a3096eb4
More coverage for CharSequenceUtils. (#631) 2020-10-25 10:52:16 -04:00
Gary Gregory 05cb6139b9 Bump spotbugs-maven-plugin from 4.1.3 to 4.1.4 #632. 2020-10-25 10:47:11 -04:00
Gary Gregory 1cc78abcdf Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-lang.git 2020-10-25 10:45:55 -04:00
dependabot[bot] 38c3d59a89
Bump spotbugs-maven-plugin from 4.1.3 to 4.1.4 (#632)
Bumps [spotbugs-maven-plugin](https://github.com/spotbugs/spotbugs-maven-plugin) from 4.1.3 to 4.1.4.
- [Release notes](https://github.com/spotbugs/spotbugs-maven-plugin/releases)
- [Commits](https://github.com/spotbugs/spotbugs-maven-plugin/compare/spotbugs-maven-plugin-4.1.3...spotbugs-maven-plugin-4.1.4)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-25 10:45:34 -04:00
Gary Gregory 13eab3b25e Use own API for ser/deser roundtrip since the point of the test is not
proper usage of JRE API but whether our classes are properly
implemented.
2020-10-25 10:43:33 -04:00
Gary Gregory 54afd64c79 Fix param name. 2020-10-25 10:36:34 -04:00
Gary Gregory 4d066361c0 Suppress warning and add comment; use a simpler error messgae. 2020-10-25 10:34:59 -04:00
Gary Gregory 8fbf27a830 Sort methods. 2020-10-25 10:29:58 -04:00
Gary Gregory faa48f6b6a Fix generics warning. 2020-10-25 10:21:12 -04:00
Gary Gregory 75b4058ac4 NumberUtilsTest - incorrect types in min/max tests #634.
- Document change.
- Sort methods.
- Format to max line length 120.
2020-10-25 10:18:00 -04:00
Hubert 6d7a3e6eeb
NumberUtilsTest - incorrect types in min/max tests (#634)
* Fix: correctly declared types and added castings

* Fix: code format

* Redo - optimize imports
2020-10-25 10:12:45 -04:00
Gary Gregory 110b4c021e Checkstyle. 2020-10-22 14:53:59 -04:00
Gary Gregory 7995aad79f Split out tests for a Java 15 bug.
These tests fail on Java 15 due to a bug which was only fixed for Java
16.
See https://bugs.openjdk.java.net/browse/JDK-8248434
See https://bugs.openjdk.java.net/browse/JDK-8248655
2020-10-22 14:47:45 -04:00
Gary Gregory bcdff98f02 Sort methods. 2020-10-20 11:45:46 -04:00
Gary Gregory b8204aa29b Checkstyle: Whitepace. 2020-10-20 11:05:14 -04:00
Gary Gregory d05ad7abd6 Add missing Javadoc. 2020-10-20 10:47:07 -04:00
Gary Gregory e14a2d9226 Update dependencies.
- Bump biz.aQute.bndlib from 5.1.2 to 5.2.0 #628.
- Bump spotbugs from 4.1.3 to 4.1.4 #627.
- Bump junit-pioneer from 0.9.2 to 1.0.0 #625.
2020-10-20 10:21:56 -04:00
dependabot[bot] 40b4b03d26
Bump junit-pioneer from 0.9.2 to 1.0.0 (#625)
Bumps [junit-pioneer](https://github.com/junit-pioneer/junit-pioneer) from 0.9.2 to 1.0.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/v0.9.2...v1.0.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-20 10:19:42 -04:00
dependabot[bot] 02d6a732fd
Bump spotbugs from 4.1.3 to 4.1.4 (#627)
Bumps [spotbugs](https://github.com/spotbugs/spotbugs) from 4.1.3 to 4.1.4.
- [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.1.3...4.1.4)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-20 10:18:24 -04:00
dependabot[bot] 6fc542586f
Bump biz.aQute.bndlib from 5.1.2 to 5.2.0 (#628)
Bumps [biz.aQute.bndlib](https://github.com/bndtools/bnd) from 5.1.2 to 5.2.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>
2020-10-20 10:17:11 -04:00
Alex Herbert 43c80576cf LANG-1608: Track changes 2020-10-17 14:00:54 +01:00
Edgar Asatryan 206a8f1f44
[LANG-1608] Include junit-bom for dependency version alignment. 2020-10-17 16:48:57 +04:00