4231 Commits

Author SHA1 Message Date
Benedikt Ritter
6271c5015f Add LANG-1114 to changes.xml 2015-04-29 19:45:35 +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
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
Benedikt Ritter
a498b87dbc Build requires at least Java 6 - check for Java version can be removed
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1671683 13f79535-47bb-0310-9956-ffa450edef68
2015-04-06 20:05:58 +00:00
Benedikt Ritter
83775c4323 Test fields can be private
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1671682 13f79535-47bb-0310-9956-ffa450edef68
2015-04-06 20:05:08 +00:00
Benedikt Ritter
3f0f42f7da Drop unnecessary empty lines
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1671680 13f79535-47bb-0310-9956-ffa450edef68
2015-04-06 19:59:32 +00:00
Benedikt Ritter
98817e88f0 Use BeforeClass hook to set up test date
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1671679 13f79535-47bb-0310-9956-ffa450edef68
2015-04-06 19:58:56 +00:00
Benedikt Ritter
35f1cc0027 PMD: Useless parentheses
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1671675 13f79535-47bb-0310-9956-ffa450edef68
2015-04-06 19:48:22 +00:00
Benedikt Ritter
2bc2ffde1f PMD: Useless parentheses
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1671674 13f79535-47bb-0310-9956-ffa450edef68
2015-04-06 19:45:11 +00:00
Benedikt Ritter
11491d355d Use not bool instead of bool == false
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1671673 13f79535-47bb-0310-9956-ffa450edef68
2015-04-06 19:44:39 +00:00
Benedikt Ritter
9072a7615a PMD: Useless parentheses
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1671669 13f79535-47bb-0310-9956-ffa450edef68
2015-04-06 19:41:06 +00:00
Benedikt Ritter
f525bc3ccd Use not String.contains instead of indexOf == -1
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1671666 13f79535-47bb-0310-9956-ffa450edef68
2015-04-06 19:37:04 +00:00
Benedikt Ritter
2fefdc7dc3 Scope of local variabel shift can be narrower
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1671661 13f79535-47bb-0310-9956-ffa450edef68
2015-04-06 19:21:51 +00:00
Benedikt Ritter
d3252a5ca5 PMD: Useless parentheses
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1671658 13f79535-47bb-0310-9956-ffa450edef68
2015-04-06 19:12:23 +00:00
Benedikt Ritter
c4c03a33c8 PMD: Useless parentheses
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1671657 13f79535-47bb-0310-9956-ffa450edef68
2015-04-06 19:06:07 +00:00
Benedikt Ritter
9106f4ed5a Define Findbugs exlucde for internally used map key class
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1671628 13f79535-47bb-0310-9956-ffa450edef68
2015-04-06 18:16:37 +00:00
Benedikt Ritter
173c162a45 Simplify isNotEmpty by reusing isEmpty
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1671624 13f79535-47bb-0310-9956-ffa450edef68
2015-04-06 18:06:41 +00:00
Benedikt Ritter
ef51b068ae Simplify isEmpty be reusing getLength
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1671623 13f79535-47bb-0310-9956-ffa450edef68
2015-04-06 18:02:50 +00:00
Benedikt Ritter
319588b45c Simplify isSameLenght implementations by reusing getLength. This also fixes a lot of the useless paranthesis warnings generated by PMD.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1671622 13f79535-47bb-0310-9956-ffa450edef68
2015-04-06 17:58:46 +00:00
Benedikt Ritter
921ee58640 Document required java version for every release
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1671620 13f79535-47bb-0310-9956-ffa450edef68
2015-04-06 17:48:04 +00:00
Benedikt Ritter
3f418c2200 Use date schema from changes.xml on release history page
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1671600 13f79535-47bb-0310-9956-ffa450edef68
2015-04-06 17:12:54 +00:00