Commit Graph

1629 Commits

Author SHA1 Message Date
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
Gary D. Gregory b2109c1a4b Javadoc nits.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137696 13f79535-47bb-0310-9956-ffa450edef68
2003-10-23 22:27:45 +00:00
Gary D. Gregory 5d13513875 Add support for static field output.
Main points: 

(1) 
Deprecate in ReflectionToStringBuilder:

public static String toString(Object object, ToStringStyle style, boolean outputTransients, boolean outputStatics)

In favor of:

public static String toString(Object object, ToStringStyle style, boolean outputTransients, boolean outputStatics, Class reflectUpToClass)

(2) New convenience methods ReflectionToStringBuilder.toStringWithStatics.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137695 13f79535-47bb-0310-9956-ffa450edef68
2003-10-23 22:26:00 +00:00
Gary D. Gregory 667dcaf2ad Javadoc 1.4.2 fix.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137694 13f79535-47bb-0310-9956-ffa450edef68
2003-10-23 21:48:28 +00:00
Stephen Colebourne 39be668fb4 Another contributer
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137693 13f79535-47bb-0310-9956-ffa450edef68
2003-10-23 21:10:01 +00:00
Stephen Colebourne 08c8089c0c Enable change of javadoc location by property
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137692 13f79535-47bb-0310-9956-ffa450edef68
2003-10-23 21:07:44 +00:00
Stephen Colebourne 72b3bf9b7e More contributers
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137691 13f79535-47bb-0310-9956-ffa450edef68
2003-10-23 21:04:14 +00:00
Stephen Colebourne 866d054e1d Add primitiveToWrapper()
bug 23683, from Norm Deane


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137690 13f79535-47bb-0310-9956-ffa450edef68
2003-10-23 21:03:44 +00:00
Stephen Colebourne 7cd3c817e1 Javadoc of method contains
bug 23430, from Michael Heuer


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137689 13f79535-47bb-0310-9956-ffa450edef68
2003-10-23 20:49:22 +00:00
Stephen Colebourne 85d956d34c Fix javadoc of replace method
bug 24056, from Russell Dittmar


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137688 13f79535-47bb-0310-9956-ffa450edef68
2003-10-23 20:40:36 +00:00
Gary D. Gregory 451ae3e4e7 Added JAVA_ENDORSED_DIRS.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137687 13f79535-47bb-0310-9956-ffa450edef68
2003-10-23 03:55:34 +00:00
Stephen Colebourne d776d26889 Improve performance of BooleanUtils.toBoolean(String)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137686 13f79535-47bb-0310-9956-ffa450edef68
2003-10-21 23:23:06 +00:00
Stephen Colebourne 25a4549ceb Tweak deleteWhitespace to avoid creating a new String if possible
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137685 13f79535-47bb-0310-9956-ffa450edef68
2003-10-21 20:24:22 +00:00