4264 Commits

Author SHA1 Message Date
Benedikt Ritter
b5749b4f54 LANG-456: HashCodeBuilder throws StackOverflowError in bidirectional navigable
association. Thanks to Bob Fields who provides the inital patch. Thanks to
Woosan Ko who wrote the final patch. Thanks to Bruno P. Kinoshita who
updated the final patch so that it was easy to apply.
2015-05-01 22:26:42 +02:00
Benedikt Ritter
4796a0a792 Correct issue title for LANG-916 in changes.xml 2015-05-01 22:11:23 +02:00
Benedikt Ritter
5c6a87c462 Merge branch 'LANG-1126' 2015-05-01 22:08:07 +02:00
Benedikt Ritter
69fbbe1736 Add LANG-1126 to changes.xml 2015-05-01 22:07:47 +02:00
Benedikt Ritter
260e0e0cd2 Format source code 2015-05-01 22:05:23 +02:00
Benedikt Ritter
6dbb48c8e6 Set default locale to Locale.ENGLISH to make test independent from system default locale. 2015-05-01 22:04:48 +02:00
Chas Honton
775203dd2c LANG-916: DateFormatUtils.format does not correctly change Calendar TimeZone in certain situations
LANG-1123: Unit test FastDatePrinterTimeZonesTest needs a timezone set
2015-04-30 19:21:26 -07:00
Chas Honton
bea1ae92aa LANG-1116: DateUtilsTest.testLang530 fails for some timezones 2015-04-30 16:19:38 -07:00
Chas Honton
cb83f7cb31 unit test to show FastDateParser has same behavior as SimpleDateFormat when dealing with greater than two digit days values 2015-04-30 09:11:21 -07:00
Benedikt Ritter
f431270c59 Remove unused method 2015-04-29 22:36:48 +02:00
Benedikt Ritter
35e795d4a9 Merge branch 'use-calendar-constants' 2015-04-29 22:30:29 +02:00
Benedikt Ritter
71e515ab6d Use Calendar constants in DurationFormatUtilsTest 2015-04-29 22:29:43 +02:00
Benedikt Ritter
52adf52e46 Use Calendar constants in DateUtilsTest 2015-04-29 22:27:11 +02:00
Benedikt Ritter
90e31fd93f Use Calendar constants in DateFormatUtilsTest 2015-04-29 22:23:55 +02:00
Benedikt Ritter
ea60fbe063 Use Calendar constants in FastDateParserTest 2015-04-29 22:14:16 +02:00
Benedikt Ritter
e580d35e1a Use Calendar constants in FastDatePrinterTest 2015-04-29 22:09:59 +02:00
Benedikt Ritter
640953167a Merge branch 'bug/LANG-1114-TypeUtils.Wildcard.equals.bug'
LANG-1114: TypeUtils.ParameterizedType#equals doesn't work with wildcard types.
This closes #73 from github. Thanks to Andy Coates.
2015-04-29 19:47:09 +02:00
Benedikt Ritter
6271c5015f Add LANG-1114 to changes.xml 2015-04-29 19:45:35 +02:00
joehni
6965455f8a Ignore more Eclipse cruft. 2015-04-29 11:25:12 +02:00
The Datalorax
e2c0ea4374 #LAN-1114 fixes bug in TypeUtils.equals(WildcardType, Type) where it was incorrectly returning true when the second argument was not a Wildcard type. 2015-04-28 21:07:21 +01:00
Benedikt Ritter
102b75cd92 Merge branch 'fix-LANG-1119' of https://github.com/rikles/commons-lang
This closes #71.

