Commit Graph

675 Commits

Author SHA1 Message Date
Gary D. Gregory 8348f8b8dc Removed: The private field DateUtils.dateFormats is never read locally.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137629 13f79535-47bb-0310-9956-ffa450edef68
2003-08-18 21:52:39 +00:00
Henri Yandell 334b68718a Updated WordWrapUtils to WordUtils
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137627 13f79535-47bb-0310-9956-ffa450edef68
2003-08-18 02:38:02 +00:00
Henri Yandell 0894baec63 Updated the api diff format.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137626 13f79535-47bb-0310-9956-ffa450edef68
2003-08-18 02:35:16 +00:00
Henri Yandell 379d1bcac3 Applied Gary's fix of "acknowlegement" to "acknowledgement" in all java files.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137625 13f79535-47bb-0310-9956-ffa450edef68
2003-08-18 02:22:28 +00:00
Gary D. Gregory ef737d3ad1 Fix spelling of "acknowlegement" to "acknowledgement".
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137623 13f79535-47bb-0310-9956-ffa450edef68
2003-08-18 01:46:45 +00:00
Stephen Colebourne b5c1a4795f Javadoc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137622 13f79535-47bb-0310-9956-ffa450edef68
2003-08-17 23:31:44 +00:00
Stephen Colebourne c9fe5f02aa Add capitalizeFully() to deal with a whole string whatever its current state
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137621 13f79535-47bb-0310-9956-ffa450edef68
2003-08-17 23:06:11 +00:00
Stephen Colebourne d1d8827200 Move capitalizeAllWords, uncapitalizeAllWords, swapCase to WordUtils
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137620 13f79535-47bb-0310-9956-ffa450edef68
2003-08-17 22:59:28 +00:00
Stephen Colebourne f253575ee7 Rename WordWrapUtils to WordUtils and make ready for 2.0
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137619 13f79535-47bb-0310-9956-ffa450edef68
2003-08-17 22:01:04 +00:00
Stephen Colebourne 47367eb9ab Rename WordWrapUtils to WordUtils
Refactor wrapLine method, making it public and work properly
Remove wrapText method
Test


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137618 13f79535-47bb-0310-9956-ffa450edef68
2003-08-17 21:57:37 +00:00
Henri Yandell b75b09afe0 Removed WordWrapUtils from release notes. Will move the tag.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137617 13f79535-47bb-0310-9956-ffa450edef68
2003-08-17 19:51:09 +00:00
Henri Yandell b05d73a0ed Preparing for rc3.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137616 13f79535-47bb-0310-9956-ffa450edef68
2003-08-17 19:41:53 +00:00
Henri Yandell 8cd3765a60 Pulled the test for WordWrapUtils from this class. Will need adding back in later.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137615 13f79535-47bb-0310-9956-ffa450edef68
2003-08-17 19:41:17 +00:00
Henri Yandell 3ed03687f9 dist-build goal added to build tar.gz's and .zips. Additionally it handles
moving the txt files in the .zip to a Window's format.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137614 13f79535-47bb-0310-9956-ffa450edef68
2003-08-17 19:32:55 +00:00
Stephen Colebourne 84d0246c92 Missing Apache licence
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137613 13f79535-47bb-0310-9956-ffa450edef68
2003-08-17 02:15:48 +00:00
Stephen Colebourne b25c0aff6c Javadoc changes
bug 22480, from Pete Gieser


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137612 13f79535-47bb-0310-9956-ffa450edef68
2003-08-16 13:02:14 +00:00
Stephen Colebourne 96de49e7ae Deprecate shortClassName in favour of useShortClassName for consistency
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137611 13f79535-47bb-0310-9956-ffa450edef68
2003-08-16 12:56:25 +00:00
Stephen Colebourne e84bafdfe5 Organize imports
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137610 13f79535-47bb-0310-9956-ffa450edef68
2003-08-16 12:48:22 +00:00
Stephen Colebourne 512753f347 Javadoc clarity
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137609 13f79535-47bb-0310-9956-ffa450edef68
2003-08-16 12:45:38 +00:00
Stephen Colebourne 443e9b3696 Javadoc changes
bug 22480, from Pete Gieser


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137608 13f79535-47bb-0310-9956-ffa450edef68
2003-08-16 12:41:23 +00:00
Stephen Colebourne 6ed0e0b718 Javadoc changes
bug 22480, from Pete Gieser


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137607 13f79535-47bb-0310-9956-ffa450edef68
2003-08-16 11:15:42 +00:00
Stephen Colebourne 89d68fcd96 uncapitaliseAllWords was not in 1.0.1, so it should not be in 2.0 as deprecated
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137606 13f79535-47bb-0310-9956-ffa450edef68
2003-08-16 10:36:00 +00:00
Stephen Colebourne 219fc47a0d Javadoc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137605 13f79535-47bb-0310-9956-ffa450edef68
2003-08-16 09:50:59 +00:00
Henri Yandell 3afcf2d381 Commiting build with the test for reflection removed.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137603 13f79535-47bb-0310-9956-ffa450edef68
2003-08-16 02:43:29 +00:00
Henri Yandell abbf6c11a9 Updated the jardiff alias at the end.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137602 13f79535-47bb-0310-9956-ffa450edef68
2003-08-16 02:41:18 +00:00
Henri Yandell 1d8edee23e Added latest bugs to the bugfix list.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137601 13f79535-47bb-0310-9956-ffa450edef68
2003-08-16 02:31:36 +00:00
Henri Yandell 7c2ce42936 Commented out the parseCVS code for consideration/fixing for Lang 2.1
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137600 13f79535-47bb-0310-9956-ffa450edef68
2003-08-15 16:14:35 +00:00
Gary D. Gregory cebf61b873 Javadoc: Add matching </li> tags.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137599 13f79535-47bb-0310-9956-ffa450edef68
2003-08-14 02:20:48 +00:00
Gary D. Gregory 826567f826 Javadoc improvements, clean up and fix a missing </code> tag.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137598 13f79535-47bb-0310-9956-ffa450edef68
2003-08-14 01:49:03 +00:00
Henri Yandell d431527275 Added in Javadoc for deprecated capitalise methods.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137597 13f79535-47bb-0310-9956-ffa450edef68
2003-08-14 01:21:36 +00:00
Gary D. Gregory e246e1e126 Forgot the @author tag.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137596 13f79535-47bb-0310-9956-ffa450edef68
2003-08-14 01:16:30 +00:00
Gary D. Gregory ce55228326 A couple more cap/uncap tests.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137595 13f79535-47bb-0310-9956-ffa450edef68
2003-08-14 01:15:51 +00:00
Gary D. Gregory 8e74bb298e Fix 2 Javadoc typos and cross-reference cap/uncapitaliZe methods ;-)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137594 13f79535-47bb-0310-9956-ffa450edef68
2003-08-14 00:59:39 +00:00
Stephen Colebourne 24bf34b652 Add section on deprecations in javadoc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137593 13f79535-47bb-0310-9956-ffa450edef68
2003-08-14 00:21:23 +00:00
Stephen Colebourne 9c6e4b0421 Add text to describe when deprecated methods removed
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137592 13f79535-47bb-0310-9956-ffa450edef68
2003-08-14 00:14:20 +00:00
Stephen Colebourne 3e439de47b Use ClassUtils to get the short class name
suggested by Pete Gieser


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137591 13f79535-47bb-0310-9956-ffa450edef68
2003-08-14 00:10:42 +00:00
Henri Yandell 1926fbc379 Added note on Language variant to use.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137590 13f79535-47bb-0310-9956-ffa450edef68
2003-08-14 00:08:14 +00:00
Henri Yandell cd5c0cdb42 Deprecated the 'capitalise' spelling and introduced the 'capitalize' spelling.
Despite the UK [or international] English base of many of the developers on
Lang, it was felt that it would be better to match Jakarta as a whole.

