Commit Graph

1529 Commits

Author SHA1 Message Date
Rahul Akolkar 3077b3b3fc Missing props on various m2 poms.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@483119 13f79535-47bb-0310-9956-ffa450edef68
2006-12-06 15:44:10 +00:00
Henri Yandell 012998b3d4 Applying max/min for Comparables as supplied by David Karlsen in LANG-291
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@475113 13f79535-47bb-0310-9956-ffa450edef68
2006-11-15 04:14:42 +00:00
Henri Yandell 11a4975580 Bit of an odd unit test, causes trouble under maven-2. So fixing it to make it more like the other tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@475111 13f79535-47bb-0310-9956-ffa450edef68
2006-11-15 04:11:55 +00:00
Henri Yandell 989f0caf65 Hooking to the newly released v1 commons-parent pom
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@474146 13f79535-47bb-0310-9956-ffa450edef68
2006-11-13 04:49:07 +00:00
Henri Yandell 50a532da55 Adding M2 pom for Lang. Two tests in Enums fail (well, 2 copies of the same one). Will dig into understanding why - I guess m2 classloading is different from m1
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@473654 13f79535-47bb-0310-9956-ffa450edef68
2006-11-11 06:38:53 +00:00
Henri Yandell ad895a71ef removing unnecessary part of the pom; no xml files in lang's test directory
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@473651 13f79535-47bb-0310-9956-ffa450edef68
2006-11-11 06:21:29 +00:00
Rahul Akolkar abd5f7e5dd Missing SVN properties, possibly some large diffs, no functional change.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@472712 13f79535-47bb-0310-9956-ffa450edef68
2006-11-09 00:14:44 +00:00
Henri Yandell 5387645b15 Removing @author query
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@471630 13f79535-47bb-0310-9956-ffa450edef68
2006-11-06 04:14:45 +00:00
Henri Yandell d8a6e05b5f Removing my @author tags
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@471626 13f79535-47bb-0310-9956-ffa450edef68
2006-11-06 04:02:09 +00:00
Henri Yandell 1a158281aa Fixng LANG-295 - thisBuf.length calls. There were two of the calls, so I've committed a unit test showing things are broken and a fix in both cases.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@469696 13f79535-47bb-0310-9956-ffa450edef68
2006-10-31 23:00:54 +00:00
Henri Yandell 8e52e2169b Fixing #LANG-294. The indexOf method did not take into account the size variable that limited the amount of the buffer that should be looked at.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@469677 13f79535-47bb-0310-9956-ffa450edef68
2006-10-31 22:15:00 +00:00
Henri Yandell d8b6f5b5c6 Applying unit test and fix for #LANG-292. Also fixes a couple of problems with the unescape(Writer..) overload that came up
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@469661 13f79535-47bb-0310-9956-ffa450edef68
2006-10-31 21:34:03 +00:00
Henri Yandell 8fde2caf64 Adding equals(int[], int[]) style methods to NumberUtils as requested by Paul Benedict in LANG-238
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@467482 13f79535-47bb-0310-9956-ffa450edef68
2006-10-24 21:02:56 +00:00
Henri Yandell 7a003412c6 Adding NumberUtils.max(byte[]) and NumberUtils.min(byte[]) as noted in LANG-289
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@467477 13f79535-47bb-0310-9956-ffa450edef68
2006-10-24 20:51:08 +00:00
Henri Yandell c1fad46c4c Adding in Holger and Stepan's names. I guess I should be doing this each time I apply a patch
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@467468 13f79535-47bb-0310-9956-ffa450edef68
2006-10-24 20:31:46 +00:00
Henri Yandell 285fc07c5a Applying optimisation from LANG-287. Thanks to Stepan Koltsov and Holger Hoffstatte.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@467467 13f79535-47bb-0310-9956-ffa450edef68
2006-10-24 20:29:44 +00:00
Henri Yandell 10bdedc90b Taking a stab at adding information on a Lang and Java 5.0 enum comparison
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@466285 13f79535-47bb-0310-9956-ffa450edef68
2006-10-20 22:36:21 +00:00
Henri Yandell fd206080b0 Adding note that using switch is not type-safe
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@466275 13f79535-47bb-0310-9956-ffa450edef68
2006-10-20 22:02:34 +00:00
Henri Yandell 94530f113e Refactored duration tests to make it simpler to add new ones. Added a few edge cases to test the replacement for the += 31 code
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@454427 13f79535-47bb-0310-9956-ffa450edef68
2006-10-09 16:57:28 +00:00
Henri Yandell 25ef9a58cb formetted to formatted - typo fix
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@454426 13f79535-47bb-0310-9956-ffa450edef68
2006-10-09 16:56:49 +00:00
Henri Yandell 1d5c03fac6 Adding a unit test for #LANG-281 and a fix. The fix involves removing the reduceAndCorrect method. It appears that this method was doing sod all - which is worrying as it used to be important. I'm guessing that it was a bad fix for a bug that was then subsequently fixed with other code. I'll create a JIRA issue to create more tests to test out the +31 block of code.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@453818 13f79535-47bb-0310-9956-ffa450edef68
2006-10-07 00:22:42 +00:00
Henri Yandell e91541fcbd Adding details of 2.2 release
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@452972 13f79535-47bb-0310-9956-ffa450edef68
2006-10-04 18:51:33 +00:00
Gary D. Gregory 5e864d372f // comments.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@451406 13f79535-47bb-0310-9956-ffa450edef68
2006-09-29 19:56:41 +00:00
Henri Yandell 320b0b259c Applying patch from Will Pugh in #LANG-268 - Addition of new variants of the join method.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@451394 13f79535-47bb-0310-9956-ffa450edef68
2006-09-29 19:20:03 +00:00
Henri Yandell c12c571215 Merging r451373 over from the https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/branches/LANG_2_2_X: Removing sourceModifications block as it does not appear to be doing anything for us. Also removing the aspect and integration tags as they are also unused.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@451374 13f79535-47bb-0310-9956-ffa450edef68
2006-09-29 18:17:09 +00:00
Henri Yandell ffc34e601f Merging r450528 from https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/branches/LANG_2_2_X - roll back the cobertura plugin
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@450529 13f79535-47bb-0310-9956-ffa450edef68
2006-09-27 18:05:05 +00:00
Henri Yandell 12771ff99d Merging 450521 over from https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/branches/LANG_2_2_X - urls added for the jira keys in the upgrade notes
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@450522 13f79535-47bb-0310-9956-ffa450edef68
2006-09-27 17:52:40 +00:00
Henri Yandell c1fe78ffa1 Applying -r449108:449370 from the LANG_2_2_X branch to the trunk
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@449372 13f79535-47bb-0310-9956-ffa450edef68
2006-09-24 07:01:49 +00:00
Henri Yandell 565888466c Folding r448470 in from the LANG_2_2_X release branch - builds javadoc/sources jars
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@448471 13f79535-47bb-0310-9956-ffa450edef68
2006-09-21 06:11:38 +00:00
Henri Yandell 58069b3d2a Folding r448432 in from the LANG_2_2_X release branch
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@448433 13f79535-47bb-0310-9956-ffa450edef68
2006-09-21 02:15:43 +00:00
Gary D. Gregory c51cba098e The parameter object is hiding a field from type ToStringBuilder.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@448263 13f79535-47bb-0310-9956-ffa450edef68
2006-09-20 16:53:53 +00:00
Henri Yandell 4f3b6e55f8 Removing dumb mistake
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@448056 13f79535-47bb-0310-9956-ffa450edef68
2006-09-20 04:31:39 +00:00
Henri Yandell 57964fe0e9 Tagging 2.2-rc1
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@448054 13f79535-47bb-0310-9956-ffa450edef68
2006-09-20 04:31:04 +00:00
Henri Yandell 0d3658d7fb Applied the optimisations to the join(Iterator, x) methods that Stepan Koltsov included in his patch for #LANG-266.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@448015 13f79535-47bb-0310-9956-ffa450edef68
2006-09-19 23:45:14 +00:00
Henri Yandell 57f8eb522e Appying the wished for join(Collection, x) method from Stepan Koltsov in #LANG-266
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@448006 13f79535-47bb-0310-9956-ffa450edef68
2006-09-19 22:55:00 +00:00
Henri Yandell 22f9c428e3 Removing a few lines ending with whitespace. Very trivial commit
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@448002 13f79535-47bb-0310-9956-ffa450edef68
2006-09-19 22:42:11 +00:00
Gary D. Gregory b33bbaa7c8 HashCodeBuilder throws java.lang.StackOverflowError when an object contains a cycle.
https://issues.apache.org/jira/browse/LANG-279

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@447989 13f79535-47bb-0310-9956-ffa450edef68
2006-09-19 21:58:11 +00:00
Henri Yandell 116463ba4f Applying requested fix from Neil Redway in #LANG-262
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@447975 13f79535-47bb-0310-9956-ffa450edef68
2006-09-19 21:20:56 +00:00
Henri Yandell 9926c441ae Moving trunk to 2.3-SNAPSHOT so we can start working on such things
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@447964 13f79535-47bb-0310-9956-ffa450edef68
2006-09-19 20:48:58 +00:00
Gary D. Gregory d032bda7e5 https://issues.apache.org/jira/browse/LANG-279
HashCodeBuilder throws java.lang.StackOverflowError when an object contains a cycle.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@447947 13f79535-47bb-0310-9956-ffa450edef68
2006-09-19 20:20:06 +00:00
Henri Yandell 4917cb719f Setting version to 2.2-rc1 in preparation for a release candidate
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@447919 13f79535-47bb-0310-9956-ffa450edef68
2006-09-19 17:27:23 +00:00
Henri Yandell ca9a70f6db Setting version to 2.2-rc1 in preparation for a release candidate
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@447918 13f79535-47bb-0310-9956-ffa450edef68
2006-09-19 17:27:18 +00:00
Henri Yandell 4b25008ec5 #LANG-59 fails under JDK 1.3, so much as with the earlier code in this class, I've modified it so that it only runs with 1.4 and above. A warning is output, and I improved the other warning message at the same time.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@447778 13f79535-47bb-0310-9956-ffa450edef68
2006-09-19 08:18:02 +00:00
Henri Yandell 8c71182f37 Added a short bit of blurb about the text package
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@447776 13f79535-47bb-0310-9956-ffa450edef68
2006-09-19 08:00:32 +00:00
Henri Yandell e0c25af499 Added methods back in that were lost in r397016 (my fault). Testing with jardiff again, there are now no removed or changed methods - in keeping with a minor release.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@447139 13f79535-47bb-0310-9956-ffa450edef68
2006-09-17 20:36:53 +00:00
Henri Yandell 066873b5c2 Used jardiff to discover a couple of removed methods - need to find out why they were removed. Comparison of the land-2.1 tag shows that there have been no new deprecations.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@447023 13f79535-47bb-0310-9956-ffa450edef68
2006-09-17 08:18:08 +00:00
Henri Yandell 838d27ab68 Improvements to the documentation for the 2.2 release. Added in the upgrade page (empty until the release notes are complete), changed users/developers guide to user/developer guide, and added the text package to the user guide.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@447022 13f79535-47bb-0310-9956-ffa450edef68
2006-09-17 08:00:26 +00:00
Henri Yandell 6c33df75fa The new features were really improvemens, so might as well get rid of the unnecessary split
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@443527 13f79535-47bb-0310-9956-ffa450edef68
2006-09-15 00:10:40 +00:00
Henri Yandell 2a625ee3ee Used the release notes feature of jira to generate a list of bugs, new features and improvements.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@443526 13f79535-47bb-0310-9956-ffa450edef68
2006-09-15 00:02:55 +00:00
Henri Yandell ba57d261f1 Fixing javadoc example and adding a unit test to prove the example; as reported in #LANG-278
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@442618 13f79535-47bb-0310-9956-ffa450edef68
2006-09-12 15:29:31 +00:00