LANG-1119: Add rotate(string, int) method to StringUtils. Thanks to
Loic Guibert.
2015-04-28 21:55:53 +02:00
Benedikt Ritter
d4359d5f14 Add LANG-1119 to changes.xml 2015-04-28 21:55:35 +02:00
Loic Guibert
02a98515a3 LANG-1119: Add StringUtils.rotate(String, int) 2015-04-28 21:53:24 +02:00
Benedikt Ritter
0799f01df1 Merge branch 'fix-LANG-1118'
LANG-1118: StringUtils.repeat('z', -1) throws NegativeArraySizeException.
Thanks to Loic Guibert.
2015-04-28 21:35:34 +02:00
Benedikt Ritter
84c5e8c712 Add LANG-1118 to changes.xml 2015-04-28 21:35:16 +02:00
Loic Guibert
4ad74f4492 LANG-1118 Adding a test case for StringUtils.repeat(String, int) checking dealing with negative repeat value 2015-04-28 21:32:54 +02:00
Loic Guibert
1b9d938d66 LANG-1118 Fix StringUtils.repeat(char, int) dealing with negative repeat value 2015-04-28 21:32:54 +02:00
Benedikt Ritter
8e7df02eda Use github badges from master branch. Otherwise failing branch builds will show up on the front page at github. 2015-04-28 21:23:58 +02:00
Benedikt Ritter
fd680a6511 Merge branch 'array-utils'
LANG-1099: Add swap and shift operations for arrays to ArrayUtils. Thanks
to Adrian Ber.
2015-04-28 21:13:08 +02:00
Benedikt Ritter
28a0672f99 Add LANG-1099 to changes.xml 2015-04-28 21:12:41 +02:00
beradrian
af8d0ab9bc testSwapIntExchangedOffsets 2015-04-28 12:58:13 +03:00
beradrian
c1501a24cb examples added in Javadoc 2015-04-28 12:58:12 +03:00
beradrian
61095ef28e fix comments 2015-04-28 12:58:12 +03:00
beradrian
06506aecf9 tabs replaced by spaces
new tests added
2015-04-28 12:58:11 +03:00
beradrian
a3995141bf swap and shift for arrays 2015-04-28 12:58:11 +03:00
Benedikt Ritter
63d8a025e6 Merge branch 'LANG-979' 2015-04-27 21:37:54 +02:00
Benedikt Ritter
d81ea83a0e Apply patch contributed by Bruno P. Kinoshita 2015-04-27 21:37:28 +02:00
Benedikt Ritter
16b03b0c4b Update SCM information after svn to git migration 2015-04-27 20:21:41 +02:00
Benedikt Ritter
df37e605fe LANG-1112: MultilineRecursiveToStringStyle largely unusable due to being package-private. Thanks to Liam Jones for reporting this.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1674549 13f79535-47bb-0310-9956-ffa450edef68
2015-04-18 18:44:36 +00:00
Duncan Jones
73a8fba6fb Updates for LANG-1058: StringUtils.uncapitalize performance improvement. Similar fix also applied to StringUtils.capitalize (as mentioned in issue). Thanks to Leo Wang.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1673944 13f79535-47bb-0310-9956-ffa450edef68
2015-04-15 19:59:50 +00:00
Duncan Jones
3720683699 Explicit static imports.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1673370 13f79535-47bb-0310-9956-ffa450edef68
2015-04-14 06:40:18 +00:00
Duncan Jones
2ed96f00f7 Refactored test into separate class, to avoid needless repeated execution by subclasses of the original test.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1673049 13f79535-47bb-0310-9956-ffa450edef68
2015-04-12 19:59:04 +00:00
Duncan Jones
5aa87b52f1 Corrected Javadoc (mentioned in LANG-1058), added examples to unit test.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1672988 13f79535-47bb-0310-9956-ffa450edef68
2015-04-12 07:14:45 +00:00
Duncan Jones
71f6746f81 Update for LANG-1069: CharSet.getInstance documentation does not clearly explain how to include negation character in set. Javadoc expanded and unit tests added to match examples. Based on patch by Arno Noordover.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1672833 13f79535-47bb-0310-9956-ffa450edef68
2015-04-11 06:02:34 +00:00
Benedikt Ritter
9bebec9cf9 Fix broken links in README.md. Thanks to Stian Soiland-Reyes.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1672246 13f79535-47bb-0310-9956-ffa450edef68
2015-04-09 06:34:55 +00:00
Duncan Jones
c7bfe025e9 Added missing @since tag.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1672245 13f79535-47bb-0310-9956-ffa450edef68
2015-04-09 06:29:03 +00:00
Duncan Jones
7ef106b237 Implements LANG-1050: Change nullToEmpty methods to generics. Thanks to James Sawle. This closes #33 in GitHub too.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1672244 13f79535-47bb-0310-9956-ffa450edef68
2015-04-09 06:27:15 +00:00
Duncan Jones
2f67045b96 Added a brief comment to explain SuppressWarnings statement (thanks britter).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1672242 13f79535-47bb-0310-9956-ffa450edef68
2015-04-09 05:54:52 +00:00
Benedikt Ritter
4f2f0e47d2 Looks like the coveralls badge doesn't work if the branch is no specified
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1672156 13f79535-47bb-0310-9956-ffa450edef68
2015-04-08 19:57:56 +00:00
Benedikt Ritter
620e88b5e7 PMD and CPD is the standard reportset that will be created
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1672149 13f79535-47bb-0310-9956-ffa450edef68
2015-04-08 19:11:40 +00:00