Henri Yandell
|
3d82f12dbd
|
CalendarUtils from the sandbox, for merger with DateUtils. Or parallel living.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137190 13f79535-47bb-0310-9956-ffa450edef68
|
2002-12-16 21:55:20 +00:00 |
Henri Yandell
|
26c6a7c28f
|
A DateUtils class from Ant. Still needs lots of thinking etc, but might as
well be doing these things in the cvs head as we're not near an obvious release.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137189 13f79535-47bb-0310-9956-ffa450edef68
|
2002-12-16 21:48:41 +00:00 |
Stephen Colebourne
|
89959e286b
|
Update to latest status of lang
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137188 13f79535-47bb-0310-9956-ffa450edef68
|
2002-12-15 19:36:41 +00:00 |
Stephen Colebourne
|
184c0b4d2e
|
Test the ClassUtils class
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137187 13f79535-47bb-0310-9956-ffa450edef68
|
2002-12-15 19:36:08 +00:00 |
Stephen Colebourne
|
ecc344fabe
|
Make compile after ClassUtils method changed
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137186 13f79535-47bb-0310-9956-ffa450edef68
|
2002-12-15 19:34:34 +00:00 |
Stephen Colebourne
|
ee92780447
|
Try to give the test a better chance of passing on slow CPUs
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137185 13f79535-47bb-0310-9956-ffa450edef68
|
2002-12-15 17:03:41 +00:00 |
Stephen Colebourne
|
f6a7697d25
|
Add BooleanUtils with lots of boolean conversions
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137184 13f79535-47bb-0310-9956-ffa450edef68
|
2002-12-15 16:55:32 +00:00 |
Stephen Colebourne
|
31bf101e02
|
Remove isTrue to BooleanUtils
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137183 13f79535-47bb-0310-9956-ffa450edef68
|
2002-12-15 16:54:23 +00:00 |
Stephen Colebourne
|
24bc34a7af
|
Add constants for standard numeric values
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137182 13f79535-47bb-0310-9956-ffa450edef68
|
2002-12-15 16:53:28 +00:00 |
Stephen Colebourne
|
925d554e92
|
Correct javadoc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137181 13f79535-47bb-0310-9956-ffa450edef68
|
2002-12-15 15:00:46 +00:00 |
Stephen Colebourne
|
01fd4c6fab
|
Change so they compile under jdk1.2.1
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137180 13f79535-47bb-0310-9956-ffa450edef68
|
2002-12-15 12:30:44 +00:00 |
Stephen Colebourne
|
2bc43c9abb
|
Add Validate class for argument validation
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137179 13f79535-47bb-0310-9956-ffa450edef68
|
2002-12-13 17:21:56 +00:00 |
Robert Burrell Donkin
|
b91dfd1a2c
|
Consolidated methods.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137178 13f79535-47bb-0310-9956-ffa450edef68
|
2002-12-10 19:06:49 +00:00 |
Stephen Colebourne
|
5003e9c501
|
Add support for calling superclass compareTo
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137177 13f79535-47bb-0310-9956-ffa450edef68
|
2002-12-08 21:43:34 +00:00 |
Stephen Colebourne
|
19248809e7
|
Rework to support nulls properly
Add support for comparators
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137176 13f79535-47bb-0310-9956-ffa450edef68
|
2002-12-08 21:38:19 +00:00 |
Stephen Colebourne
|
3129990f42
|
Add ability to build compound hashCode using superclass
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137175 13f79535-47bb-0310-9956-ffa450edef68
|
2002-12-08 21:22:42 +00:00 |
Stephen Colebourne
|
bd5f9fc92a
|
Add ability to build compound equals using superclass
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137174 13f79535-47bb-0310-9956-ffa450edef68
|
2002-12-08 21:10:42 +00:00 |
Stephen Colebourne
|
ecb4235c77
|
Add ability to build compound toStrings using superclass and delegates
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137173 13f79535-47bb-0310-9956-ffa450edef68
|
2002-12-08 20:48:46 +00:00 |
Stephen Colebourne
|
a2fd090995
|
Keep javadoc generation happy
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137172 13f79535-47bb-0310-9956-ffa450edef68
|
2002-12-08 16:18:39 +00:00 |
Stephen Colebourne
|
7e42641cce
|
Remove Hen's personal settings (!)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137171 13f79535-47bb-0310-9956-ffa450edef68
|
2002-12-08 16:06:30 +00:00 |
Henri Yandell
|
f9e7f0e58f
|
Updated version from 1.0 to 1.1-dev.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137170 13f79535-47bb-0310-9956-ffa450edef68
|
2002-12-07 21:52:19 +00:00 |
Henri Yandell
|
3e88bc3ca5
|
Added the StringUtils.unescape method, UnitTest and STATUS change.
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137169 13f79535-47bb-0310-9956-ffa450edef68
|
2002-12-07 21:50:30 +00:00 |
Henri Yandell
|
f682f4b0f0
|
Added a the fix for bug #14883.
Submitted-by: Thomas Hawtin [tackline@tackline.demon.co.uk]
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137168 13f79535-47bb-0310-9956-ffa450edef68
|
2002-11-27 22:54:29 +00:00 |
Henri Yandell
|
8846220cf5
|
Added a unit test to show the bugs in bug #14883 for countMatches method
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137167 13f79535-47bb-0310-9956-ffa450edef68
|
2002-11-27 22:53:48 +00:00 |
Henri Yandell
|
21ff810b47
|
Bugfix, classic this.foo = this.foo error.
Noticed by Andy Freeman.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137166 13f79535-47bb-0310-9956-ffa450edef68
|
2002-11-25 17:35:57 +00:00 |
Stephen Colebourne
|
6b8ba82f14
|
Add reverse to ArrayUtils
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137165 13f79535-47bb-0310-9956-ffa450edef68
|
2002-11-24 16:50:38 +00:00 |
Henri Yandell
|
28f37f2b4d
|
Added the second fix from Mark McDowell [mcdoma@ncs.com] for bug #14062
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137160 13f79535-47bb-0310-9956-ffa450edef68
|
2002-11-23 00:54:24 +00:00 |
Henri Yandell
|
de74831603
|
So my test was wrong. I was using the split method wrongly.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137159 13f79535-47bb-0310-9956-ffa450edef68
|
2002-11-23 00:51:34 +00:00 |
Henri Yandell
|
9d3dc97c25
|
Added unit test to detect bug # 14062.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137158 13f79535-47bb-0310-9956-ffa450edef68
|
2002-11-23 00:41:19 +00:00 |
Henri Yandell
|
e19abe9bc3
|
Threw in a test for newline replacement. This was a problem in String Taglib and having this test let me know it wasn't the fault of StringUtils.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137157 13f79535-47bb-0310-9956-ffa450edef68
|
2002-11-22 23:33:34 +00:00 |
Henri Yandell
|
dd1a5f5d69
|
Surprisingly the isJavaVersionAtLeast was not static. I can't see any reason for this and have fixed it.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137156 13f79535-47bb-0310-9956-ffa450edef68
|
2002-11-22 23:32:45 +00:00 |
Henri Yandell
|
8b1532bd3a
|
Protected a Number test so it only runs in 1.3+. I suspect the JDK doesn't support the type of number we're throwing at it in 1.2: "1.1E-700F" to BigDecimal.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137154 13f79535-47bb-0310-9956-ffa450edef68
|
2002-11-22 23:30:32 +00:00 |
Henri Yandell
|
3a3889bebc
|
And moved bakc to 1.3 until I can figure out how to make them work at 1.2. Code appears to try to modify them?!?
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137150 13f79535-47bb-0310-9956-ffa450edef68
|
2002-11-22 23:11:58 +00:00 |
Henri Yandell
|
d0fed98d52
|
Added JDK 1.2 compliant EMPTY_MAPs
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137149 13f79535-47bb-0310-9956-ffa450edef68
|
2002-11-22 22:52:40 +00:00 |
Henri Yandell
|
d5fd07f877
|
Put Stephen's privates back. He hadn't needed to take them out.
[Okay, the humour is killing me].
Added this.'s in front of the methods in each constructor.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137148 13f79535-47bb-0310-9956-ffa450edef68
|
2002-11-22 22:52:17 +00:00 |
Stephen Colebourne
|
6c37e6f682
|
Changed inner classes to be package scoped for JDK 1.2
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137147 13f79535-47bb-0310-9956-ffa450edef68
|
2002-11-22 21:16:24 +00:00 |
Robert Burrell Donkin
|
3e9065d2df
|
Make MethodUtils depend on ReflectionUtils parameter set comparasons
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137142 13f79535-47bb-0310-9956-ffa450edef68
|
2002-11-21 19:38:51 +00:00 |
Robert Burrell Donkin
|
4f24da86c7
|
Converted invokeMethod to use ReflectionExceptions
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137141 13f79535-47bb-0310-9956-ffa450edef68
|
2002-11-21 18:53:32 +00:00 |
Robert Burrell Donkin
|
f9ad966250
|
Corrected speiling mistake spotted by Jeff Varszegi.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137140 13f79535-47bb-0310-9956-ffa450edef68
|
2002-11-20 22:31:40 +00:00 |
Robert Burrell Donkin
|
0cc87fe88d
|
Moved isAssignmentCompatable method from MethodUtils into ReflectionUtils and renamed it. Enhanced existing isCompatible so that widening of primitives is allowed. Created test case for moved method.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137139 13f79535-47bb-0310-9956-ffa450edef68
|
2002-11-20 21:45:47 +00:00 |
Robert Burrell Donkin
|
b991b3f973
|
Fixed small bug and created test case
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137138 13f79535-47bb-0310-9956-ffa450edef68
|
2002-11-18 23:01:36 +00:00 |
Robert Burrell Donkin
|
0363b6f7d3
|
Turned debug constant off.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137137 13f79535-47bb-0310-9956-ffa450edef68
|
2002-11-18 23:00:26 +00:00 |
Robert Burrell Donkin
|
dd87113102
|
Remove invokeExactMethod. Going to consolidate on one inokeMethod that considers superclasses and doesn't break scope rules.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137136 13f79535-47bb-0310-9956-ffa450edef68
|
2002-11-18 22:18:44 +00:00 |
Stephen Colebourne
|
97883eec49
|
Javadoc style fix, from Fredrik Westermarck
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137135 13f79535-47bb-0310-9956-ffa450edef68
|
2002-11-17 21:46:42 +00:00 |
Stephen Colebourne
|
7184f0650c
|
Add to ArrayUtils and test it
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137134 13f79535-47bb-0310-9956-ffa450edef68
|
2002-11-16 12:56:44 +00:00 |
Stephen Colebourne
|
7477a1e08f
|
Javadoc formatting patch, by Fredrik Westermarck
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137133 13f79535-47bb-0310-9956-ffa450edef68
|
2002-11-16 10:41:03 +00:00 |
Stephen Colebourne
|
c248c060c6
|
Javadoc fixes, from Fredrik Westermarck
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137132 13f79535-47bb-0310-9956-ffa450edef68
|
2002-11-15 00:25:45 +00:00 |
Stephen Colebourne
|
c32f83c7bb
|
Add more TODOs
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137131 13f79535-47bb-0310-9956-ffa450edef68
|
2002-11-15 00:07:26 +00:00 |
Stephen Colebourne
|
4564bf1761
|
Change the isTrue() method to cope with strings case insensitively
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137130 13f79535-47bb-0310-9956-ffa450edef68
|
2002-11-15 00:06:40 +00:00 |
Stephen Colebourne
|
ce3c7cc62f
|
Javadoc fixes, from Fredrik Westermarck
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137129 13f79535-47bb-0310-9956-ffa450edef68
|
2002-11-14 22:29:25 +00:00 |