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 |
Stephen Colebourne
|
d739c20675
|
Added even more ideas
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137128 13f79535-47bb-0310-9956-ffa450edef68
|
2002-11-14 22:01:27 +00:00 |
Stephen Colebourne
|
94318c7e60
|
Javadoc improvements.
Finish renaming of Command to Executor.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137127 13f79535-47bb-0310-9956-ffa450edef68
|
2002-11-14 21:54:49 +00:00 |
Stephen Colebourne
|
f2e2fdbb21
|
Javadoc error and clarification, from Martin Cooper.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137126 13f79535-47bb-0310-9956-ffa450edef68
|
2002-11-14 21:52:14 +00:00 |
Robert Burrell Donkin
|
7b38db1c30
|
Added unit tests for MethodUtils copied from the beanutils component.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137125 13f79535-47bb-0310-9956-ffa450edef68
|
2002-11-14 18:53:36 +00:00 |
Robert Burrell Donkin
|
4914d5c807
|
Updated method utils with latest code from the beanutils version.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137124 13f79535-47bb-0310-9956-ffa450edef68
|
2002-11-14 18:51:57 +00:00 |
Robert Burrell Donkin
|
15508a27a2
|
Made a start on documentation for reflect.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137123 13f79535-47bb-0310-9956-ffa450edef68
|
2002-11-14 18:50:59 +00:00 |
Henri Yandell
|
4c236996fa
|
Some of the modifications Stephen wants.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137122 13f79535-47bb-0310-9956-ffa450edef68
|
2002-11-12 22:36:59 +00:00 |
Henri Yandell
|
dfac194424
|
Notifier is a class which makes handling an event-listener queue a lot easier.
It throws the exception when the notify fails.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137121 13f79535-47bb-0310-9956-ffa450edef68
|
2002-11-12 03:01:05 +00:00 |
Henri Yandell
|
864c478a4d
|
Removed unused UPPER_FOO variable.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137120 13f79535-47bb-0310-9956-ffa450edef68
|
2002-11-07 21:52:44 +00:00 |
Henri Yandell
|
65c6b7643b
|
Added Robert [HA, you're in now] and set an id for Steven [guessed it anyway].
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137119 13f79535-47bb-0310-9956-ffa450edef68
|
2002-11-07 20:06:20 +00:00 |
Robert Burrell Donkin
|
9306b04cf1
|
Added myself as a committer before starting serious work on MethodUtils
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137118 13f79535-47bb-0310-9956-ffa450edef68
|
2002-11-07 19:13:26 +00:00 |
Henri Yandell
|
1cb025f0c0
|
NumberRange.getMaximum returns the minimum, not the maximum.
Test added to verify this, and then the bug fixed.
SUBMITTED-BY: Kasper R�nning
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137117 13f79535-47bb-0310-9956-ffa450edef68
|
2002-11-07 16:59:44 +00:00 |
Henri Yandell
|
96a4ec95a7
|
Closure renamed to Executor
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137116 13f79535-47bb-0310-9956-ffa450edef68
|
2002-11-06 19:16:33 +00:00 |
Henri Yandell
|
29eb9686b6
|
And a new name. Until it gets changed.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137115 13f79535-47bb-0310-9956-ffa450edef68
|
2002-11-06 19:15:40 +00:00 |
Henri Yandell
|
27c8d12495
|
getCause is 1.4 specific. Have replaced with getException.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137114 13f79535-47bb-0310-9956-ffa450edef68
|
2002-11-06 19:14:43 +00:00 |
Henri Yandell
|
80f68cc0c4
|
Closure deemed to be a bad name. Bye bye.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137113 13f79535-47bb-0310-9956-ffa450edef68
|
2002-11-06 19:09:00 +00:00 |
Henri Yandell
|
8ebe30ba30
|
Integrated the new functor package
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137112 13f79535-47bb-0310-9956-ffa450edef68
|
2002-11-05 16:45:45 +00:00 |
Henri Yandell
|
6762e2b439
|
Transfer of Patterns code over to Lang
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137111 13f79535-47bb-0310-9956-ffa450edef68
|
2002-11-05 16:45:13 +00:00 |
Henri Yandell
|
985f8a6235
|
Transfer of some of Patterns over to Lang.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137110 13f79535-47bb-0310-9956-ffa450edef68
|
2002-11-05 16:44:28 +00:00 |
Stephen Colebourne
|
b0d8436ce8
|
Test to ensure that duplicate enums cannot be created
Test to ensure that null and blank strings cannot be created
Bug found by Howard Lewis Ship
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137109 13f79535-47bb-0310-9956-ffa450edef68
|
2002-11-02 13:17:06 +00:00 |
Stephen Colebourne
|
f44c297fa2
|
Ensure that duplicate enums cannot be created
Bug found by Howard Lewis Ship
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137108 13f79535-47bb-0310-9956-ffa450edef68
|
2002-11-02 13:16:30 +00:00 |
Henri Yandell
|
b4df69ccc3
|
Fixed the example in the javadoc so it compiles.
Submitted by: Janek Bogucki
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137107 13f79535-47bb-0310-9956-ffa450edef68
|
2002-11-01 16:40:41 +00:00 |
Stephen Colebourne
|
778d8d5828
|
Fix to be JDK1.2 compliant
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137106 13f79535-47bb-0310-9956-ffa450edef68
|
2002-10-30 21:58:18 +00:00 |
Stephen Colebourne
|
a8df3d5a93
|
Fix javadoc due to method sig change. Spotted by Mike Miller
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137105 13f79535-47bb-0310-9956-ffa450edef68
|
2002-10-30 21:31:13 +00:00 |
Henri Yandell
|
73cfd9787c
|
Javadoc fix, submitted by Ville Skytta.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137104 13f79535-47bb-0310-9956-ffa450edef68
|
2002-10-29 19:47:02 +00:00 |
Henri Yandell
|
04533a9268
|
Added isWhitespace, isTrue and uncapitaliseAllWords methods and tests.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137103 13f79535-47bb-0310-9956-ffa450edef68
|
2002-10-28 04:33:29 +00:00 |
Henri Yandell
|
b556203db7
|
Changed the signature of StringUtils.defaultString(String,String) and (String) to (Object, String) and (Object).
A note needs to be made in the next release that code using defaultString
needs to be recompiled else it will grumble.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137102 13f79535-47bb-0310-9956-ffa450edef68
|
2002-10-27 19:42:04 +00:00 |
Stephen Colebourne
|
870097e4b1
|
Initial checkin of reflection code (not all working)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137101 13f79535-47bb-0310-9956-ffa450edef68
|
2002-10-24 23:12:54 +00:00 |
Henri Yandell
|
d86483672f
|
Javadoc fixing patch applied form Fredrik Westermark
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137100 13f79535-47bb-0310-9956-ffa450edef68
|
2002-10-19 17:18:49 +00:00 |
Stephen Colebourne
|
601c2e13e9
|
Initial version of ArrayUtils testing, testing incomplete at present
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137099 13f79535-47bb-0310-9956-ffa450edef68
|
2002-10-13 22:42:59 +00:00 |
Stephen Colebourne
|
d31f3d3f8a
|
Initial version of ArrayUtils, includes toMap
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137098 13f79535-47bb-0310-9956-ffa450edef68
|
2002-10-13 22:42:06 +00:00 |
Sean Sullivan
|
1ad5019544
|
added test code for Map keySet size and List size
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137097 13f79535-47bb-0310-9956-ffa450edef68
|
2002-10-13 18:42:06 +00:00 |
Sean Sullivan
|
b759cf0bc6
|
made fix for bug id 13527
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13527
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137096 13f79535-47bb-0310-9956-ffa450edef68
|
2002-10-13 17:57:10 +00:00 |
Sean Sullivan
|
6faef5d8f0
|
cleaned up exception handling in the serialization test code
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137095 13f79535-47bb-0310-9956-ffa450edef68
|
2002-10-09 17:20:44 +00:00 |
Sean Sullivan
|
6200e1369f
|
this class now implements java.io.Serializable
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137094 13f79535-47bb-0310-9956-ffa450edef68
|
2002-10-09 05:29:52 +00:00 |
Sean Sullivan
|
fe4b0dd5ce
|
added test code for serialization / deserialization
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137093 13f79535-47bb-0310-9956-ffa450edef68
|
2002-10-09 05:28:53 +00:00 |
Sean Sullivan
|
de4f94e5ba
|
changed variable declaration: java.util.LinkedList to java.util.List
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137092 13f79535-47bb-0310-9956-ffa450edef68
|
2002-10-09 04:35:03 +00:00 |