4281 Commits

Author SHA1 Message Date
Benedikt Ritter
abfcf0a8cf LANG-1127: Use JUnit rules to set and reset the default Locale and TimeZone. 2015-05-03 14:20:03 +02:00
Chas Honton
b37837ce63 LANG-1127 Create a base test for the time package, which sets and resets default Locales and TimeZones 2015-05-02 11:34:36 -07:00
Chas Honton
0add1e8975 ZZ format not displaying Z for UTC with OpenJDK 6 2015-05-02 11:21:02 -07:00
Benedikt Ritter
4a882e76d9 Merge branch 'branch-3.4-fix-json-style-rebase'
LANG-1128: JsonToStringStyle doesn't handle chars and objects correctly.
This also fixes #74 from github. Thanks to github user jacktan1991.
2015-05-01 23:55:25 +02:00
Benedikt Ritter
e8db7237a9 Extract logic for checking string representation of objects into separate methods 2015-05-01 23:54:03 +02:00
Benedikt Ritter
28656559d2 Format source code 2015-05-01 23:51:03 +02:00
Benedikt Ritter
07ec8ad2dd Variable names should follow naming conventions 2015-05-01 23:48:35 +02:00
Benedikt Ritter
448ec93f00 Add LANG-1128 to changes.xml 2015-05-01 23:47:36 +02:00
Benedikt Ritter
1cf8af4b23 Fix typo 2015-05-01 23:00:06 +02:00
Benedikt Ritter
99a4292ea8 Better title for release history page 2015-05-01 22:48:11 +02:00
Benedikt Ritter
f97780bfb4 Split up release history table into subsections for every major release 2015-05-01 22:46:08 +02:00
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
Jack
6a99050166 fixed Tab to 4 spaces in JsonToStringStyleTest.java 2015-05-01 16:07:44 +08:00
Jack
cac5209712 modified appendDetail method for Object value in JsonToStringStyle class 2015-05-01 14:13:13 +08:00
Jack
2584b4a0ef add testNestingPerson case to JsonToStringStyleTest.java 2015-05-01 14:10:22 +08: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
Jack
6d23e85570 fix imports in JsonToStringStyleTest.java 2015-04-30 17:50:59 +08: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
Jack
fb7335ab16 fix the JsonToStringStyle:except number types and boolean type, all other types in java should be 'appendAsString' 2015-04-29 11:05:59 +08:00
Jack
cf42ae522e add testChar and testDate Cases into JsonToStringStyleTest 2015-04-29 11:02:08 +08: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