Commit Graph

4499 Commits

Author SHA1 Message Date
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
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
Benedikt Ritter e3076f9250 Add Travis CI configuration file to source assembly
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1672147 13f79535-47bb-0310-9956-ffa450edef68
2015-04-08 19:02:34 +00:00
Benedikt Ritter 6d1fdbedc9 Clirr is defined in parent pom
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1672146 13f79535-47bb-0310-9956-ffa450edef68
2015-04-08 19:00:53 +00:00
Benedikt Ritter 31bf842d76 Travis does not know openjdk8
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1672145 13f79535-47bb-0310-9956-ffa450edef68
2015-04-08 19:00:07 +00:00
Benedikt Ritter 29f03b5f63 Add missing issue to changes.xml
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1672137 13f79535-47bb-0310-9956-ffa450edef68
2015-04-08 18:38:31 +00:00
Benedikt Ritter d71efc7bf5 Activate Travis CI, coveralls.io and add badges to README.md
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1672135 13f79535-47bb-0310-9956-ffa450edef68
2015-04-08 18:36:36 +00:00
Duncan Jones db0f2304bd Suppressed two unchecked warnings.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1672030 13f79535-47bb-0310-9956-ffa450edef68
2015-04-08 08:38:02 +00:00
Duncan Jones 3051264e1b Implements LANG-1074: Add a method to ArrayUtils for removing all occurrences of a given element. Thanks to Haiyang Li.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1672025 13f79535-47bb-0310-9956-ffa450edef68
2015-04-08 07:53:49 +00:00
Chas Honton 20c733229d LANG-1111 - Fix FindBugs warnings in DurationFormatUtils
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1671994 13f79535-47bb-0310-9956-ffa450edef68
2015-04-08 02:39:05 +00:00
Chas Honton 86c76dd5ea LANG-1107 Fix parsing edge cases in FastDateParser
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1671992 13f79535-47bb-0310-9956-ffa450edef68
2015-04-08 02:19:02 +00:00
Chas Honton c9d3c58e44 revert muddled commit
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1671989 13f79535-47bb-0310-9956-ffa450edef68
2015-04-08 01:48:12 +00:00
Chas Honton 76cc69c3f0 LANG-1109 - Number percentage formatting with fractional digits
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1671734 13f79535-47bb-0310-9956-ffa450edef68
2015-04-07 02:40:49 +00:00
Benedikt Ritter d4c7f63054 Use annotation based checking for expected exceptions
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1671690 13f79535-47bb-0310-9956-ffa450edef68
2015-04-06 20:26:25 +00:00
Benedikt Ritter 8ea1aa1e7c Remove another necessary assignment
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1671686 13f79535-47bb-0310-9956-ffa450edef68
2015-04-06 20:11:19 +00:00
Benedikt Ritter 59985b43f0 Remove unnecessary assignment
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1671685 13f79535-47bb-0310-9956-ffa450edef68
2015-04-06 20:10:01 +00:00
Benedikt Ritter 34558845e3 Format source code
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1671684 13f79535-47bb-0310-9956-ffa450edef68
2015-04-06 20:06:55 +00:00