Commit Graph

791 Commits

Author SHA1 Message Date
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 f8809cc8c8 Update my developer tag.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137740 13f79535-47bb-0310-9956-ffa450edef68
2003-12-29 17:54:02 +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 264763fd84 Point Javadoc to the Sun 1.3 API doc since 1.2 is no longer on-line.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137738 13f79535-47bb-0310-9956-ffa450edef68
2003-12-29 01:36:12 +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 e8058a5417 Tweak my <developer> entry.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137723 13f79535-47bb-0310-9956-ffa450edef68
2003-12-15 00:09:44 +00:00
Phil Steitz 39a04307e0 Changed junit dependency version to 3.8.1
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137722 13f79535-47bb-0310-9956-ffa450edef68
2003-12-14 21:52:51 +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
Phil Steitz 6b2919f243 Inserted empty logo to elimninate broken image from maven site.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137710 13f79535-47bb-0310-9956-ffa450edef68
2003-11-18 07:03:38 +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
Phil Steitz d11b056b34 Added maven site xdocs.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137704 13f79535-47bb-0310-9956-ffa450edef68
2003-11-04 14:45:23 +00:00
Daniel Rall f9bb3689e9 * src/java/org/apache/commons/lang/exception/ExceptionUtils.java
getCause(Throwable), getCause(Throwable, String[]): Added @since tags.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137703 13f79535-47bb-0310-9956-ffa450edef68
2003-11-04 00:04:40 +00:00
Gary D. Gregory 41ff6f096e javadoc.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137702 13f79535-47bb-0310-9956-ffa450edef68
2003-11-03 03:48:59 +00:00
Gary D. Gregory 7f13c39483 Remove convenience toStringWithStatics APIs.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137701 13f79535-47bb-0310-9956-ffa450edef68
2003-11-03 00:21:19 +00:00
Stephen Colebourne c8f84f3a22 Move remove code to relevant position in source file
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137700 13f79535-47bb-0310-9956-ffa450edef68
2003-11-01 19:20:35 +00:00
Gary D. Gregory 293c1a7ea6 Added public static String removeEnd(String str, String remove).
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137699 13f79535-47bb-0310-9956-ffa450edef68
2003-10-29 02:16:30 +00:00
Gary D. Gregory 576920fa5b Added public static String removeEnd(String str, String remove).
Reimpl'd removeStart.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137698 13f79535-47bb-0310-9956-ffa450edef68
2003-10-29 02:16:15 +00:00
Gary D. Gregory b6bfdf9551 Added public static String removeStart(String str, String remove).
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137697 13f79535-47bb-0310-9956-ffa450edef68
2003-10-29 01:50:14 +00:00