Daniel Rall
c7f2404b97
Corrected semantics of ExceptionWithoutCause broken in CVS rev 1.3.
...
The point of the ExceptionWithoutCause is to test for false-positive
nested exception method signature matches. Documented this in the
header JavaDoc for both the ExceptionWithCause and
ExceptionWithoutCause classes, and changed the nested exception method
name of the latter from getCause() to getTargetException() to avoid
conflicts with getCause() method of JDK 1.4's Exception class (which
returns Throwable).
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137060 13f79535-47bb-0310-9956-ffa450edef68
2002-09-25 05:50:49 +00:00
Henri Yandell
9545c70a75
Changed my name from 'Bayard'. Yeah yeah.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137059 13f79535-47bb-0310-9956-ffa450edef68
2002-09-25 03:30:19 +00:00
Henri Yandell
e1e9aa56fe
Release notes for Lang 1.0.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137058 13f79535-47bb-0310-9956-ffa450edef68
2002-09-25 01:33:06 +00:00
Stephen Colebourne
0e07b8e599
Checkstyle fixes
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137057 13f79535-47bb-0310-9956-ffa450edef68
2002-09-22 09:18:33 +00:00
Stephen Colebourne
0d5c8690b7
Added more TODOs for CharUtils and StringBuffer
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137056 13f79535-47bb-0310-9956-ffa450edef68
2002-09-21 08:11:18 +00:00
Henri Yandell
c9b0b98cbb
Created a standard set of checkstyle properties.
...
It's still noticing RuntimeExceptions, so that part isn't working yet.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137055 13f79535-47bb-0310-9956-ffa450edef68
2002-09-21 05:16:10 +00:00
Henri Yandell
7506eb0511
Removed unused import statements.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137054 13f79535-47bb-0310-9956-ffa450edef68
2002-09-21 05:02:43 +00:00
Henri Yandell
17c61e6bd2
Enhanced documentation files. First take.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137053 13f79535-47bb-0310-9956-ffa450edef68
2002-09-21 04:22:28 +00:00
Henri Yandell
1abb2a5a3a
Added an exclude for Test classes beginning with 'Abstract'
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137052 13f79535-47bb-0310-9956-ffa450edef68
2002-09-21 04:16:37 +00:00
Stephen Colebourne
32c6231679
Superclass now specifies protected getters and setters
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137051 13f79535-47bb-0310-9956-ffa450edef68
2002-09-19 19:45:22 +00:00
Stephen Colebourne
1aded675b6
Added javadoc
...
Added protected getters and setters for fields
Made fields private
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137050 13f79535-47bb-0310-9956-ffa450edef68
2002-09-19 19:44:10 +00:00
Stephen Colebourne
4ff3b6c75c
Added some javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137049 13f79535-47bb-0310-9956-ffa450edef68
2002-09-19 19:42:59 +00:00
Henri Yandell
bcc5b99ca4
added another test and updated STATUS to confirm containsOnly is done
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137048 13f79535-47bb-0310-9956-ffa450edef68
2002-09-19 07:02:30 +00:00
Henri Yandell
d788e182bc
Patch from Fredrik Westermarck <fredrik.westermarck@mdh.se> that adds the
...
containsOnly method. I added a couple more unit tests and modified the code
slightly.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137047 13f79535-47bb-0310-9956-ffa450edef68
2002-09-19 06:58:13 +00:00
Stephen Colebourne
aeee2518e4
Remove Null placeholder singleton todo
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137046 13f79535-47bb-0310-9956-ffa450edef68
2002-09-18 20:12:43 +00:00
Stephen Colebourne
00df256006
Add test for Null placeholder singleton
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137045 13f79535-47bb-0310-9956-ffa450edef68
2002-09-18 20:12:15 +00:00
Stephen Colebourne
727c9b0fa4
Add Null placeholder singleton
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137044 13f79535-47bb-0310-9956-ffa450edef68
2002-09-18 20:11:53 +00:00
Stephen Colebourne
55ca32bd2e
Added explicit public constructor
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137043 13f79535-47bb-0310-9956-ffa450edef68
2002-09-18 19:55:32 +00:00
Henri Yandell
06ad5b4b6b
And now i'll add a comment about the public constructor.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137042 13f79535-47bb-0310-9956-ffa450edef68
2002-09-18 19:53:52 +00:00
Henri Yandell
01a6edec03
Been meaning to do this. Made the constructor public in line with StringUtils.
...
scolebourne thankfully reminded me by doing NumberUtils :)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137041 13f79535-47bb-0310-9956-ffa450edef68
2002-09-18 19:52:26 +00:00
Stephen Colebourne
410bc5a289
Removed identityToString todo
...
Removed issues
Added ArrayUtils todo
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137040 13f79535-47bb-0310-9956-ffa450edef68
2002-09-18 19:50:35 +00:00
Stephen Colebourne
46b35c49b1
Test identityToString
...
Reformat for Suns coding standards
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137039 13f79535-47bb-0310-9956-ffa450edef68
2002-09-18 19:49:47 +00:00
Stephen Colebourne
a6dfea71c6
Add identityToString
...
Make constructor public in line with NumberUtils and StringUtils
Javadoc tidy
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137038 13f79535-47bb-0310-9956-ffa450edef68
2002-09-18 19:49:08 +00:00
Steven Caswell
593e15d717
added printStackTrace(PrintStream) method to NonThrowableNestable static class to satisfy Nestable interface;
...
removed deprecated getLength() and indexOfThrowable(int,Class) methods from static test classes;
revised javadocs fof static test classes to be more accurate in describing method behavior
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137037 13f79535-47bb-0310-9956-ffa450edef68
2002-09-18 15:51:41 +00:00
Steven Caswell
8bce2df421
change getCause() ExceptionWithoutCause static class:
...
- changed signature to match getCause method in JDK 1.4 Exception
- changed method to return null
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137036 13f79535-47bb-0310-9956-ffa450edef68
2002-09-18 15:47:44 +00:00
Stephen Colebourne
9b20a5adec
Update for checked in ToStringBuilder
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137035 13f79535-47bb-0310-9956-ffa450edef68
2002-09-17 22:10:47 +00:00
Stephen Colebourne
992105bfd3
Tidy file layout
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137034 13f79535-47bb-0310-9956-ffa450edef68
2002-09-17 22:09:11 +00:00
Stephen Colebourne
93bdcee262
Tests for initial checkin of ToStringBuilder and assistants
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137033 13f79535-47bb-0310-9956-ffa450edef68
2002-09-17 22:07:50 +00:00
Stephen Colebourne
12c3259745
Initial checkin of ToStringBuilder and assistants
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137032 13f79535-47bb-0310-9956-ffa450edef68
2002-09-17 22:07:20 +00:00
Stephen Colebourne
aea52bdea5
Exclude static fields from reflection based builder
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137031 13f79535-47bb-0310-9956-ffa450edef68
2002-09-17 22:06:38 +00:00
Henri Yandell
b1ad52a457
Need an unescape.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137030 13f79535-47bb-0310-9956-ffa450edef68
2002-09-17 10:58:37 +00:00
Henri Yandell
81cf7d8be9
Added some StringUtils todos.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137029 13f79535-47bb-0310-9956-ffa450edef68
2002-09-17 10:30:48 +00:00
Henri Yandell
3468b1f8e0
Removed the @see ExtensibleEnum as there is no such class in the
...
system currently. It was giving a warning in the building of javadoc.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137028 13f79535-47bb-0310-9956-ffa450edef68
2002-09-17 09:33:28 +00:00
Stephen Colebourne
1369a1bf9e
Updated status as builder package evolves
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137027 13f79535-47bb-0310-9956-ffa450edef68
2002-09-15 10:29:25 +00:00
Stephen Colebourne
90f6bd5b91
Added Steve Downey as a contributor
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137026 13f79535-47bb-0310-9956-ffa450edef68
2002-09-15 10:28:35 +00:00
Stephen Colebourne
59a6aaa2b5
Add tests for new min, max and compare methods
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137025 13f79535-47bb-0310-9956-ffa450edef68
2002-09-15 10:27:56 +00:00
Stephen Colebourne
bb3c2143b4
Test CompareToBuilder
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137024 13f79535-47bb-0310-9956-ffa450edef68
2002-09-15 10:27:06 +00:00
Stephen Colebourne
bd65b2153e
Added compare methods for double and float
...
Added min/max methods for long
Added public constructor with comment
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137023 13f79535-47bb-0310-9956-ffa450edef68
2002-09-15 10:26:42 +00:00
Stephen Colebourne
9a3f8a3e9c
Add CompareToBuilder for building compareTo methods
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137022 13f79535-47bb-0310-9956-ffa450edef68
2002-09-15 10:25:22 +00:00
Stephen Colebourne
93e8c0a19d
Update for new builder subpackage
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137021 13f79535-47bb-0310-9956-ffa450edef68
2002-09-12 22:15:44 +00:00
Stephen Colebourne
dee1c29975
New builder subpackage created
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137020 13f79535-47bb-0310-9956-ffa450edef68
2002-09-12 22:01:25 +00:00
Stephen Colebourne
5cab6528ea
Add extra tests for reflection and multi dimensional arrays
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137019 13f79535-47bb-0310-9956-ffa450edef68
2002-09-12 22:01:00 +00:00
Stephen Colebourne
b47c241280
Added code from Steve Downey,
...
with some formatting changes and extra tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137018 13f79535-47bb-0310-9956-ffa450edef68
2002-09-12 22:00:35 +00:00
Stephen Colebourne
8d12cf6b9c
Added code from Steve Downey,
...
with some formatting changes and minor bug fixes
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137017 13f79535-47bb-0310-9956-ffa450edef68
2002-09-12 22:00:00 +00:00
Stephen Colebourne
e4da822d41
Moved from superpackage
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137016 13f79535-47bb-0310-9956-ffa450edef68
2002-09-12 21:59:01 +00:00
Stephen Colebourne
a9af49e61d
Moved to builder subpackage
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137015 13f79535-47bb-0310-9956-ffa450edef68
2002-09-12 21:58:38 +00:00
Stephen Colebourne
370914eb5a
Update testing for ant
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137014 13f79535-47bb-0310-9956-ffa450edef68
2002-09-12 21:58:15 +00:00
Steven Caswell
3c58a13269
added printStackTrace(PrintStream) for consistency with printStackTrace(PrintWriter)
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137013 13f79535-47bb-0310-9956-ffa450edef68
2002-09-12 01:20:25 +00:00
Steven Caswell
c0b40b9c77
corrected name of test case class
...
corrected name of second tester class in getTester2 method
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137012 13f79535-47bb-0310-9956-ffa450edef68
2002-09-11 19:40:56 +00:00
Steven Caswell
5adc254330
corrected name of test case class
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137011 13f79535-47bb-0310-9956-ffa450edef68
2002-09-11 19:40:35 +00:00