Commit Graph

3754 Commits

Author SHA1 Message Date
Stephen Colebourne 5c66eeae0d Update for release 2.0
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137404 13f79535-47bb-0310-9956-ffa450edef68
2003-07-08 22:05:14 +00:00
Henri Yandell d2d4b25665 Cleaned up import.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137403 13f79535-47bb-0310-9956-ffa450edef68
2003-07-08 06:01:09 +00:00
Henri Yandell 5c3606e55e Great set of javadoc improvements from Fredrik.
Also an optimisation to StringUtils.leftPad/rightPad.
Submitted by: Fredrik Westermarck


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137402 13f79535-47bb-0310-9956-ffa450edef68
2003-07-08 05:59:58 +00:00
Henri Yandell b78e65b2c4 New release notes, though it lacks bugs from bugzilla at the moment.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137401 13f79535-47bb-0310-9956-ffa450edef68
2003-07-08 05:50:42 +00:00
Henri Yandell ddac6283ed Updated to include the rest of the math package, alphabetises the main package entries and contains the time package description. Also uses 2.0 version numbering.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137400 13f79535-47bb-0310-9956-ffa450edef68
2003-07-08 05:21:44 +00:00
Henri Yandell ef1464b921 Date/Time package now in.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137399 13f79535-47bb-0310-9956-ffa450edef68
2003-07-07 15:13:20 +00:00
Henri Yandell ddc484468d Removed a TODO.
The performance improvements these refered to are now in.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137398 13f79535-47bb-0310-9956-ffa450edef68
2003-07-07 15:11:35 +00:00
Henri Yandell f9c8327a7c Added comment for new committers to add their names.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137397 13f79535-47bb-0310-9956-ffa450edef68
2003-07-07 15:10:46 +00:00
Henri Yandell c7bcbcfcac Removed the 'add user here'. Should be in STATUS.html.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137396 13f79535-47bb-0310-9956-ffa450edef68
2003-07-07 15:10:13 +00:00
Henri Yandell 36122d66d0 truncateNicely now implemented as abbreviate.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137395 13f79535-47bb-0310-9956-ffa450edef68
2003-07-07 15:09:32 +00:00
Alex Chaffee 6410b62b3c javadoc fixes
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137394 13f79535-47bb-0310-9956-ffa450edef68
2003-07-05 23:37:30 +00:00
Henri Yandell 35f0c6f6ca Fixed Javadoc return tag.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137393 13f79535-47bb-0310-9956-ffa450edef68
2003-07-05 19:04:31 +00:00
Henri Yandell 81bd0596f2 Switched from using top-level Commons LICENSE to specific Commons Lang LICENSE.txt. The main driving reason for this is so that distributed sources may properly build.
Submitted by:	Arnaud Vandyck


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137392 13f79535-47bb-0310-9956-ffa450edef68
2003-07-04 15:26:38 +00:00
Alex Chaffee 8df8ade07c testEscapeSql
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137391 13f79535-47bb-0310-9956-ffa450edef68
2003-06-29 03:05:45 +00:00
Alex Chaffee 39acbece80 introducing utility class from Justin Couch
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137390 13f79535-47bb-0310-9956-ffa450edef68
2003-06-29 03:05:17 +00:00
Alex Chaffee d8589d902c testHtml40Nbsp
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137389 13f79535-47bb-0310-9956-ffa450edef68
2003-06-29 03:04:33 +00:00
Alex Chaffee 49f48c2df4 cleaning up
use restructured EntityMap classes


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137388 13f79535-47bb-0310-9956-ffa450edef68
2003-06-29 03:03:39 +00:00
Alex Chaffee 670b91caba comments
refactoring
add escapeSql method


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137387 13f79535-47bb-0310-9956-ffa450edef68
2003-06-29 03:03:15 +00:00
Alex Chaffee e4aab311f0 comments
restructure EntityMap inner classes


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137386 13f79535-47bb-0310-9956-ffa450edef68
2003-06-29 03:02:29 +00:00
Stephen Colebourne 55be165435 Add min/max by array functions
bug 21068, from Matthew Hawthorne


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137385 13f79535-47bb-0310-9956-ffa450edef68
2003-06-28 18:42:04 +00:00
Stephen Colebourne 9cfd4409f9 Add XOR methods
bug 21068, from Matthew Hawthorne


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137384 13f79535-47bb-0310-9956-ffa450edef68
2003-06-28 18:16:03 +00:00
Stephen Colebourne 48cea59f38 Add primitive/object conversions for all types
bug 21068, from Matthew Hawthorne


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137383 13f79535-47bb-0310-9956-ffa450edef68
2003-06-28 18:01:19 +00:00
Stephen Colebourne 008d16ed5b Removed unused variable
bug 21099, from Janek Bogucki


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137382 13f79535-47bb-0310-9956-ffa450edef68
2003-06-28 17:49:53 +00:00
Stephen Colebourne a5c0361ee5 Add primitive boolean/object conversions
Bug 21068, from Matthew Hawthorne


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137381 13f79535-47bb-0310-9956-ffa450edef68
2003-06-25 23:33:47 +00:00
Stephen Colebourne 2878a430c1 Add new empty array constants for number objects
Declare variables as final
Fix null behaviour to be null tolerant
Javadoc null behaviour
Fix formatting


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137380 13f79535-47bb-0310-9956-ffa450edef68
2003-06-25 23:32:08 +00:00
Stephen Colebourne 2d06a7ce86 NumberUtils moved to math subpackage
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137379 13f79535-47bb-0310-9956-ffa450edef68
2003-06-24 21:14:51 +00:00
Stephen Colebourne 9949f09089 Relax tests so it passes more often
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137378 13f79535-47bb-0310-9956-ffa450edef68
2003-06-24 21:13:55 +00:00
Stephen Colebourne 7f89ab6f10 Deprecate escape, and comment escape and unescape fully
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137377 13f79535-47bb-0310-9956-ffa450edef68
2003-06-24 08:15:15 +00:00
Henri Yandell da306cb3c8 Deprecated unescape method.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137376 13f79535-47bb-0310-9956-ffa450edef68
2003-06-24 02:55:17 +00:00
Stephen Colebourne 402c8e0846 Prepare DateUtils for 2.0 release
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137375 13f79535-47bb-0310-9956-ffa450edef68
2003-06-23 23:41:10 +00:00
Stephen Colebourne 3bfc04d7a3 Add package level javadoc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137374 13f79535-47bb-0310-9956-ffa450edef68
2003-06-23 22:37:39 +00:00
Stephen Colebourne 5e98ba2ee9 Update javadoc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137373 13f79535-47bb-0310-9956-ffa450edef68
2003-06-23 22:36:50 +00:00
Gary D. Gregory d5ee2f1ca5 PR: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21021.
Reduce object creation in ToStringBuilder. Applied the patch in spirit but not in detail since I used
"BooleanUtils.toBooleanObject(fullDetail)" instead of "fullDetail ? Boolean.TRUE : Boolean.FALSE"
to reduce code duplication.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137372 13f79535-47bb-0310-9956-ffa450edef68
2003-06-23 17:04:39 +00:00
Henri Yandell 80da42a808 Handles empty string now as well.
Submitted by:	Mark Ford


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137371 13f79535-47bb-0310-9956-ffa450edef68
2003-06-23 03:51:13 +00:00
Henri Yandell feac7d3bc7 Bug #20652 fixed.
Submitted by:	Fredrik Westermarck


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137370 13f79535-47bb-0310-9956-ffa450edef68
2003-06-21 22:24:56 +00:00
Stephen Colebourne 0525da4d6c Remove unused code
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137369 13f79535-47bb-0310-9956-ffa450edef68
2003-06-20 08:03:51 +00:00
Henri Yandell eeb224c2a6 Javadoc fix.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137368 13f79535-47bb-0310-9956-ffa450edef68
2003-06-16 02:28:16 +00:00
Stephen Colebourne 3e480bf2ad Add new class that tests all the TestSuites in one go
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137367 13f79535-47bb-0310-9956-ffa450edef68
2003-06-10 06:20:19 +00:00
Stephen Colebourne c09f7744fb Change scope of methods from package to public
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137366 13f79535-47bb-0310-9956-ffa450edef68
2003-06-10 06:16:54 +00:00
Stephen Colebourne 8f45918465 Ensure that RandomStringUtils returns all expected characters
bug 20592, reported/patched by Phil Steitz


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137365 13f79535-47bb-0310-9956-ffa450edef68
2003-06-09 21:36:03 +00:00
Stephen Colebourne 8955311526 Make package scoped until methods properly designed and implemented
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137364 13f79535-47bb-0310-9956-ffa450edef68
2003-06-09 21:23:14 +00:00
Stephen Colebourne fdbe8e7849 DateFormatUtils should not be final
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137363 13f79535-47bb-0310-9956-ffa450edef68
2003-06-09 21:22:31 +00:00
Stephen Colebourne 17b30f39f3 Fix javadoc comment
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137362 13f79535-47bb-0310-9956-ffa450edef68
2003-06-08 23:27:26 +00:00
Stephen Colebourne 73ee6c3d27 Rework time package in preparation for 2.0 release
DateUtils split to DateFormatUtils and DurationFormatUtils
CalendarUtils renamed to DateUtils
StopWatch time format method moved to DurationFormatUtils
Tests updated and pass


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137361 13f79535-47bb-0310-9956-ffa450edef68
2003-06-08 23:14:23 +00:00
Stephen Colebourne 9bb3f9b9a3 Organize imports
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137360 13f79535-47bb-0310-9956-ffa450edef68
2003-06-08 14:19:43 +00:00
Stephen Colebourne 4920a1da32 Fix bug in NumberUtils where '12a' was treated as a number.
bug 20538, reported/fix by Eric Pugh/Phil Steitz


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137359 13f79535-47bb-0310-9956-ffa450edef68
2003-06-08 14:14:01 +00:00
Stephen Colebourne 4c50eca073 Ensure javadoc is clear about when deprecated methods will be removed.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137358 13f79535-47bb-0310-9956-ffa450edef68
2003-06-08 14:10:54 +00:00
Stephen Colebourne fd6d8a4a3d Tidy comments
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137357 13f79535-47bb-0310-9956-ffa450edef68
2003-06-08 14:09:36 +00:00
Robert Burrell Donkin 268de4eadf Fixed a problem with changed capitalization in test case.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137356 13f79535-47bb-0310-9956-ffa450edef68
2003-06-06 07:04:12 +00:00
Gary D. Gregory b3bf560628 Minor Javadoc fix and improvements.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137355 13f79535-47bb-0310-9956-ffa450edef68
2003-06-03 20:49:59 +00:00