Stephen Colebourne
0f2ba8cea3
Fix javadoc example
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@492378 13f79535-47bb-0310-9956-ffa450edef68
2007-01-04 01:31:24 +00:00
Stephen Colebourne
183e837907
LANG-275 - StringUtils substringsBetween, implemented by Dave Meikle
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@492377 13f79535-47bb-0310-9956-ffa450edef68
2007-01-04 01:20:30 +00:00
Stephen Colebourne
80cd41f238
Add since tags
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@492371 13f79535-47bb-0310-9956-ffa450edef68
2007-01-04 00:42:05 +00:00
Stephen Colebourne
da8646f9c9
LANG-306 - StrBuilder appendln/appendAll/appendSeparator
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@492369 13f79535-47bb-0310-9956-ffa450edef68
2007-01-04 00:35:45 +00:00
Stephen Colebourne
de6e073727
LANG-310 - BooleanUtils isNotTrue/isNotFalse
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@492361 13f79535-47bb-0310-9956-ffa450edef68
2007-01-04 00:10:13 +00:00
Stephen Colebourne
53a8f5b28a
Formatting changes only
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@492354 13f79535-47bb-0310-9956-ffa450edef68
2007-01-03 23:48:10 +00:00
Stephen Colebourne
4c7e393d46
Formatting changes only
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@492352 13f79535-47bb-0310-9956-ffa450edef68
2007-01-03 23:44:56 +00:00
Henri Yandell
a1cf642b8d
LANG-102 was fixed
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@492037 13f79535-47bb-0310-9956-ffa450edef68
2007-01-03 03:49:09 +00:00
Henri Yandell
cd6d6bb580
Fixing version number in nav
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@492003 13f79535-47bb-0310-9956-ffa450edef68
2007-01-03 01:37:27 +00:00
Henri Yandell
72836376f5
Putting Cobertura back, hadn't known we still had it hooked up
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@491998 13f79535-47bb-0310-9956-ffa450edef68
2007-01-03 01:07:27 +00:00
Henri Yandell
e53a9eda84
Updating the site prior to a 2.3 release
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@491997 13f79535-47bb-0310-9956-ffa450edef68
2007-01-03 01:05:17 +00:00
Henri Yandell
b6f00de7be
Removed the tasks page and put the two enhancements there into JIRA, losing the other two (build improvement and creation of an example site)
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@491958 13f79535-47bb-0310-9956-ffa450edef68
2007-01-02 22:50:12 +00:00
Henri Yandell
8898f28898
Don't get the point of 'dist' and 'dist-build' being separate, so merging them
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@491956 13f79535-47bb-0310-9956-ffa450edef68
2007-01-02 22:47:03 +00:00
Henri Yandell
538502165b
jardiff/clirr passes for 2.2->2.3. No new deprecations in 2.3
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@491950 13f79535-47bb-0310-9956-ffa450edef68
2007-01-02 22:37:56 +00:00
Phil Steitz
ab29453ec2
Fixed incorrect JDK API link.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@491757 13f79535-47bb-0310-9956-ffa450edef68
2007-01-02 07:50:12 +00:00
Gary D. Gregory
0e07a3b099
[LANG-102] [lang] Refactor Entities methods.
...
http://issues.apache.org/jira/browse/LANG-102 .
Refactored escape and unescape methods to remove code duplication.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@491695 13f79535-47bb-0310-9956-ffa450edef68
2007-01-01 23:24:27 +00:00
Gary D. Gregory
a1dcdfa2a6
Statement unnecessarily nested within else clause. The corresponding then clause does not complete normally.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@491654 13f79535-47bb-0310-9956-ffa450edef68
2007-01-01 22:04:34 +00:00
Gary D. Gregory
fec5e2dc3d
Statement unnecessarily nested within else clause. The corresponding then clause does not complete normally.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@491653 13f79535-47bb-0310-9956-ffa450edef68
2007-01-01 22:03:58 +00:00
Gary D. Gregory
fda25d2a8b
Statement unnecessarily nested within else clause. The corresponding then clause does not complete normally.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@491652 13f79535-47bb-0310-9956-ffa450edef68
2007-01-01 22:01:57 +00:00
Gary D. Gregory
b091a374a7
Statement unnecessarily nested within else clause. The corresponding then clause does not complete normally.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@491651 13f79535-47bb-0310-9956-ffa450edef68
2007-01-01 22:01:32 +00:00
Gary D. Gregory
627392e88d
Statement unnecessarily nested within else clause. The corresponding then clause does not complete normally.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@491650 13f79535-47bb-0310-9956-ffa450edef68
2007-01-01 22:00:14 +00:00
Gary D. Gregory
8dbeaa63e2
Update Copyright for 2007.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@491646 13f79535-47bb-0310-9956-ffa450edef68
2007-01-01 21:54:23 +00:00
Gary D. Gregory
7d7b3e3877
Add missing Javadoc tags.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@491645 13f79535-47bb-0310-9956-ffa450edef68
2007-01-01 21:51:30 +00:00
Henri Yandell
a17bdf3a36
Adding bugfixes and improvements from JIRA
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@491129 13f79535-47bb-0310-9956-ffa450edef68
2006-12-29 23:08:49 +00:00
Henri Yandell
9425150104
Rolling back r467482 as the methods are already in java.util.Arrays. These were added as a part of #LANG-238.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@491076 13f79535-47bb-0310-9956-ffa450edef68
2006-12-29 18:48:37 +00:00
Henri Yandell
65cc70a5c4
Rolling back r490355 - StrBuilder implements Cloneable again
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@491073 13f79535-47bb-0310-9956-ffa450edef68
2006-12-29 18:42:08 +00:00
Stephen Colebourne
640d7cf079
LANG-301 - Document cloneReset()
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@491063 13f79535-47bb-0310-9956-ffa450edef68
2006-12-29 17:55:32 +00:00
Stephen Colebourne
a9ff534b36
Fix javadoc link
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@491059 13f79535-47bb-0310-9956-ffa450edef68
2006-12-29 17:44:59 +00:00
Stephen Colebourne
37b2a3f215
Avoid new Boolean() via BooleanUtils
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@491052 13f79535-47bb-0310-9956-ffa450edef68
2006-12-29 17:16:37 +00:00
Stephen Colebourne
f40b71e33d
LANG-291 - Move min/max methods above inner class, add javadoc and format
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@491050 13f79535-47bb-0310-9956-ffa450edef68
2006-12-29 17:04:00 +00:00
Henri Yandell
6847ebcf5e
Improved #LANG-303 test to prove the formatting works on each side of the serializing
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@490388 13f79535-47bb-0310-9956-ffa450edef68
2006-12-26 22:10:10 +00:00
Henri Yandell
e9e167f9eb
Applying test for #LANG-303, and a fix.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@490387 13f79535-47bb-0310-9956-ffa450edef68
2006-12-26 22:05:47 +00:00
Henri Yandell
c47d6ce534
Removed some commented out reports; added a commented out findbugs report
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@490385 13f79535-47bb-0310-9956-ffa450edef68
2006-12-26 22:04:27 +00:00
Henri Yandell
17f5eaed71
Starting on Lang 2.3 release notes
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@490374 13f79535-47bb-0310-9956-ffa450edef68
2006-12-26 21:23:20 +00:00
Henri Yandell
815f63670e
StrBuilder no longer implements Cloneable. #LANG-302
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@490355 13f79535-47bb-0310-9956-ffa450edef68
2006-12-26 18:58:06 +00:00
Henri Yandell
b57c699e69
Rolling back r489734 - Boolean.valueOf(boolean) only available from JDK 1.4 onwards
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@490161 13f79535-47bb-0310-9956-ffa450edef68
2006-12-25 18:57:37 +00:00
Henri Yandell
cf20d13c64
Applying test for LANG-304 and fix to LocaleUtils
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@489749 13f79535-47bb-0310-9956-ffa450edef68
2006-12-22 20:34:37 +00:00
Henri Yandell
848a8144bc
Fixed import. Also optimised list.toArray(..) to use new Token[list.size()] so that the passed in array is used and not reflection. Latter reported by FindBugs
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@489740 13f79535-47bb-0310-9956-ffa450edef68
2006-12-22 19:51:19 +00:00
Henri Yandell
5a4594cd37
new Boolean -> Boolean.valueOf. (Reported by FindBugs)
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@489734 13f79535-47bb-0310-9956-ffa450edef68
2006-12-22 19:31:28 +00:00
Henri Yandell
37875137e9
Removing the Serializable implements. As far as I can tell, Number has been serializable since at the least Java 1.2. (Reported by FindBugs)
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@489733 13f79535-47bb-0310-9956-ffa450edef68
2006-12-22 19:29:53 +00:00
Henri Yandell
03cc852bef
Added a test for the under a day range in formatPeriod
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@488929 13f79535-47bb-0310-9956-ffa450edef68
2006-12-20 06:24:00 +00:00
Henri Yandell
4f514d5eb3
More tests, more bugfixes (aka rewrite of the guts).
...
It's looking much better, the only edge case that throws it for a loop is if things start on the 29th of February in a year. I've hacked it in the day mode, but I'm not sure why I had to do that - however I trust the brute force test to be right in day mode.
In month mode, it's even trickier as to what the correct answer is. How many months between 29th Feb and 28th of Feb the next year? The answer is 11, or with days included it's 11 months and 28 days. I can't see any reason to define that better, so I'm declaring that law.
Things are weird if you start on Feb 29 :)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@488926 13f79535-47bb-0310-9956-ffa450edef68
2006-12-20 06:10:26 +00:00
Henri Yandell
381ed0c0f6
Added new tests (failing) in comments. Improved output for debugging brute force tests.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@488859 13f79535-47bb-0310-9956-ffa450edef68
2006-12-20 00:00:51 +00:00
Henri Yandell
93aa88fded
Updated comment
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@488858 13f79535-47bb-0310-9956-ffa450edef68
2006-12-19 23:59:51 +00:00
Henri Yandell
1536077409
Fixing LANG-300 (reported by Jeremy Lemaire) - 1L to 9L incorrectly throw exceptions when passed into NumberUtils.createNumber. Fixed in both the math.NumbersUtils and the deprecated NumberUtils classes.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@488819 13f79535-47bb-0310-9956-ffa450edef68
2006-12-19 21:50:04 +00:00
Henri Yandell
868dd28444
Let a few tab characters slip in - Eclipse wasn't configured yet. Replacing with spaces.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@486525 13f79535-47bb-0310-9956-ffa450edef68
2006-12-13 07:12:38 +00:00
Henri Yandell
dd23ae863a
More unit tests and bugfixes. The currently failing test is commented out, so more bugfixes to come.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@486523 13f79535-47bb-0310-9956-ffa450edef68
2006-12-13 07:09:24 +00:00
Henri Yandell
9b0b19a916
Applying a unit test for LANG-299 and the fix that Francisco Benavent suggests.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@486377 13f79535-47bb-0310-9956-ffa450edef68
2006-12-12 22:34:39 +00:00
Henri Yandell
aaaa779108
Setting the maven repo - apologies if this borks anything
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@486363 13f79535-47bb-0310-9956-ffa450edef68
2006-12-12 22:11:41 +00:00
Henri Yandell
5fb6521ab9
More tests added to DurationFormatUtilsTest and discovered bugs fixed in the DurationFormatUtils.formatPeriod method.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@485481 13f79535-47bb-0310-9956-ffa450edef68
2006-12-11 03:33:09 +00:00