Commit Graph

667 Commits

Author SHA1 Message Date
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
Gary D. Gregory 6e2639fb20 Oops, tiny typo: "time zone ." -> "time zone."
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137576 13f79535-47bb-0310-9956-ffa450edef68
2003-08-06 02:48:23 +00:00
Gary D. Gregory 4aa1a9cd4c Minor javadoc change: techinally, "time zone" is two words, not one.
This also argues for changing statics from *TIMEZONE* to *TIME_ZONE*


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137575 13f79535-47bb-0310-9956-ffa450edef68
2003-08-06 01:44:57 +00:00
Steven Caswell 76cfb62b92 corrected the test of parseCVS with "h:mm z" format by replacing the current date/time with a series of calls using hard-coded time values
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137574 13f79535-47bb-0310-9956-ffa450edef68
2003-08-06 00:42:56 +00:00
Steven Caswell 8b2c1cf865 applied Javadoc corrections
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137573 13f79535-47bb-0310-9956-ffa450edef68
2003-08-06 00:04:37 +00:00
Steven Caswell f491166adb - fixed javadoc typos
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137572 13f79535-47bb-0310-9956-ffa450edef68
2003-08-05 21:15:49 +00:00
Stephen Colebourne 70d0151452 Rework Enum JDK1.2 solution to avoid needing to store Class
in Serialized object.
Added more tests, improved performance
bug 19030


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137571 13f79535-47bb-0310-9956-ffa450edef68
2003-08-05 00:24:02 +00:00
Stephen Colebourne 8b1992ee2f Rework Functional Enums to work on JDK1.2
bug 19030


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137570 13f79535-47bb-0310-9956-ffa450edef68
2003-08-04 23:52:27 +00:00
Stephen Colebourne cf7f46f654 Extra tests inspired by Clover
bug 22098, from Phil Steitz


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137569 13f79535-47bb-0310-9956-ffa450edef68
2003-08-04 19:51:00 +00:00