Commit Graph

4600 Commits

Author SHA1 Message Date
ggregory 04a5d83aec Add sanity check test. 2016-01-26 10:47:30 -08:00
Benedikt Ritter 8bb3526317 Revert "Allocate array of the correct size"
This reverts commit 60b32953a9.

Following the advices from http://shipilev.net/blog/2016/arrays-wisdom-ancients/
this seems to be faster and safer on current VMs.
2016-01-19 08:07:51 +01:00
ggregory e01b8eb3fe Update copyright for 2016. 2016-01-18 14:25:53 -08:00
Kristian Rosenvold 818a544144 Fixed line ending issues once and for all 2016-01-17 20:15:51 +01:00
ggregory 69d4bf883c Simplify, less clutter. 2016-01-16 14:37:38 -08:00
ggregory bb76a6848b Revert "Simplify, less clutter."
This reverts commit 18f5f54ca0.
2016-01-16 14:36:50 -08:00
ggregory 18f5f54ca0 Simplify, less clutter. 2016-01-15 16:33:07 -08:00
ggregory 7429e75b75 commons-parent 38 -> 39. 2016-01-14 14:15:32 -08:00
ggregory 4d4e0b0481 [LANG-1200][GitHub PR] modify note at line 1230 #120 2016-01-14 14:10:23 -08:00
Chas Honton afc942c7b2 LANG-1192: FastDateFormat support of the week-year component (uppercase 'Y') 2015-12-25 12:44:12 -08:00
Chas Honton 39ed92fff7 LANG-1194: Travis-ci build fails occasionally with Killed message 2015-12-25 12:36:47 -08:00
Chas Honton c8cc651651 Merge branch 'master' of https://github.com/NickManley/commons-lang
This closes #117
LANG-1186 Fix NullPointerException in FastDateParser$TimeZoneStrategy
2015-12-17 07:46:44 -08:00
Chas Honton 1002c9e243 revert LANG-1192 while investigating travis failures 2015-12-17 06:52:42 -08:00
Chas Honton 2fa0b168d6 LANG-1192: FastDateFormat support of the week-year component (uppercase 'Y') 2015-12-13 16:38:35 -08:00
Chas Honton 2ebf9a21d2 LANG-1192 partial: implement format 'u' for FastDateFormat, day number of week 2015-12-11 20:36:22 -08:00
Sebb bfcdeeaf44 More Javadoc and tests 2015-12-11 23:10:32 +00:00
Sebb a5ad80d754 Revert update of change history for 3.4 2015-12-11 13:57:19 +00:00
Sebb d75fe46b8f LANG-1193 ordinalIndexOf("abc", "ab", 1) gives incorrect answer of -1
(correct answer should be 0)
Revert LANG-1077
2015-12-11 13:41:22 +00:00
Sebb 15e1ea2f4e Moved DOAP 2015-12-09 18:00:37 +00:00
Nick Manley 5556026ed1 Fix NullPointerException in FastDateParser$TimeZoneStrategy 2015-11-19 23:24:05 -06:00
Benedikt Ritter 56907c9a96 Merge branch 'LANG-1182'
LANG-1182: Clarify JavaDoc of StringUtils.containsAny(). Thanks to
Larry West for the suggestion and to Pascal Schuhmacher for implementing
it. This fixes #114 from github.
2015-11-16 20:16:52 +01:00
Benedikt Ritter 7f0d6b4c12 Add LANG-1182 to changes.xml 2015-11-16 20:16:42 +01:00
Pascal Schumacher 1260e09d6f LANG-1182: adding clarifying examples to StringUtils#containsAny javadoc
as suggested by Larry West in https://issues.apache.org/jira/browse/LANG-1182
2015-11-08 22:44:07 +01:00
Loic Guibert 481137553f Merge branch 'fix-LANG-1169'
LANG-1169: Add StringUtils methods to compare a string to multiple strings
This closes #109 from github.
Thanks to Arman Sharif for providing a patch.
Thanks to Rafal Glowinski for providing an alternative implementations, see LANG-704.
Thanks to Robert Parr for providing an alternative implementations, see LANG-704.


Conflicts:
	src/changes/changes.xml
