Commit Graph

5804 Commits

Author SHA1 Message Date
Gary Gregory 36111ba582 [LANG-1568] More failable functional interfaces to match JRE functional
interfaces.
2020-06-17 09:30:21 -04:00
Bruno P. Kinoshita 8a2d7afd9f Merge branch 'pr-428'
This closes #428
2020-06-16 14:15:50 +12:00
Bruno P. Kinoshita 79adb9f677 [LANG-1546]: add changelog 2020-06-16 14:15:06 +12:00
XenoAmess 0c42c0c192 [LANG-1546]: delete `<encoding>` and `<docencoding>` in maven-javadoc-plugin 2020-06-16 14:08:36 +12:00
Gary Gregory 438716a839 Add edge case. 2020-06-15 09:17:23 -04:00
XenoAmess cf0778a5ad
Add binary compatibility check to Maven default goal (#555)
* add bc detect as discussed in mailing list.

* add bc detect as discussed in mailing list.
2020-06-14 22:08:10 -04:00
Gary Gregory 7f90306f90 [LANG-1568] More failable functional interfaces to match JRE functional
interfaces.
2020-06-14 19:27:23 -04:00
Gary Gregory 133327272a Sort members. 2020-06-14 14:59:02 -04:00
Gary Gregory 9d1c7bc17c LANG-1557] Change a Pattern to a static final field, for not letting it
compile each time the function invoked. #542
2020-06-14 09:47:49 -04:00
XenoAmess 677604fb84
[LANG-1557] Change a Pattern to a static final field, for not letting it compile each time the function invoked. (#542)
* Pattern_to_static_

* move the constants to head of the file.

* Simplify private comment.

Co-authored-by: Gary Gregory <garydgregory@users.noreply.github.com>
2020-06-14 09:46:53 -04:00
Gary Gregory 7852ed9d4d Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-lang.git 2020-06-14 09:44:59 -04:00
Gary Gregory ab7b6734d3 [LANG-1565] change removeLastFieldSeparator to use endsWith #550. 2020-06-14 09:44:53 -04:00
XenoAmess 1406f67252
[LANG-1565] change removeLastFieldSeparator to use endsWith (#550)
* change_removeLastFieldSeparator_to_use_endsWith

* stylecheck

* revert mis-changes about orders of imports.
2020-06-14 09:43:59 -04:00
XenoAmess 9fcd9c86ed fix checkstyle. 2020-06-14 11:31:41 +12:00
Gary Gregory e2c0396660 [LANG-1556] Use Java 8 lambdas and Map operations. #541 2020-06-13 18:34:51 -04:00
XenoAmess 797d550a92
[LANG-1556] Use Java 8 lambdas and Map operations. (#541)
* java8

* refine

* rebase
2020-06-13 18:33:29 -04:00
Gary Gregory 78c1c7f9ab [LANG-1570] JavaVersion enum constants for Java 14 and 15. #553. 2020-06-13 18:32:37 -04:00
Gary Gregory 4e3151a8ff [LANG-1570] JavaVersion enum constants for Java 14 and 15. #553. 2020-06-13 18:31:58 -04:00
Gary Gregory 98eda51817 Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-lang.git 2020-06-13 18:30:50 -04:00
Edgar Asatryan 31d7eea1c6
[LANG-1570] JavaVersion enum constants for Java 14 and 15. (#553) 2020-06-13 18:30:38 -04:00
Gary Gregory 494a4db395 Disable Clirr since we use JApiCmp. 2020-06-13 16:09:58 -04:00
Gary Gregory 306dbb0cb0 Add missiing "test 2020-06-13 16:06:26 -04:00
Gary Gregory 628044f75a Sort methods. 2020-06-13 16:04:57 -04:00
Edgar Asatryan 496eb10372
Use ArrayUtils::isArrayIndexValid method in ArrayUtils::get. (#552) 2020-06-13 14:05:33 -04:00
Gary Gregory 553a3a75df [LANG-1528] StringUtils.replaceEachRepeatedly gives
IllegalStateException #505.
2020-06-13 11:33:08 -04:00
Edwin Delgado H d62d4e21ef
[LANG-1528] replaceEachRepeatedly gives IllegalStateException (#505)
* Fix https://issues.apache.org/jira/browse/LANG-1528

* Fix https://issues.apache.org/jira/browse/LANG-1528

Co-authored-by: Edwin DH <peo_ehuaynalaya@uolinc.com>
2020-06-13 11:31:07 -04:00
Gary Gregory 995dba307c [LANG-1559] convert Sting to StringBuilder in some test code. #544. 2020-06-13 11:20:23 -04:00
XenoAmess 48ee23a7dd
Sting_to_StringBuilder (#544) 2020-06-13 11:19:29 -04:00
Gary Gregory 1e0b744dd2 [LANG-1558] Simplify if as some conditions are covered by others #543. 2020-06-13 11:18:27 -04:00
XenoAmess fb2d228380
simplify_if (#543) 2020-06-13 11:17:52 -04:00
Gary Gregory a9be3ec55b [LANG-1555] Ignored exception `ignored`, should not be called so #540. 2020-06-13 11:15:29 -04:00
XenoAmess 29b87d5cea
it_shall_not_named_`ignored`_ (#540) 2020-06-13 11:14:45 -04:00
Gary Gregory 0eb4a8f87f [LANG-1554] Fix typos #539. 2020-06-13 11:12:24 -04:00
XenoAmess 0e17c1e93c
fix_typos (#539) 2020-06-13 11:11:17 -04:00
Gary Gregory 7f3b3562a7 Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-lang.git 2020-06-13 11:09:09 -04:00
Gary Gregory 57d4777d28 [LANG-1552] Change from addAll to constructors for some List #536. 2020-06-13 11:09:03 -04:00
XenoAmess 6dd1cf3c6d
addAll_to_constructor (#536) 2020-06-13 11:08:33 -04:00
Gary Gregory 367f39ee29 [LANG-1553] Change array style from `int a[]` to `int[] a` #537. 2020-06-13 11:06:56 -04:00
XenoAmess 2238145f56
array_style (#537) 2020-06-13 11:06:06 -04:00
Gary Gregory 514f226b7d Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-lang.git 2020-06-13 11:04:58 -04:00
Gary Gregory dc35ebc48c [LANG-1560] Refine Javadoc #545. 2020-06-13 11:04:52 -04:00
XenoAmess 8e61b090ce
fix javadoc (#545) 2020-06-13 11:04:11 -04:00
Gary Gregory a21cdb5121 [LANG-1564] Use Collections.singletonList insteadof Arrays.asList when
there be only one element. #549.
2020-06-13 10:58:39 -04:00
XenoAmess f2d376ae01
[LANG-1564] use Collections.singletonList insteadof Arrays.asList when there be only one element. (#549)
* asList

* Update TypeUtilsTest.java
2020-06-13 10:57:51 -04:00
Gary Gregory 386c1e2f37 Simplify lambdas. 2020-06-13 10:55:46 -04:00
Gary Gregory 2f7a3a8118 [LANG-1562] use Math.max and min #547. 2020-06-13 10:51:05 -04:00
XenoAmess 9078cdc8c4
use_Math_max_min (#547) 2020-06-13 10:49:59 -04:00
Gary Gregory 34fcd18ae7 [LANG-1563] use StandardCharsets.UTF_8 #548. 2020-06-13 10:46:58 -04:00
XenoAmess 011c8bdc92
[LANG-1563] use StandardCharsets.UTF_8 (#548)
* use_StandardCharsets_UTF_8

* Update StringEscapeUtilsTest.java
2020-06-13 10:46:16 -04:00
Gary Gregory 1c00d14d37 Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-lang.git 2020-06-13 10:45:19 -04:00