Also none of us cared enough to make it an issue.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137589 13f79535-47bb-0310-9956-ffa450edef68
2003-08-14 00:04:20 +00:00
Stephen Colebourne 1a99abf1cf Added @since tags
bug 22286, from Phil Steitz
Changed from public to package scope


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137588 13f79535-47bb-0310-9956-ffa450edef68
2003-08-13 23:48:19 +00:00
Stephen Colebourne 8766154678 Added @since tags
bug 22286, from Phil Steitz


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137587 13f79535-47bb-0310-9956-ffa450edef68
2003-08-13 23:47:39 +00:00
Stephen Colebourne 3e2d12ad71 Improve Fraction Javadoc, implementation and tests
bug 22386, from Phil Steitz


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137586 13f79535-47bb-0310-9956-ffa450edef68
2003-08-13 23:42:17 +00:00
Stephen Colebourne 20c35a1d87 Added extra alternatives as @see links in toString conversions
improvement suggested by Henning Schmiedehausen


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137585 13f79535-47bb-0310-9956-ffa450edef68
2003-08-13 23:30:58 +00:00
Stephen Colebourne 076630818f Remove specific reference to Assert class.
(conforms to general style of lang test cases)


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137584 13f79535-47bb-0310-9956-ffa450edef68
2003-08-13 23:08:06 +00:00
Gary D. Gregory e0ccb82824 Refactor "" string literals to use the new:
public static final String EMPTY = ""
I made EMPTY public since I plan on using it when replacing most of our internal StringUtil class with this StringUtil.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137583 13f79535-47bb-0310-9956-ffa450edef68
2003-08-13 21:32:27 +00:00
Steven Caswell 4332582e88 update parseCVS with default English locale
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137582 13f79535-47bb-0310-9956-ffa450edef68
2003-08-10 13:32:16 +00:00
Steven Caswell f325bbd0d3 updated parseCVS test to use US locale to avoid non-English format problems
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137581 13f79535-47bb-0310-9956-ffa450edef68
2003-08-10 13:30:33 +00:00
Henri Yandell 91a7f67d80 Removing unused variables.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137580 13f79535-47bb-0310-9956-ffa450edef68
2003-08-07 21:12:19 +00:00
Henri Yandell c9ba0a38d3 Reworded the comment on quiet methods returning Null patterns.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137579 13f79535-47bb-0310-9956-ffa450edef68
2003-08-07 03:14:26 +00:00
Steven Caswell 332399a528 added test coverage
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137578 13f79535-47bb-0310-9956-ffa450edef68
2003-08-07 00:50:30 +00:00
Gary D. Gregory e92543334a Replace statics *TIMEZONE* with *TIME_ZONE*
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137577 13f79535-47bb-0310-9956-ffa450edef68
2003-08-06 21:13:39 +00:00