Commit Graph

3070 Commits

Author SHA1 Message Date
Gary D. Gregory ad5b9b0149 [LANG-734] The CHAR_ARRAY cache in CharUtils duplicates the cache in java.lang.Character.
[LANG-735] Deprecate CharUtils.toCharacterObject(char) in favor of java.lang.Character.valueOf(char).

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1153229 13f79535-47bb-0310-9956-ffa450edef68
2011-08-02 18:04:51 +00:00
Gary D. Gregory 9c28c3538d Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1153214 13f79535-47bb-0310-9956-ffa450edef68
2011-08-02 17:37:12 +00:00
Gary D. Gregory 6a14e228f5 Javadoc for generics.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1153213 13f79535-47bb-0310-9956-ffa450edef68
2011-08-02 17:35:39 +00:00
Henri Yandell 2d4b3edff9 Escaping <T>
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1153058 13f79535-47bb-0310-9956-ffa450edef68
2011-08-02 07:39:30 +00:00
Henri Yandell a4de013c40 Updating the clirr report to be against 3.0
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1153052 13f79535-47bb-0310-9956-ffa450edef68
2011-08-02 07:27:00 +00:00
Henri Yandell 8bff241c54 Noting improved exception message
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1153048 13f79535-47bb-0310-9956-ffa450edef68
2011-08-02 07:10:43 +00:00
Henri Yandell d43bde077e Updating changes.xml with all resolved items
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1153047 13f79535-47bb-0310-9956-ffa450edef68
2011-08-02 07:04:13 +00:00
Henri Yandell b82ab99340 Applying Sven Ludwig's patch from LANG-626. This modifies the SerializationUtils.clone method to use the threadContextLoader if it is unable to find a class using the object's current classloader. This should (hopefully) help with Weblogic and Tomcat situations where Lang is outside the web-inf for some reason (likely user error with Tomcat, by design for Weblogic)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1153046 13f79535-47bb-0310-9956-ffa450edef68
2011-08-02 06:57:04 +00:00
Henri Yandell 9908144874 Added comment on LANG-727
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1153038 13f79535-47bb-0310-9956-ffa450edef68
2011-08-02 06:14:57 +00:00
Henri Yandell 656312f90a Rearranging the testReflectionHierarchyArrayList test per LANG-727; shouldn't make assumptions about ArrayList now
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1153037 13f79535-47bb-0310-9956-ffa450edef68
2011-08-02 06:14:17 +00:00
Henri Yandell d94ef57853 Changing exception message per Sebb's comment iN LANG-686
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1152021 13f79535-47bb-0310-9956-ffa450edef68
2011-07-28 22:21:38 +00:00
Henri Yandell a7fe1f5018 Improving error message when recursion fails TTL in replaceEachRepeatedly. LANG-686
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1151345 13f79535-47bb-0310-9956-ffa450edef68
2011-07-27 06:02:06 +00:00
Henri Yandell 64dd0a070b Fixing javadoc to use the right exception types. Related to LANG-686
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1151343 13f79535-47bb-0310-9956-ffa450edef68
2011-07-27 05:59:00 +00:00
Henri Yandell 85d6318351 Fixing javadoc. The replaceEachRepeatedly does in fact repeat. Related to LANG-686
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1151340 13f79535-47bb-0310-9956-ffa450edef68
2011-07-27 05:55:39 +00:00
Matthew Jason Benson 37b9565b26 require values parameter when generating bit vectors from enums, throwing NullPointerException if omitted; merge check for type eligibility; add E... generateBitVector() variant; alter generateBitVector(Class<E>, EnumSet<E>) to (Class<E>, Iterable<E>) by using |= << instead of + to accumulate values; process only specified values
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1149320 13f79535-47bb-0310-9956-ffa450edef68
2011-07-21 19:11:47 +00:00
Matthew Jason Benson 42c7d34dff junit4ify EnumUtilsTest
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1149314 13f79535-47bb-0310-9956-ffa450edef68
2011-07-21 18:54:45 +00:00
Henri Yandell 4574329913 Adding Nelson Carpentier's patch adding an EnumSet to bit vector (and back again) to EnumUtils. LANG-730
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1149058 13f79535-47bb-0310-9956-ffa450edef68
2011-07-21 08:00:28 +00:00
Stephen Colebourne 0154a74354 Upgrade to JUnit 4.8.2 (same version as commons IO)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1148822 13f79535-47bb-0310-9956-ffa450edef68
2011-07-20 15:56:57 +00:00
Gary D. Gregory b1d97bc2fa Test that XML should be able to unescape >0x7f values with leading 0s.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1148531 13f79535-47bb-0310-9956-ffa450edef68
2011-07-19 21:03:42 +00:00
Gary D. Gregory 2c3fa8366e Javadoc, comments, and message strings: Change "unicode" to "Unicode".
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1148520 13f79535-47bb-0310-9956-ffa450edef68
2011-07-19 20:53:23 +00:00
Henri Yandell e9a72d4552 Adding a link to the 2->3 clirr report and a note on 2 and 3 being in different packages to the front page
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1148233 13f79535-47bb-0310-9956-ffa450edef68
2011-07-19 08:40:02 +00:00
Henri Yandell cd7b32ad09 Adding 3.0 release notes
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1148227 13f79535-47bb-0310-9956-ffa450edef68
2011-07-19 08:31:05 +00:00
Henri Yandell eac36c633d Fixing the 3.0 release date
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1148225 13f79535-47bb-0310-9956-ffa450edef68
2011-07-19 08:30:03 +00:00
Henri Yandell 50d7884787 Added note on Lang 3.0 being useable beside earlier versions; and removing the lang3.exception header
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1148224 13f79535-47bb-0310-9956-ffa450edef68
2011-07-19 08:28:56 +00:00
Henri Yandell de3285f462 Adding a unit test for LANG-729
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1148172 13f79535-47bb-0310-9956-ffa450edef68
2011-07-19 05:17:03 +00:00
Henri Yandell 5997452fe7 Fixing test to use the right escaper; numeric entities and not unicode. LANG-728
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1148167 13f79535-47bb-0310-9956-ffa450edef68
2011-07-19 05:10:03 +00:00
Henri Yandell 1a22532991 Fixing documentation; it was pointing to UnicodeEscaper and not NumericEntityEscaper. Also updated the API to not be Range based as we dropped that.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1148166 13f79535-47bb-0310-9956-ffa450edef68
2011-07-19 05:09:46 +00:00
Henri Yandell 2556149b64 Fixing javadoc - it was pointing to the wrong translator
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1148164 13f79535-47bb-0310-9956-ffa450edef68
2011-07-19 05:08:14 +00:00
Henri Yandell 42dd1e1902 Dropping Ignore import
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1148163 13f79535-47bb-0310-9956-ffa450edef68
2011-07-19 05:04:00 +00:00
Henri Yandell 9fa142b118 Updating unit test for LANG-728 to work with Lang 3.0 way of using escapeXml with > 0x7f characters
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1148162 13f79535-47bb-0310-9956-ffa450edef68
2011-07-19 04:58:03 +00:00
Henri Yandell 96156936d8 Fixing javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1148160 13f79535-47bb-0310-9956-ffa450edef68
2011-07-19 04:54:58 +00:00
Henri Yandell 16c1e9e423 Applying Ville Skyttä's LANG-717 patch to force the encoding in Ant and Maven builds to ISO-8859-1; stopping reported ugly output if your system is running in UTF-8
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1148152 13f79535-47bb-0310-9956-ffa450edef68
2011-07-19 04:32:56 +00:00
Henri Yandell c40ebb8edf Setting 3.0 release date
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1148140 13f79535-47bb-0310-9956-ffa450edef68
2011-07-19 03:41:22 +00:00
Henri Yandell 96eaa828b6 Adding 3.0 and 2.6 to the doap file
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1148139 13f79535-47bb-0310-9956-ffa450edef68
2011-07-19 03:40:16 +00:00
Henri Yandell c88e6498e3 Updating version number to 3.0.1-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1148137 13f79535-47bb-0310-9956-ffa450edef68
2011-07-19 03:38:19 +00:00
Matthew Jason Benson 2e072c1da8 [LANG-726] Add a method e.g. Range<T> Range<T>.intersectionWith(Range<T>)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1147537 13f79535-47bb-0310-9956-ffa450edef68
2011-07-17 06:10:37 +00:00
Matthew Jason Benson 6c65862a68 junit4ify RangeTest
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1147536 13f79535-47bb-0310-9956-ffa450edef68
2011-07-17 06:01:17 +00:00
Matthew Jason Benson fe235bbb83 junit expected exceptions
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1147531 13f79535-47bb-0310-9956-ffa450edef68
2011-07-17 05:33:33 +00:00
Matthew Jason Benson 2b0b97178b junit4ify NumberUtilstest
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1147528 13f79535-47bb-0310-9956-ffa450edef68
2011-07-17 05:18:14 +00:00
Matthew Jason Benson b46f9adc0b revert c1147524
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1147526 13f79535-47bb-0310-9956-ffa450edef68
2011-07-17 05:16:30 +00:00
Matthew Jason Benson 4660e5159b [LANG-724] Convert Validate.noNullElements(Object[]) to varargs
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1147524 13f79535-47bb-0310-9956-ffa450edef68
2011-07-17 05:02:39 +00:00
Henri Yandell 30bae8f0ff Updating the clirr report
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1147523 13f79535-47bb-0310-9956-ffa450edef68
2011-07-17 04:48:14 +00:00
Matthew Jason Benson 81b5435a3a [LANG-723] Add mode and median Comparable... methods to ObjectUtils
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1147522 13f79535-47bb-0310-9956-ffa450edef68
2011-07-17 04:22:51 +00:00
Matthew Jason Benson aee1b76fb6 junit4ify ObjectUtilsTest
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1147521 13f79535-47bb-0310-9956-ffa450edef68
2011-07-17 03:46:44 +00:00
Matthew Jason Benson afa12a7960 ws
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1147520 13f79535-47bb-0310-9956-ffa450edef68
2011-07-17 03:43:51 +00:00
Matthew Jason Benson b81dfde37c commentary
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1147515 13f79535-47bb-0310-9956-ffa450edef68
2011-07-17 02:56:15 +00:00
Matthew Jason Benson 8ffdb2df2e ws
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1147513 13f79535-47bb-0310-9956-ffa450edef68
2011-07-17 01:44:50 +00:00
Matthew Jason Benson b4a00f93bf add @since tags for and/or methods
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1147512 13f79535-47bb-0310-9956-ffa450edef68
2011-07-17 01:43:57 +00:00
Matthew Jason Benson c808034989 [LANG-722] Add BooleanUtils.and/or varargs methods to complement xor
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1147511 13f79535-47bb-0310-9956-ffa450edef68
2011-07-17 01:39:14 +00:00
Matthew Jason Benson 061a53be62 use exception expectations
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1147510 13f79535-47bb-0310-9956-ffa450edef68
2011-07-17 01:24:38 +00:00