2015-11-06 16:21:32 +04:00
Loic Guibert 2c790ccc31 Add LANG-1169 to changes.xml 2015-11-06 16:13:57 +04:00
Loic Guibert a06f83a762 LANG-1169 Add some other unit tests 2015-11-06 16:13:13 +04:00
Loic Guibert a5650a1671 Add LANG-1185 to changes.xml 2015-11-05 17:18:58 +04:00
Loic Guibert 242b815437 LANG-1185 Add some tests for StringUtils replaceAll and replaceFirst methods 2015-11-05 17:17:20 +04:00
Loic Guibert b4842f559f LANG-1185 Add remove by regular expression methods in StringUtils :
- String StringUtils.removeAll(String text, String regex);
  - String StringUtils.removeFirst(String text, String regex);
2015-11-05 17:14:11 +04:00
Sebb 94184ce383 Ignore deprecations in test code 2015-11-03 10:20:28 +00:00
Arman Sharif 3a68fe8b7e LANG-1169 Added equalsAny() and equalsAnyIgnoreCase() methods to StringUtils. 2015-11-02 09:47:08 -08:00
Loic Guibert 47c1862989 Add LANG-1183 to changes.xml 2015-11-02 09:16:54 +04:00
Loic Guibert b1762bd557 LANG-1183 Making replacePattern/removePattern methods null safe in StringUtils 2015-11-02 09:14:22 +04:00
Loic Guibert 56f0e1053c StringUtils: remove unused import 2015-11-02 09:07:00 +04:00
Loic Guibert a6addf94e5 Merge branch 'fix-LANG-1139'
LANG-1139: Add replace by regular expression methods in StringUtils
This closes #92 from github.
2015-10-27 08:07:09 +04:00
Loic Guibert 849578d3a8 Merge branch 'fix-LANG-1171'
LANG-1171: Add compare methods in StringUtils
This closes #110 from github.
2015-10-23 21:53:32 +04:00
Loic Guibert 51512905c3 LANG-1171 Remove log of excluded methods in StringUtilsTest.testStringUtilsCharSequenceContract() 2015-10-21 15:15:06 +04:00
Loic Guibert 131917a0d3 LANG-1171 Exclude methods from StringUtilsTest.testStringUtilsCharSequenceContract() :
- StringUtils.compare(String str1, String str2);
  - StringUtils.compare(String str1, String str2, boolean nullIsLess);
  - StringUtils.compareIgnoreCase(String str1, String str2);
  - StringUtils.compareIgnoreCase(String str1, String str2, boolean nullIsLess);
2015-10-20 18:50:13 +04:00
Sergio Fernández c7860091a7 LANG-1175: removed more files from the assembly conf 2015-10-20 08:37:50 +02:00
Loic Guibert ae865193ea Add myself to the developers list 2015-10-20 10:30:41 +04:00
Sergio Fernández 8bdfc71491 LANG-1175: removed additional files 2015-10-19 21:39:46 +02:00
Sergio Fernández 1dbdbfc3fa LANG-1175: fixed typo on changes 2015-10-19 21:38:18 +02:00
Benedikt Ritter fd595d7475 Fix typo 2015-10-19 20:35:29 +02:00
Sergio Fernández c3e250abb3 LANG-1175: removed ant-based build 2015-10-19 16:44:42 +02:00
Benedikt Ritter c9cae602ec Merge branch 'LANG-1174'
LANG-1174: Add sugar to RandomUtils.
This closes 111 from github. Thanks to github user Punkratz312.
2015-10-17 11:12:19 +02:00
Benedikt Ritter 19f9893de0 Add LANG-1174 to changes.xml 2015-10-17 11:12:07 +02:00
Benedikt Ritter 69383a2bab Better JavaDoc 2015-10-17 11:10:54 +02:00
Benedikt Ritter 881c5fa3d2 Remove empty lines 2015-10-17 11:00:02 +02:00
Benedikt Ritter acc2bcd058 Update to easymock dependency 2015-10-16 17:30:01 +02:00
Michael Osipov 6d3796e64b LANG-1002: Several predefined ISO FastDateFormats in DateFormatUtils are incorrect
Since the naming template is ISO <ID>, new constants have been renamed to ISO_8601_...
Additionally, the constants represent the extended format. That should be reflected
in their names.
2015-10-14 12:46:08 +02:00