4739 Commits

Author SHA1 Message Date
Neal Stewart
8ef8e2a7a5 LANG-1242: "\u2284":"⊄" mapping missing from EntityArrays#HTML40_EXTENDED_ESCAPE (closes #159)
Fix commented out nsub in EntityArray
2016-06-02 22:12:01 +02:00
Sebb
844b2901fe LANG-1243 Simplify ArrayUtils removeElements by using new
decrementAndGet() method
2016-06-02 12:02:08 +01:00
Sebb
e474263669 LANG-1189 Add
getAndIncrement/getAndDecrement/getAndAdd/incrementAndGet/decrementAndGet/addAndGet
in Mutable* classes
2016-06-02 11:46:11 +01:00
pascalschumacher
17d6f2163d LANG-1240: add changes.xml entry 2016-05-30 22:23:33 +02:00
zhanhb
84d52919ec LANG-1240: Optimize BitField constructor implementation (closes #119) 2016-05-30 22:23:14 +02:00
pascalschumacher
afedbae8ac LANG-1206: Improve CharSetUtils.squeeze() performance (closes #147)
patch by Mohammed Alfallaj
2016-05-29 17:05:23 +02:00
pascalschumacher
f26f04dc6e LANG-1225: Add RandomStringUtils#randomGraph and #randomPrint which match corresponding regular expression class
improve javadoc

add changes.xml entry
2016-05-29 09:54:23 +02:00
Caleb Cushing
1a002c67f2 LANG-1225: Add RandomStringUtils#randomGraph and #randomPrint which match corresponding regular expression class
These are useful over randomAscii because they do not contain the DEL character but otherwise contain the full range of ASCII printing characters, and optionally include whitespace. This is useful for testing user defined inputs where characters like spaces, angle brakets, semicolons, dashes, etc. can cause issues.
2016-05-29 09:39:09 +02:00
Sebb
9625891a7b Avoid serialisation warning 2016-05-28 13:43:46 +01:00
Sebb
17e6548811 Fix compiler type warning 2016-05-28 13:42:32 +01:00
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
eccf213204 LANG-787: Add StringUtils#removeIgnoreCase
Patch by Gokul Nanthakumar C
2016-05-20 18:59:00 +02: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