164 Commits

Author SHA1 Message Date
Henri Yandell
f56fb0d78a Updated for 1.0.1. Needs changing in main branch when we release.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/branches/LANG_1_0_BRANCH@137163 13f79535-47bb-0310-9956-ffa450edef68
2002-11-23 02:53:33 +00:00
Henri Yandell
651eff5d8e Inputted the bugs fixed in this release to the release notes.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/branches/LANG_1_0_BRANCH@137162 13f79535-47bb-0310-9956-ffa450edef68
2002-11-23 02:52:02 +00:00
Henri Yandell
ee1df50b6d Put in a Unit Test to check for bug #14062 and the fix.
The fix is courtesy of Mark McDowell [mcdoma@ncs.com]


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/branches/LANG_1_0_BRANCH@137161 13f79535-47bb-0310-9956-ffa450edef68
2002-11-23 01:06:56 +00:00
Henri Yandell
e3066b43ee 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/branches/LANG_1_0_BRANCH@137155 13f79535-47bb-0310-9956-ffa450edef68
2002-11-22 23:31:13 +00:00
Henri Yandell
bc69461e48 Protected a test which fails in JDK 1.2, probably because the JDK doesn't support that number format [a float with an exponential number]
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/branches/LANG_1_0_BRANCH@137153 13f79535-47bb-0310-9956-ffa450edef68
2002-11-22 23:29:24 +00:00
Henri Yandell
b571015d3e Added in explicit this.'s as needed by JDK 1.2's compiler.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/branches/LANG_1_0_BRANCH@137152 13f79535-47bb-0310-9956-ffa450edef68
2002-11-22 23:20:57 +00:00
Henri Yandell
64e5b8f7ca Thought I commited this. Oh well. Fix to getMaximum :)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/branches/LANG_1_0_BRANCH@137151 13f79535-47bb-0310-9956-ffa450edef68
2002-11-22 23:20:28 +00:00
Henri Yandell
e9f82a0278 Applied bugfix 13527: ExceptionUtils cannot handle J2EE-Exception in a default way.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/branches/LANG_1_0_BRANCH@137146 13f79535-47bb-0310-9956-ffa450edef68
2002-11-22 20:12:02 +00:00
Henri Yandell
47f7bacee8 Applied fix to Bug #14334: NestableDelegate is not serializable
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/branches/LANG_1_0_BRANCH@137145 13f79535-47bb-0310-9956-ffa450edef68
2002-11-22 20:11:30 +00:00
Henri Yandell
14373ceea7 Applied the two fixes for Enum to the 1.0.1 branch.
1) Bug #13568
2) Removing JDK 1.3 dependency from Enum


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/branches/LANG_1_0_BRANCH@137144 13f79535-47bb-0310-9956-ffa450edef68
2002-11-22 20:07:53 +00:00
Henri Yandell
9545770ad7 Hopefully this is going to be the first change in the 1.0.1 release version of the 1.0 branch.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/branches/LANG_1_0_BRANCH@137143 13f79535-47bb-0310-9956-ffa450edef68
2002-11-22 18:42:45 +00:00
No No
9a62122891 This commit was manufactured by cvs2svn to create branch
'LANG_1_0_BRANCH'.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/branches/LANG_1_0_BRANCH@137088 13f79535-47bb-0310-9956-ffa450edef68
2002-10-04 03:23:18 +00:00
Henri Yandell
c31ee55a2a 1.0'd.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137086 13f79535-47bb-0310-9956-ffa450edef68
2002-10-04 03:23:18 +00:00
Henri Yandell
8868590669 Updated to latest 1.0 release.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137085 13f79535-47bb-0310-9956-ffa450edef68
2002-10-04 03:22:47 +00:00
Henri Yandell
cba6c55b52 Moved to RC2
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137083 13f79535-47bb-0310-9956-ffa450edef68
2002-10-01 23:01:55 +00:00
Steven Caswell
febdca4fd6 javadoc corrections:
- changed <code> tag to <pre> tag around code examples for better formatting
- added reflection method explanation text


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137082 13f79535-47bb-0310-9956-ffa450edef68
2002-10-01 20:03:04 +00:00
Steven Caswell
5532905f1f javadoc corrections:
- changed <code> tag to <pre> tag around code examples for better formatting
- corrected reflection method name in explanation text


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137081 13f79535-47bb-0310-9956-ffa450edef68
2002-10-01 20:02:08 +00:00
Steven Caswell
48281f8ffb javadoc corrections:
- corrected name of append method in code example
- changed <code> tag to <pre> tag around code examples for better formatting
- corrected reflection method name in explanation text


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137080 13f79535-47bb-0310-9956-ffa450edef68
2002-10-01 20:00:43 +00:00
Henri Yandell
9380c2fdd6 Removed an unused piece of code.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137079 13f79535-47bb-0310-9956-ffa450edef68
2002-09-30 00:50:10 +00:00
Henri Yandell
d5727f690f Javadoc typo fixed. equals was claiming String type.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137078 13f79535-47bb-0310-9956-ffa450edef68
2002-09-30 00:47:45 +00:00
Henri Yandell
c367279525 Ensured that the builder has a default style at all times by setting it
initially. [the setDefaultStyle method makes sur eit can't be set to null].

Hopefully this is an okay thing to do, it was breaking Tests.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137077 13f79535-47bb-0310-9956-ffa450edef68
2002-09-29 08:26:05 +00:00
Henri Yandell
a7aaefbef0 Removed unused imports.
Submitted by:	Fredrik Westermarck <fredrik.westermarck@mdh.se>


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137076 13f79535-47bb-0310-9956-ffa450edef68
2002-09-29 08:20:52 +00:00
Henri Yandell
1fe30c3a31 Added latest issues from Steve Downey's emails.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137075 13f79535-47bb-0310-9956-ffa450edef68
2002-09-29 07:24:20 +00:00
Henri Yandell
5d1ca3e449 Fixed to allow a charset of "-" to work correctly.
Submitted by:	Steve Downey


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137074 13f79535-47bb-0310-9956-ffa450edef68
2002-09-29 07:15:12 +00:00
Henri Yandell
e42273b9f2 Test showing that new String {"-"} does not work in CharSetUtils as a charset.
Submitted by:	Steve Downey


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137073 13f79535-47bb-0310-9956-ffa450edef68
2002-09-29 07:13:07 +00:00
Stephen Colebourne
184b637342 Javadoc fixes and enhancements
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137072 13f79535-47bb-0310-9956-ffa450edef68
2002-09-28 10:49:59 +00:00
Stephen Colebourne
58299f3405 Javadoc fixes and enhancements
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137071 13f79535-47bb-0310-9956-ffa450edef68
2002-09-28 10:44:51 +00:00
Stephen Colebourne
031ff96cd3 Javadoc fixes and enhancements from Steve Downey
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137070 13f79535-47bb-0310-9956-ffa450edef68
2002-09-28 10:34:54 +00:00
Steven Caswell
34d80b34e3 Added StringUtils defaultString variation TODO
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137069 13f79535-47bb-0310-9956-ffa450edef68
2002-09-27 19:24:11 +00:00
Henri Yandell
e0722ed784 Changed the deleteWhitespace method to delete according to Character.isWhitespce
Renamed the existing deleteWhitespace functionality to deleteSpaces.
This is in accordance with Character.isSpace.

Submitted by:	Steve Downey's idea


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137068 13f79535-47bb-0310-9956-ffa450edef68
2002-09-27 06:08:16 +00:00
Henri Yandell
d58545381f Added a patch with many improvements to the javadoc from Steve Downey.
Submitted by: Steve Downey


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137067 13f79535-47bb-0310-9956-ffa450edef68
2002-09-27 05:53:37 +00:00
Stephen Colebourne
81096b320b Correct the enum release notes
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137066 13f79535-47bb-0310-9956-ffa450edef68
2002-09-25 10:29:56 +00:00
Daniel Rall
f2970e827e Reverting last commit back to CVS rev 1.3. I would prefer to see the "dist" build target create bundled archives.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137064 13f79535-47bb-0310-9956-ffa450edef68
2002-09-25 06:00:30 +00:00
Daniel Rall
357b510dcd All build-generated content should reside under a single directory for easy cleaning.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137063 13f79535-47bb-0310-9956-ffa450edef68
2002-09-25 05:57:36 +00:00
Daniel Rall
dbb3cbe63c Ignore the generated target/ directory.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137062 13f79535-47bb-0310-9956-ffa450edef68
2002-09-25 05:55:31 +00:00
Daniel Rall
0dca928520 Updated the component.version property for [lang] version 1.0-rc1.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137061 13f79535-47bb-0310-9956-ffa450edef68
2002-09-25 05:54:54 +00:00
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