Commit Graph

4578 Commits

Author SHA1 Message Date
pascalschumacher 9bc992b133 LANG-901: StringUtils#startsWithAny/endsWithAny is case sensitive - documented as case insensitive (closes #149)
Improve the documentation and introduce more test cases that verify the documented behaviors.

Patch by Matthew Bartenschlag
2016-05-27 17:51:20 +02:00
pascalschumacher 2244ed9d63 LANG-1223: Add StopWatch#getTime(TimeUnit)
add since java doc tag and changes.xml entry
2016-05-27 17:13:03 +02:00
Nick Manley fd59e545f4 LANG-1223: Add StopWatch#getTime(TimeUnit) (closes #152) 2016-05-27 17:08:42 +02:00
pascalschumacher 5d2728f655 LANG-781: add javadoc examples and since tags; add changes.xml entry 2016-05-26 20:16:27 +02:00
Krzysztof Wolny d190655a97 LANG-781: Added methods to ObjectUtils class to check for null elements in the array (closes #108) 2016-05-26 19:35:58 +02:00
pascalschumacher 2433cd393e improve ExceptionUtils#getCause @deprecated javadoc 2016-05-24 20:26:41 +02:00
pascalschumacher 7f1b880433 LANG-1228: Add changes.xml entry 2016-05-24 20:16:10 +02:00
Bradley Hess 864721d54b [LANG-1228] Prefer Throwable.getCause() in ExceptionUtils.getCause() (closes #139) 2016-05-24 20:13:39 +02:00
pascalschumacher c36de7a60f LANG-1233: add changes.xml entry 2016-05-22 19:38:22 +02:00
Nick Manley 5845a59289 LANG-1233: DiffBuilder add method to allow appending from a DiffResult (closes #122, closes #151)
Update javadoc for DiffBuilder#append(String, DiffResult)
2016-05-22 19:33:40 +02:00
pascalschumacher 34a5e7fa91 fix generics and rawtypes warnings in MethodUtilsTest 2016-05-22 18:20:39 +02:00
pascalschumacher 3eddcccba7 fix deprecation warning in ConstructorUtilsTest by using Assert#assertArrayEquals instead of Assert#assertEquals to compare arrays 2016-05-22 18:13:50 +02:00
pascalschumacher 5b223744b4 LANG-1176: Improve ArrayUtils removeElements time complexity to O(n) (closes #144)
based on patch submitted by Jeffery Yuan
2016-05-22 17:23:46 +02:00
Nick Manley f8b1f6e745 Add method to DiffBuilder to allow appending from a DiffResult. 2016-05-22 10:30:39 +02:00
pascalschumacher 49455b78bf LANG-1234: add changes.xml entry 2016-05-21 16:50:10 +02:00
Jonatan Jönsson 04b41e2c97 LANG-1234: getLevenshteinDistance with a threshold: optimize implementation if the strings lengths differ more than the threshold (closes #118)
If the string lengths differ more than the threshold, there's no need for the algorithm to begin allocating arrays etc.
2016-05-21 16:47:59 +02:00
ggregory 031f6b082f [LANG-1168] Add SystemUtils.IS_OS_WINDOWS_10 property. 2016-05-20 10:24:35 -07:00
pascalschumacher 1e4a490677 LANG-1232: make javadoc tag order consistent with the rest of the DiffBuilder javadoc 2016-05-19 19:59:41 +02:00
pascalschumacher 0343777db9 LANG-1232: add changes.xml entry 2016-05-19 19:52:42 +02:00
Nick Manley b212aa3c6f LANG-1232: DiffBuilder: Add null check on fieldName when appending Object or Object[] (closes #122). 2016-05-19 19:51:51 +02:00
pascalschumacher f02261849e LANG-1178: add changes.xml entry 2016-05-12 19:48:38 +02:00
Henri Yandell 5eae0a6464 LANG-1178: ArrayUtils.removeAll(Object array, int... indices) should do the clone, not its callers (closes #116) 2016-05-12 19:43:31 +02:00
pascalschumacher 28f7862ab7 LANG-1151: add changes.xml entry
(side effect close #140)
2016-05-11 21:48:40 +02:00
Juan Pablo Santos Rodríguez 54ff33b2ad LANG-1151: Performance improvements for NumberUtils.isParsable (closes #99)
~2.5x performance increase wrt 3.4 version; added a couple checks more to unit tests
2016-05-11 21:43:36 +02:00
pascalschumacher ec8bf5281b LANG-1227: add changes.xml entry 2016-05-10 21:20:38 +02:00
kaching88 a0b798c27a LANG-1120: StringUtils.stripAccents should remove accents from "Ł" and "ł" (closes #105). 2016-05-10 21:18:10 +02:00
ggregory dd5a0e6e1e [LANG-1227] Add XMLCharacter class. 2016-05-09 00:31:06 -07:00
ggregory bbd1dc3439 [LANG-1218] EqualsBuilder.append(Object,Object) is too big to be
inlined, which prevents whole builder to be scalarized. Closes #138.
2016-05-08 09:34:34 -07:00
Casey Scarborough 2b52dedd56 Add tests for missed branches in StringUtils (closes #135)
Side effect: close pull requests which have been merged, but have not been closed due to missing commit comments (close #115, close #120, close #128, close #130).
2016-05-08 14:22:21 +02:00
Casey Scarborough 8acb1d2b42 Fix various Javadoc typos (closes #134) 2016-05-08 12:50:48 +02:00
Benedikt Ritter 3d05c24107 Update to latest commons parent pom 2016-05-01 20:33:34 +02:00
Chas Honton b877fb9abe LANG-1205: NumberUtils.createNumber() behaves inconsistently with NumberUtils.isNumber()
This closes github #87 thanks to pbrose
2016-04-23 20:35:15 -07:00
Chas Honton 5e62bf80f3 LANG-1115: Add support for varargs in ConstructorUtils, MemberUtils, and MethodUtils
This closes #89 from github.
2016-04-23 20:22:08 -07:00
Chas Honton 77d187eefc LANG-1134: New methods for lang3.Validate
This closes #87 from github.
2016-04-23 18:28:49 -07:00
Bruno P. Kinoshita 2e3fa5c253 LANG-1222: add changes.xml entry. This closes #125 from github. Thanks to Adam J. 2016-04-24 13:17:58 +12:00
Bruno P. Kinoshita 5457345ac9 LANG-1221: add changes.xml entry. This closes #129 from github. Thanks to Pierre Templier 2016-04-24 13:11:07 +12:00
Bruno P. Kinoshita 6e98538200 LANG-1220: add changes.xml entry. This closes #133 from github. Thanks to Casey Scarborough 2016-04-24 13:03:39 +12:00
Casey Scarborough fac65b868c LANG-1220: Add tests for missed branches in DateUtils 2016-04-24 12:54:25 +12:00
Chas Honton c99a787752 LANG-1202: parseDateStrictly does't pass specified locale 2016-04-23 17:44:48 -07:00
Chas Honton ac1c341558 clean up javadoc; fix complaints from maven-javadoc-plugin 2016-04-23 17:31:14 -07:00
Chas Honton 3c92830ec5 LANG-1219: FastDateFormat doesn't respect summer daylight in some localized strings 2016-04-23 13:02:59 -07:00
ggregory 38bafd283f Update tests from Apache Commons IO 2.4 to 2.5. 2016-04-22 16:34:13 -07:00
ggregory e830027629 Formating. 2016-04-19 17:56:16 -07:00
ggregory c158713b66 Add tests with a better comparator from #132. Fix formating. 2016-04-19 17:55:42 -07:00
ggregory 3f796bf746 Add tests with a better comparator. Closes #132 2016-04-19 17:54:04 -07:00
ggregory 833885c29d Applied Javadoc patch and added new test per
https://github.com/apache/commons-lang/pull/115
2016-04-13 14:13:24 -07:00
ggregory ff902c1561 Formatting fixes per
https://patch-diff.githubusercontent.com/raw/apache/commons-lang/pull/128.diff
2016-04-13 14:09:58 -07:00
ggregory 15b80753a6 Reuse 2016-04-13 13:57:35 -07:00
ggregory a6d27fd89d Fix Javadoc typo. 2016-04-13 12:26:24 -07:00
Sergio Fernández 158373bb21 [INFRA-10636>] test commit 2016-04-11 08:10:39 +02:00