Commit Graph

3162 Commits

Author SHA1 Message Date
Henri Yandell b0e216a208 Fixing package names and adding excludes to the pom.xml for the parts of the collections framework that followed over
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1154844 13f79535-47bb-0310-9956-ffa450edef68
2011-08-08 05:26:12 +00:00
Henri Yandell 2093b8da08 Copying from Collections to Lang
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1154842 13f79535-47bb-0310-9956-ffa450edef68
2011-08-08 05:20:03 +00:00
Henri Yandell f971e82651 Copying from Collections to Lang
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1154841 13f79535-47bb-0310-9956-ffa450edef68
2011-08-08 05:19:59 +00:00
Henri Yandell 4d0f6ab3f0 Copying from Collections to Lang
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1154840 13f79535-47bb-0310-9956-ffa450edef68
2011-08-08 05:19:56 +00:00
Henri Yandell 12c7493a52 Copying from Collections to Lang
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1154839 13f79535-47bb-0310-9956-ffa450edef68
2011-08-08 05:19:54 +00:00
Henri Yandell c66005b91f Copying from Collections to Lang
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1154838 13f79535-47bb-0310-9956-ffa450edef68
2011-08-08 05:19:51 +00:00
Henri Yandell 359d7d225e Copying from Collections to Lang
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1154837 13f79535-47bb-0310-9956-ffa450edef68
2011-08-08 05:19:01 +00:00
Henri Yandell 0597723492 Copying from Collections to Lang
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1154836 13f79535-47bb-0310-9956-ffa450edef68
2011-08-08 05:18:36 +00:00
Henri Yandell f32ee938f3 Copying from Collections to Lang
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1154835 13f79535-47bb-0310-9956-ffa450edef68
2011-08-08 05:18:14 +00:00
Henri Yandell 4449b2872f Making space for comparison tests
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1154834 13f79535-47bb-0310-9956-ffa450edef68
2011-08-08 05:16:11 +00:00
Henri Yandell 9c96f2a222 Fixing package names so things compile. Removing Boolean and Transform usages in ComparatorUtils as those classes didn't come accross
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1154833 13f79535-47bb-0310-9956-ffa450edef68
2011-08-08 05:15:51 +00:00
Henri Yandell 6f279ce78b Copying from Collections to Lang
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1154832 13f79535-47bb-0310-9956-ffa450edef68
2011-08-08 05:11:36 +00:00
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