Commit Graph

4219 Commits

Author SHA1 Message Date
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
Benedikt Ritter 1c532efdb5 Add next release to changes.xml
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1671594 13f79535-47bb-0310-9956-ffa450edef68
2015-04-06 17:09:10 +00:00
Benedikt Ritter cdbf4758ed Post release clean up: bump version number, document release date, add release to doap file
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1671578 13f79535-47bb-0310-9956-ffa450edef68
2015-04-06 16:45:16 +00:00
Benedikt Ritter 0d5d66692b Add entry for the upcoming 3.4 release to the release history page
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1671047 13f79535-47bb-0310-9956-ffa450edef68
2015-04-03 12:11:59 +00:00
Benedikt Ritter e83123d13c Fix copy past error
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1671044 13f79535-47bb-0310-9956-ffa450edef68
2015-04-03 12:09:37 +00:00
Benedikt Ritter 09c42e7d12 LANG-821: Support OS X versions in SystemUtils. This also fixes #59 from github. Thanks to Timo Kockert.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1671043 13f79535-47bb-0310-9956-ffa450edef68
2015-04-03 12:09:07 +00:00
Benedikt Ritter 9c7b0fb8e6 LANG-794: SystemUtils.IS_OS_WINDOWS_2008, VISTA are incorrect. This also fixes #60 from github. Thanks to Timo Kockert.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1671040 13f79535-47bb-0310-9956-ffa450edef68
2015-04-03 12:01:59 +00:00
Benedikt Ritter 8c84cfda26 The latest release is 3.3.2
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1671037 13f79535-47bb-0310-9956-ffa450edef68
2015-04-03 11:46:06 +00:00
Benedikt Ritter 6039dd3196 Fix ant build
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1671032 13f79535-47bb-0310-9956-ffa450edef68
2015-04-03 11:38:53 +00:00
Benedikt Ritter 9e575c4da2 Document change of constant in DurationUtils as suggested by Oliver Heger.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1671029 13f79535-47bb-0310-9956-ffa450edef68
2015-04-03 11:25:44 +00:00
Benedikt Ritter 79aceed0e3 Add LANG-1104 to release notes
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1671025 13f79535-47bb-0310-9956-ffa450edef68
2015-04-03 11:12:47 +00:00
Chas Honton 06d724599d LANG-1104 - FastDateParserTest.testParses fails in TimeZone America/Sao_Paulo
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1670560 13f79535-47bb-0310-9956-ffa450edef68
2015-04-01 04:07:43 +00:00
Gary D. Gregory 56462a1e18 maven-checkstyle-plugin 2.14 -> 2.15.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1669833 13f79535-47bb-0310-9956-ffa450edef68
2015-03-28 19:34:16 +00:00