Commit Graph

7218 Commits

Author SHA1 Message Date
Stephen Colebourne 18f71280b5 Add and rework isEmpty, isNotEmpty, isEmptyTrimmed, isNotEmptyTrimmed
Javadoc methods, adding example code


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137418 13f79535-47bb-0310-9956-ffa450edef68
2003-07-14 22:26:51 +00:00
Stephen Colebourne 83dd0ea7b8 Add and rework isEmpty, isNotEmpty, isEmptyTrimmed, isNotEmptyTrimmed
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137417 13f79535-47bb-0310-9956-ffa450edef68
2003-07-14 22:26:22 +00:00
Henri Yandell eadb45d1a7 Javadoc fixes. Shouldn't have been anything other than javadoc changes in this.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137416 13f79535-47bb-0310-9956-ffa450edef68
2003-07-14 22:25:06 +00:00
Henri Yandell 99a9ac4d5e Javadoc fixes and a refactoring to use StringUtils.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137415 13f79535-47bb-0310-9956-ffa450edef68
2003-07-14 22:22:46 +00:00
Henri Yandell 1dc0785f8e Javadoc fixes and removal of a wildcard import.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137414 13f79535-47bb-0310-9956-ffa450edef68
2003-07-14 22:21:11 +00:00
Stephen Colebourne 80b9159298 Add indexOf for primitive arrays
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137413 13f79535-47bb-0310-9956-ffa450edef68
2003-07-12 10:09:40 +00:00
Stephen Colebourne 0aa557cd56 Fix to correctly identify the original author
from Brian S O'Neill


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137412 13f79535-47bb-0310-9956-ffa450edef68
2003-07-12 08:26:22 +00:00
Henri Yandell 20147cce8e Javadoc no longer shows private attributes/methods.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137411 13f79535-47bb-0310-9956-ffa450edef68
2003-07-12 03:58:02 +00:00
Henri Yandell 4be9ee9124 Removed tabs.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137410 13f79535-47bb-0310-9956-ffa450edef68
2003-07-12 03:37:24 +00:00
Henri Yandell fe2bbb8762 Added the bugs fixed by 2.0 to the release notes.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137409 13f79535-47bb-0310-9956-ffa450edef68
2003-07-12 03:29:27 +00:00
Henri Yandell 2a3cfe9713 Removed wordWrap method as it doesn't offer anything that the wrapText method doesn't have.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137408 13f79535-47bb-0310-9956-ffa450edef68
2003-07-12 03:06:23 +00:00
Robert Burrell Donkin a0ed6f4f27 Small improvements to formatting
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137407 13f79535-47bb-0310-9956-ffa450edef68
2003-07-11 06:38:58 +00:00
Henri Yandell 1f09b46037 Removed the unnecessary 'A' from join's char separator javadocs.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137406 13f79535-47bb-0310-9956-ffa450edef68
2003-07-09 23:54:16 +00:00
Stephen Colebourne d5c3e4d3fe Javadoc fix
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137405 13f79535-47bb-0310-9956-ffa450edef68
2003-07-08 22:06:35 +00:00
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