Commit Graph

5781 Commits

Author SHA1 Message Date
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
Gary Gregory 773f276c23 [LANG-1561] Use List.sort instead of Collection.sort #546. 2020-06-13 10:45:08 -04:00
XenoAmess 7651124bec
[LANG-1561] use List.sort instead of Collection.sort (#546)
* use_List_sort

* Update MethodUtils.java

* Update ObjectToStringComparatorTest.java
2020-06-13 10:44:05 -04:00
Gary Gregory 2d21e19f06 [LANG-1550] Optimize ArrayUtils::isArrayIndexValid method. #551. 2020-06-13 10:41:31 -04:00
Edgar Asatryan 874cc14328
[LANG-1550] Optimize ArrayUtils::isArrayIndexValid method. (#551)
* [LANG-1550] Optimize ArrayUtils::isArrayIndexValid method.
2020-06-13 10:39:41 -04:00
Gary Gregory 96a8969c13 Remove trailing white space. 2020-06-12 17:36:10 -04:00
Gary Gregory b2412284a3 [LANG-1569] Add ArrayUtils.get(T[], index, T) to provide an
out-of-bounds default value
2020-06-12 16:41:10 -04:00
Gary Gregory 5b699d0765 [LANG-1569] Add ArrayUtils.get(T[], index, T) to provide an
out-of-bounds default value
2020-06-12 16:40:49 -04:00
Gary Gregory 495167a392 Sort members. 2020-06-12 16:25:35 -04:00
Gary Gregory 40cb020e8d Sort members. 2020-06-12 16:20:28 -04:00
Gary Gregory 6094cf2237 Remove trailing white space. 2020-06-12 16:15:01 -04:00
Gary Gregory 67929942a5 - Update com.github.spotbugs:spotbugs 4.0.3 -> 4.0.4.
- Update com.puppycrawl.tools:checkstyle  8.32 -> 8.33.
2020-06-12 15:35:28 -04:00
Gary Gregory f5e9f55283 [LANG-1568] Add more failable Consumers to match JRE stock Consumers. 2020-06-12 15:25:14 -04:00
Gary Gregory 62393bd601 commons.bc.version 3.9 -> 3.10 2020-06-12 11:37:06 -04:00
Gary Gregory 540ec09e25 Sort members. 2020-06-12 11:36:13 -04:00
Gary Gregory d88f70e8ff [LANG-1568] FailableBooleanSupplier, FailableIntSupplier,
FailableLongSupplier, FailableDoubleSupplier.
2020-06-12 11:35:37 -04:00
Gary Gregory 53aa7a2e9a Fix build on Java 15-ea. 2020-06-12 09:48:06 -04:00
Gary Gregory 42a73e1499 Add missing Javadoc. 2020-06-12 09:01:16 -04:00
Gary Gregory 8f7eb6ce20 Simplify lambads.
Fix Javadoc.
2020-06-11 09:55:02 -04:00
Gary Gregory e968ad5a3f Add missing @since 3.9 and 3.10 Javadoc tags.
Clean up formatting.
Clean up Javadocs.
Sort methods in AB order.
2020-06-11 09:43:11 -04:00
Gary Gregory 598e8bd51e Javadoc. 2020-06-10 09:07:59 -04:00
John Patrick 115a6c64bc StreamsTest junit-jupiter 2020-06-01 23:43:02 +12:00
Jochen Wiedmann 3d4ed4a8ac Fixing Checkstyle warnings.
Closes #532.
2020-05-31 22:18:02 +02:00
Gary Gregory f544897e49 Test major Java versions with GitHub actions as documented on
https://github.com/actions/setup-java
# WARNING: head commit changed in the meantime

@Deprecated
2020-05-30 11:00:18 -04:00