Henri Yandell
cebecbbca8
Copying from Collections to Lang
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1154831 13f79535-47bb-0310-9956-ffa450edef68
2011-08-08 05:11:26 +00:00
Henri Yandell
2276b288b8
Copying from Collections to Lang
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1154830 13f79535-47bb-0310-9956-ffa450edef68
2011-08-08 05:11:16 +00:00
Henri Yandell
c405a2bac5
Copying from Collections to Lang
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1154829 13f79535-47bb-0310-9956-ffa450edef68
2011-08-08 05:10:59 +00:00
Henri Yandell
c409d49153
Copying from Collections to Lang
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1154828 13f79535-47bb-0310-9956-ffa450edef68
2011-08-08 05:10:47 +00:00
Henri Yandell
8650ed30a0
Copying from Collections to Lang
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1154827 13f79535-47bb-0310-9956-ffa450edef68
2011-08-08 05:10:33 +00:00
Henri Yandell
8fb580f1a8
Copying from Collections to Lang
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1154826 13f79535-47bb-0310-9956-ffa450edef68
2011-08-08 05:10:00 +00:00
Henri Yandell
b569409995
Making a package for Comparator, Comparable and other comparison time functionality
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1154824 13f79535-47bb-0310-9956-ffa450edef68
2011-08-08 05:09:05 +00:00
Henri Yandell
c80a3d41d7
Generating a txt file as well as the xml for the changes report
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1154814 13f79535-47bb-0310-9956-ffa450edef68
2011-08-08 04:07:20 +00:00
Henri Yandell
538e004dc9
Removing xml escapes
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1154777 13f79535-47bb-0310-9956-ffa450edef68
2011-08-07 21:58:01 +00:00
Joerg Schaible
ef346b48b2
Ignore assertions for IBM JDK 1.6.0 in ToStringBuilderTest.testReflectionHierarchyArrayList because the test makes assumptions on the internal representation of an ArrayList (LANG-727).
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1154530 13f79535-47bb-0310-9956-ffa450edef68
2011-08-06 15:43:07 +00:00
Henri Yandell
f893b88f83
Upating version in release.version as well
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1154239 13f79535-47bb-0310-9956-ffa450edef68
2011-08-05 14:28:05 +00:00
Matthew Jason Benson
31bd69942f
junit4ify ToStringBuilderTest + some generics-related fixup
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1154217 13f79535-47bb-0310-9956-ffa450edef68
2011-08-05 13:58:52 +00:00
Matthew Jason Benson
391375b08a
missing javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1154216 13f79535-47bb-0310-9956-ffa450edef68
2011-08-05 13:57:16 +00:00
Henri Yandell
18c02cbd9b
Adding a '.' to the end of every <action>. This fits the subsequent addition of 'Fixes' in the generated report
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1154113 13f79535-47bb-0310-9956-ffa450edef68
2011-08-05 07:58:55 +00:00
Henri Yandell
2e4ad3cab9
Setting the version to 3.0.1
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1154105 13f79535-47bb-0310-9956-ffa450edef68
2011-08-05 07:28:53 +00:00
Henri Yandell
41bf621517
Updating the release notes
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1154104 13f79535-47bb-0310-9956-ffa450edef68
2011-08-05 07:28:15 +00:00
Henri Yandell
30757504da
Declaring version as 3.0.1
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1154103 13f79535-47bb-0310-9956-ffa450edef68
2011-08-05 07:24:12 +00:00
Gary D. Gregory
e6e215d960
[LANG-738] Use internal Java's Number caches instead creating new objects
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1153491 13f79535-47bb-0310-9956-ffa450edef68
2011-08-03 13:55:53 +00:00
Gary D. Gregory
f5026c122d
Use internal Java's Number caches instead creating new objects:
...
- Use more efficient Integer cache: Use "Integer.valueOf(int)" instead of "new Integer(int)".
- Use more efficient Long cache: Use "Long.valueOf(int)" instead of "new Long(long)".
- Use more efficient Short cache: Use "Short.valueOf(int)" instead of "new Short(short)".
In Java version 1.6.0_24 (vendor: Sun Microsystems Inc.), Float and Double do not implement caches, but I've made the same changes for consistency and future proofing.
- Use "Double.valueOf(int)" instead of "new Double(double)".
- Use "Float.valueOf(int)" instead of "new Float(float)".
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1153490 13f79535-47bb-0310-9956-ffa450edef68
2011-08-03 13:53:35 +00:00
Gary D. Gregory
16d92dc923
Use more efficient Short cache: Use "Short.valueOf(int)" instead of "new Short(short)"
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1153488 13f79535-47bb-0310-9956-ffa450edef68
2011-08-03 13:47:49 +00:00
Gary D. Gregory
4b1702489c
Use more efficient Long cache: Use "Long.valueOf(int)" instead of "new Long(long)"
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1153487 13f79535-47bb-0310-9956-ffa450edef68
2011-08-03 13:44:51 +00:00
Gary D. Gregory
ddeba76d0b
Use more efficient Integer cache: Use "Integer.valueOf(int)" instead of "new Integer(int)".
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1153484 13f79535-47bb-0310-9956-ffa450edef68
2011-08-03 13:39:42 +00:00
Gary D. Gregory
9d6f32538c
Use more efficient Integer cache.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1153479 13f79535-47bb-0310-9956-ffa450edef68
2011-08-03 13:28:39 +00:00
Gary D. Gregory
6869f0abad
Generify.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1153477 13f79535-47bb-0310-9956-ffa450edef68
2011-08-03 13:26:35 +00:00
Henri Yandell
bd082cddc8
Fixing javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1153350 13f79535-47bb-0310-9956-ffa450edef68
2011-08-03 05:29:21 +00:00
Henri Yandell
2d9e540fdf
Adding Apache license header to placate RAT
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1153349 13f79535-47bb-0310-9956-ffa450edef68
2011-08-03 05:29:13 +00:00
Henri Yandell
11ecc04c07
Added missing @since 3.0.1 tags
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1153346 13f79535-47bb-0310-9956-ffa450edef68
2011-08-03 04:59:46 +00:00
Henri Yandell
b2c23e4697
Rolling back r1153037 and r1153038 - the changes didn't help
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1153343 13f79535-47bb-0310-9956-ffa450edef68
2011-08-03 04:49:45 +00:00
Joerg Schaible
f761a82212
Missing method getRawMessage for ContextedException and ContextedRuntimeException (LANG-737).
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1153271 13f79535-47bb-0310-9956-ffa450edef68
2011-08-02 21:04:35 +00:00
Gary D. Gregory
2b5f7a79b0
Fix PMD issues: "These nested if statements could be combined"
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1153241 13f79535-47bb-0310-9956-ffa450edef68
2011-08-02 18:49:52 +00:00
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