Commit Graph

668 Commits

Author SHA1 Message Date
Stephen Colebourne c34043222f Deprecate id code prior to removal
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137766 13f79535-47bb-0310-9956-ffa450edef68
2004-01-31 10:12:56 +00:00
Stephen Colebourne 15a7799a4f Rollback of sort of members
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137765 13f79535-47bb-0310-9956-ffa450edef68
2004-01-31 09:57:39 +00:00
Gary D. Gregory 90ecd2e1e7 Sort members (Eclipse defaults).
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137764 13f79535-47bb-0310-9956-ffa450edef68
2004-01-30 02:12:22 +00:00
Gary D. Gregory 359ac768ff Duplicate @author tags for Fredrik Westermarck.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137763 13f79535-47bb-0310-9956-ffa450edef68
2004-01-30 01:51:36 +00:00
Gary D. Gregory b4ec10a316 Three new methods and unit tests: add(Object[],Object), add(Object[],int,Object), and join(Object[],Object[]).
PR: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26056
Submitted by:	Gary Gregory and Maarten Coene
Reviewed by:	Gary Gregory


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137762 13f79535-47bb-0310-9956-ffa450edef68
2004-01-30 01:39:58 +00:00
Tim O'Brien 8410469603 A simple spelling fix for ArrayUtils JavaDoc on the clone(Object[] array) method
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137759 13f79535-47bb-0310-9956-ffa450edef68
2004-01-25 00:09:10 +00:00
Fredrik Westermarck a9d8e8770a Using ArrayUtils.isEmpty() when testing arrays.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137758 13f79535-47bb-0310-9956-ffa450edef68
2004-01-19 23:24:07 +00:00
Gary D. Gregory 6903e5e8aa testIsEmpty methods now tests for nulls.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137757 13f79535-47bb-0310-9956-ffa450edef68
2004-01-19 22:55:05 +00:00
Fredrik Westermarck 79a860193f Added isEmpty for Object and primitives arrays. RFE in bugzilla (#26243).
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137756 13f79535-47bb-0310-9956-ffa450edef68
2004-01-19 21:50:06 +00:00
Fredrik Westermarck 2e82cc4a15 Fixed a couple of typos.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137755 13f79535-47bb-0310-9956-ffa450edef68
2004-01-19 21:41:43 +00:00
Stephen Colebourne 0d4f76d6f6 Make shared keys private scope not public as not really part of API
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137751 13f79535-47bb-0310-9956-ffa450edef68
2004-01-15 21:20:12 +00:00
Stephen Colebourne 5085298086 Use @throws instead of @exception
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137750 13f79535-47bb-0310-9956-ffa450edef68
2004-01-15 21:17:33 +00:00
Tim O'Brien 8a9baf0e02 Commons Lang Maven site now has a white banner background. A commons logo, a link back to Jakarta commons in the top nav. The site builds with Maven RC1.0.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137747 13f79535-47bb-0310-9956-ffa450edef68
2004-01-15 03:57:52 +00:00
Gary D. Gregory 4e0b6de05a PR: 25227
Obtained from: Discussion around http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25227


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137746 13f79535-47bb-0310-9956-ffa450edef68
2004-01-10 02:58:36 +00:00
Fredrik Westermarck 417f6b5b19 Removed typo in javadoc.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137745 13f79535-47bb-0310-9956-ffa450edef68
2004-01-10 01:59:40 +00:00
Fredrik Westermarck 1e818f6bbd Added nullhandling tests for isEquals.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137744 13f79535-47bb-0310-9956-ffa450edef68
2004-01-08 17:54:28 +00:00
Fredrik Westermarck 23b6d90ccf Fixed typo in javadoc for isEquals, repored by Cameron Hayne, hayne at sympatico dot ca.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137743 13f79535-47bb-0310-9956-ffa450edef68
2004-01-08 17:50:40 +00:00
Gary D. Gregory f863d668f3 PR: http://issues.apache.org/bugzilla/show_bug.cgi?id=25849
Added to SystemUtils: getJavaHome, getJavaIoTmpDir, getUserDir, getUserHome.
Sorted source (Eclispe).


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137742 13f79535-47bb-0310-9956-ffa450edef68
2003-12-31 22:01:06 +00:00
Gary D. Gregory 4418cc11fc PR: http://issues.apache.org/bugzilla/show_bug.cgi?id=25849
Added to SystemUtils: getJavaHome, getJavaIoTmpDir, getUserDir, getUserHome.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137741 13f79535-47bb-0310-9956-ffa450edef68
2003-12-31 22:00:31 +00:00
Gary D. Gregory 74548d494b Reformat (Eclipse) for line-length 120 and add missing @throws documentation.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137739 13f79535-47bb-0310-9956-ffa450edef68
2003-12-29 01:47:02 +00:00
Gary D. Gregory ee9ae46b05 Add missing @return tag.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137737 13f79535-47bb-0310-9956-ffa450edef68
2003-12-29 01:30:10 +00:00
Gary D. Gregory b10d0bbead Add missing @return tags on subarray methods.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137736 13f79535-47bb-0310-9956-ffa450edef68
2003-12-29 01:08:38 +00:00
Gary D. Gregory 09e2ea6cc8 Add missing Javadoc comments.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137735 13f79535-47bb-0310-9956-ffa450edef68
2003-12-29 00:58:27 +00:00
Gary D. Gregory 77f538e305 Add missing Javadoc comment.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137734 13f79535-47bb-0310-9956-ffa450edef68
2003-12-29 00:43:09 +00:00
Gary D. Gregory 6aee782c67 Add missing Javadoc comments.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137733 13f79535-47bb-0310-9956-ffa450edef68
2003-12-29 00:33:47 +00:00
Gary D. Gregory a81eb0a684 More precise Javadoc @see references.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137732 13f79535-47bb-0310-9956-ffa450edef68
2003-12-29 00:27:08 +00:00
Gary D. Gregory d7aeb4cdd3 Javadoc fix.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137731 13f79535-47bb-0310-9956-ffa450edef68
2003-12-26 22:04:49 +00:00
Stephen Colebourne c261fa490e Fix mistake and clarify javadoc spec for replace
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137730 13f79535-47bb-0310-9956-ffa450edef68
2003-12-24 01:33:30 +00:00
Phil Steitz e2225defe6 Deprecated integer MILLIS_IN_* constants and replaced with long versions
named MILLIS_PER_*.
PR # 25627
Reported by Nikolay Metchev


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137729 13f79535-47bb-0310-9956-ffa450edef68
2003-12-23 03:54:14 +00:00
Phil Steitz d206d8cfdc Added tests for days.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137728 13f79535-47bb-0310-9956-ffa450edef68
2003-12-20 22:40:40 +00:00
Phil Steitz 2207b846a0 javadoc, spelling error.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137727 13f79535-47bb-0310-9956-ffa450edef68
2003-12-20 22:19:21 +00:00
Henri Yandell 8bb7376303 moved the since to 3.0 as it will be at least until then before a release includes this I suspect, plus 2.0 was plain wrong
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137726 13f79535-47bb-0310-9956-ffa450edef68
2003-12-18 08:18:26 +00:00
Gary D. Gregory 5aeb74f109 http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25454
StringUtils.replaceChars(String,String,String).


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137725 13f79535-47bb-0310-9956-ffa450edef68
2003-12-15 01:52:32 +00:00
Gary D. Gregory 23aba54dfb Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137724 13f79535-47bb-0310-9956-ffa450edef68
2003-12-15 01:17:49 +00:00
Gary D. Gregory 9bb878d29e Record behavior in a test for From http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25454.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137721 13f79535-47bb-0310-9956-ffa450edef68
2003-12-11 22:17:22 +00:00
Stephen Colebourne be6bdde172 Add subarray methods for primitive types
Change subarray for Objects to return same type as input
from Ashwin S


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137720 13f79535-47bb-0310-9956-ffa450edef68
2003-12-05 23:37:18 +00:00
Gary D. Gregory d61058de63 Add missing Javadoc tags.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137719 13f79535-47bb-0310-9956-ffa450edef68
2003-12-02 19:11:58 +00:00
Stephen Colebourne a7b55abc7e Change author name (by request)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137718 13f79535-47bb-0310-9956-ffa450edef68
2003-11-30 13:36:08 +00:00
Stephen Colebourne cd7aa49c16 Add description and tests about the perils of nested enums
bug 23374


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137717 13f79535-47bb-0310-9956-ffa450edef68
2003-11-29 15:03:54 +00:00
Stephen Colebourne 55a8a1e34c Add extra factory methods for convenience
bug 23590, from Nikolay Metchev


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137716 13f79535-47bb-0310-9956-ffa450edef68
2003-11-29 13:52:34 +00:00
Stephen Colebourne 2b331390bd Assign authors correctly
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137715 13f79535-47bb-0310-9956-ffa450edef68
2003-11-29 13:24:33 +00:00
Stephen Colebourne 4812bc7c17 Remove end of line spaces
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137714 13f79535-47bb-0310-9956-ffa450edef68
2003-11-29 13:13:32 +00:00
Stephen Colebourne 00db5573e6 Add subArray method to get a portion of an array
from Ash


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137713 13f79535-47bb-0310-9956-ffa450edef68
2003-11-29 12:56:16 +00:00
Gary D. Gregory 4db1390786 Add ToStringStyle.SHORT_PREFIX_STYLE as discussed on commons-dev.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137712 13f79535-47bb-0310-9956-ffa450edef68
2003-11-25 00:53:55 +00:00
Phil Steitz 9ebdce7348 Fixed error in javadoc for StringUtils.split and improved tests.
Pr: 24911
Submitted by Al Chou.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137711 13f79535-47bb-0310-9956-ffa450edef68
2003-11-23 20:44:39 +00:00
Stephen Colebourne 71de3f7ed9 Initial checkin of the Tokenizer class
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137709 13f79535-47bb-0310-9956-ffa450edef68
2003-11-17 23:02:18 +00:00
Fredrik Westermarck f6c1ac465f Converting some chars in javadoc into html-enteties.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137708 13f79535-47bb-0310-9956-ffa450edef68
2003-11-04 21:16:34 +00:00
Fredrik Westermarck d0d9170bc0 Using StringUtils.isEmpty() when testing Strings.
Renamed the parameter string to the more commonly used str in removeStart() and removeEnd.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137707 13f79535-47bb-0310-9956-ffa450edef68
2003-11-04 21:00:22 +00:00
Fredrik Westermarck f225551e91 Split a long method declaration into two lines to keep checkstyle happy.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137706 13f79535-47bb-0310-9956-ffa450edef68
2003-11-04 20:31:45 +00:00
Fredrik Westermarck 0531f837cb Using StringUtils.isEmpty() when testing Strings.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137705 13f79535-47bb-0310-9956-ffa450edef68
2003-11-04 20:26:14 +00:00