Commit Graph

508 Commits

Author SHA1 Message Date
Stephen Colebourne 895cedb404 Rework isEmpty and isNotEmpty following user feedback
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137459 13f79535-47bb-0310-9956-ffa450edef68
2003-07-19 21:55:05 +00:00
Stephen Colebourne 9001aa2613 Update null behaviour for consistency and clarity
Doument null behaviour


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137458 13f79535-47bb-0310-9956-ffa450edef68
2003-07-19 20:22:36 +00:00
Stephen Colebourne 8c6294dd70 Document null behaviour
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137457 13f79535-47bb-0310-9956-ffa450edef68
2003-07-19 20:21:39 +00:00
Stephen Colebourne a0aef72d87 Update original file location to author tag for consistency
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137456 13f79535-47bb-0310-9956-ffa450edef68
2003-07-19 20:21:08 +00:00
Stephen Colebourne f52c84195f Change error text to be more clear
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137455 13f79535-47bb-0310-9956-ffa450edef68
2003-07-19 20:19:24 +00:00
Stephen Colebourne 2a1cabe169 Update author tags
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137454 13f79535-47bb-0310-9956-ffa450edef68
2003-07-19 19:54:24 +00:00
Stephen Colebourne 7e0990cccc Additional testing, especially in the area of whitespace
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137453 13f79535-47bb-0310-9956-ffa450edef68
2003-07-19 18:10:30 +00:00
Stephen Colebourne 6c009fd782 Fix split to use whitespace, remove StringTokenizer
Performance tune some methods


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137452 13f79535-47bb-0310-9956-ffa450edef68
2003-07-19 18:09:33 +00:00
Gary D. Gregory 4bf65d4732 Severity Description Resource In Folder Location Creation Time
The static method setAccessible(AccessibleObject[], boolean) from the type AccessibleObject should be accessed directly 	CompareToBuilder.java	Apache Jakarta Commons/lang/src/java/org/apache/commons/lang/builder	line 254	July 18, 2003 7:11:22 PM


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137451 13f79535-47bb-0310-9956-ffa450edef68
2003-07-19 03:25:38 +00:00
Stephen Colebourne 4e070edf4b Minor performance tweaks, and some extra tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137450 13f79535-47bb-0310-9956-ffa450edef68
2003-07-19 00:22:50 +00:00
Stephen Colebourne 59b77af292 Fixed leftPad() and rightPad() to correctly handle multi letter pad strings
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137449 13f79535-47bb-0310-9956-ffa450edef68
2003-07-18 23:57:43 +00:00
Gary D. Gregory b1a7e16922 Added an ISO 8601 formatter for the date time extended format used in durations, with XML Schema durations particularly in mind.
Note that the util class is still a package level class only.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137448 13f79535-47bb-0310-9956-ffa450edef68
2003-07-18 17:05:54 +00:00
Gary D. Gregory b870bcd7c0 Added an ISO 8601 formatter for the date time extended format used in durations, with XML Schema durations particularly in mind.
Note that this is still a package level class only.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137447 13f79535-47bb-0310-9956-ffa450edef68
2003-07-18 17:04:31 +00:00
Gary D. Gregory bed05aef0e PR: 21715
Obtained from: commons-dev
Submitted by:	KANEUCHI Tetsuya [mailto:tetsuyak@ka2.so-net.ne.jp] 
Reviewed by:	Gary Gregory


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137446 13f79535-47bb-0310-9956-ffa450edef68
2003-07-18 16:48:25 +00:00
Stephen Colebourne 90d076139e Null handling changes
Javadoc fixes and tidying
File layout grouping


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137445 13f79535-47bb-0310-9956-ffa450edef68
2003-07-18 02:06:24 +00:00
Stephen Colebourne b026fbd30f Update Null handling in StringUtils to handle nulls quietly
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137444 13f79535-47bb-0310-9956-ffa450edef68
2003-07-16 23:56:45 +00:00
Stephen Colebourne 7b88508ce9 Update Null handling in StringUtils to handle nulls quietly
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137443 13f79535-47bb-0310-9956-ffa450edef68
2003-07-16 23:45:39 +00:00
Stephen Colebourne 2a94c6d2e5 Remove StringUtils.unescape
Its deprecated, and wasn't in 1.0


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137442 13f79535-47bb-0310-9956-ffa450edef68
2003-07-16 21:23:50 +00:00
Stephen Colebourne f59fb46272 Implement changes to StringUtils.isEmpty and friends
This is an incompatible change for isEmpty and isNotEmpty from 1.0


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137441 13f79535-47bb-0310-9956-ffa450edef68
2003-07-16 21:19:22 +00:00
Stephen Colebourne 25b9bd6244 Remove old unused commented out code
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137440 13f79535-47bb-0310-9956-ffa450edef68
2003-07-16 20:19:24 +00:00
Gary D. Gregory 7d9d08c4fc The private field FastDateFormatTest.fastDateFormat is never read locally (line 76)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137439 13f79535-47bb-0310-9956-ffa450edef68
2003-07-16 05:14:43 +00:00
Gary D. Gregory 61dd85ca2f Refactor such that the ObjectUtils.identityToString() method logic is only in ObjectUtils and not duplicated in the builder package.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137438 13f79535-47bb-0310-9956-ffa450edef68
2003-07-16 01:47:40 +00:00
Stephen Colebourne 0dd253a756 Javadoc null behaviour
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137437 13f79535-47bb-0310-9956-ffa450edef68
2003-07-16 00:39:05 +00:00
Stephen Colebourne 861a4236aa Add defaultString(String) back in for performance
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137436 13f79535-47bb-0310-9956-ffa450edef68
2003-07-15 23:42:13 +00:00
Stephen Colebourne 1206dcd401 Update Javadoc defining empty, space and whitespace
Improve performance of repeat
Add defaultString(String) back in for performance


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137435 13f79535-47bb-0310-9956-ffa450edef68
2003-07-15 23:41:54 +00:00
Stephen Colebourne 5a0ff3f957 Javadoc typo
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137434 13f79535-47bb-0310-9956-ffa450edef68
2003-07-15 23:12:51 +00:00
Gary D. Gregory 54b752653d Give a Javadoc example for overridding the accept method.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137433 13f79535-47bb-0310-9956-ffa450edef68
2003-07-15 23:04:23 +00:00
Stephen Colebourne 58f50fbec8 Fix typos
from Phil Steitz


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137432 13f79535-47bb-0310-9956-ffa450edef68
2003-07-15 21:53:47 +00:00
Henri Yandell 1afb92a31c Version 2.0 of the Lang specification
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137430 13f79535-47bb-0310-9956-ffa450edef68
2003-07-15 00:07:07 +00:00
Henri Yandell a86696a2b0 Setting version to 2.0-rc1
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137429 13f79535-47bb-0310-9956-ffa450edef68
2003-07-14 23:50:12 +00:00
Henri Yandell e1d1630351 Updated the manifest to pretty much match http://jakarta.apache.org/commons/releases/prepare.html
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137428 13f79535-47bb-0310-9956-ffa450edef68
2003-07-14 23:35:39 +00:00
Henri Yandell 90951db58c Updating version in this, though it's not in active build use.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137427 13f79535-47bb-0310-9956-ffa450edef68
2003-07-14 23:27:21 +00:00
Henri Yandell f251b7e907 Updated version to 2.0, pre-build.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137426 13f79535-47bb-0310-9956-ffa450edef68
2003-07-14 23:25:47 +00:00
Stephen Colebourne c9ddec3092 Updated with isEmptyTrimmed/isNotEmptyTrimmed
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137425 13f79535-47bb-0310-9956-ffa450edef68
2003-07-14 23:03:27 +00:00
Stephen Colebourne d0f7027c7e Update task list
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137424 13f79535-47bb-0310-9956-ffa450edef68
2003-07-14 23:02:53 +00:00
Stephen Colebourne d516948613 Javadoc fix
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137423 13f79535-47bb-0310-9956-ffa450edef68
2003-07-14 23:02:27 +00:00
Stephen Colebourne 10e73ca2d2 Unify format of NOTE comments
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137422 13f79535-47bb-0310-9956-ffa450edef68
2003-07-14 23:02:08 +00:00
Stephen Colebourne 0d38944091 Update Avalon references
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137421 13f79535-47bb-0310-9956-ffa450edef68
2003-07-14 22:58:31 +00:00
Henri Yandell faf34a0bb7 Solely Javadoc fixes.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137420 13f79535-47bb-0310-9956-ffa450edef68
2003-07-14 22:29:04 +00:00
Henri Yandell 00dc5a8684 Javadoc fixes and change from append(String) to append(char)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137419 13f79535-47bb-0310-9956-ffa450edef68
2003-07-14 22:28:48 +00:00
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