Commit Graph

1962 Commits

Author SHA1 Message Date
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
Henri Yandell 66704164a0 Fixed javadoc typo as mentioned in #LANG-258
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@441929 13f79535-47bb-0310-9956-ffa450edef68
2006-09-10 08:04:17 +00:00
Henri Yandell a3c7d37d22 Killing the 'next version' part of the user guide. It's the wrong place for that kind of information I think
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@441925 13f79535-47bb-0310-9956-ffa450edef68
2006-09-10 07:56:35 +00:00
Henri Yandell 3cf53fd4d8 Update the text section - though not with much of value. Need to talk about the classes here.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@441924 13f79535-47bb-0310-9956-ffa450edef68
2006-09-10 07:55:54 +00:00
Henri Yandell 462a89b82e Fixed 2nd javadoc bug mentioned in #LANG-277 and added more unit tests to match the javadoc examples
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@438574 13f79535-47bb-0310-9956-ffa450edef68
2006-08-30 18:22:12 +00:00
Gary D. Gregory d829770690 Fix XML comment from a previous commit.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@437756 13f79535-47bb-0310-9956-ffa450edef68
2006-08-28 17:20:17 +00:00
Henri Yandell 4aa2a0ae6a Fixing license header
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@437556 13f79535-47bb-0310-9956-ffa450edef68
2006-08-28 06:23:26 +00:00
Henri Yandell e4ff29dc98 Fixing license header
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@437555 13f79535-47bb-0310-9956-ffa450edef68
2006-08-28 06:22:54 +00:00
Henri Yandell a5a4f9067a Fixing the ASF copyright and placing it in the NOTICE file
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@437554 13f79535-47bb-0310-9956-ffa450edef68
2006-08-28 06:21:41 +00:00
Gary D. Gregory 447c1b4225 Updated Copyrights to 2006.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@437239 13f79535-47bb-0310-9956-ffa450edef68
2006-08-26 22:07:15 +00:00
Gary D. Gregory 513d128773 Change "Copyright ....-2005" to "Copyright ....-2006"
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@437238 13f79535-47bb-0310-9956-ffa450edef68
2006-08-26 21:54:21 +00:00
Gary D. Gregory 30a547ddc1 Change "Copyright ....-2005" to "Copyright ....-2006"
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@437237 13f79535-47bb-0310-9956-ffa450edef68
2006-08-26 21:52:47 +00:00
Henri Yandell 8251419864 Updating to 2.2 release
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@436674 13f79535-47bb-0310-9956-ffa450edef68
2006-08-25 06:27:16 +00:00
Henri Yandell 5290bee389 Added test for StopWatch.toSplitString
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@436673 13f79535-47bb-0310-9956-ffa450edef68
2006-08-25 06:27:02 +00:00
Henri Yandell 62bf5bfcb0 Added unit test to enforce the existence of the empty constructor
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@436670 13f79535-47bb-0310-9956-ffa450edef68
2006-08-25 06:11:47 +00:00
Henri Yandell 95e3fccc98 Set the milliseconds to 0 to stop unit tests sometimes failing. Thanks Jörg
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@433527 13f79535-47bb-0310-9956-ffa450edef68
2006-08-22 05:46:45 +00:00
Stephen Colebourne 07b7795b33 LANG-259 - Fix compareTo to check the type is the same
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@432748 13f79535-47bb-0310-9956-ffa450edef68
2006-08-18 22:21:47 +00:00
Stephen Colebourne d9c6932a6e Ensure classes are the same in Enum.compareTo
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@432703 13f79535-47bb-0310-9956-ffa450edef68
2006-08-18 19:51:26 +00:00