Commit Graph

899 Commits

Author SHA1 Message Date
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
Tim O'Brien 25027ea901 Added tests for the creation of BigInteger from a String, and for catching
bad input to isNumber.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137684 13f79535-47bb-0310-9956-ffa450edef68
2003-10-11 21:20:24 +00:00
Tim O'Brien 7e81d9ca76 Added various tests to the NumberRangeTest class,
including tests for null parameters to overlap, include*, and
constructors.  Tests for hashCode, and tests for equals.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137683 13f79535-47bb-0310-9956-ffa450edef68
2003-10-11 20:35:11 +00:00
Tim O'Brien c997991e46 Added one test case to ArrayUtilsTest and some small changes to test
cases to test indexOf and lastIndexOf with negative array
index values.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137682 13f79535-47bb-0310-9956-ffa450edef68
2003-10-11 19:58:40 +00:00
Stephen Colebourne 3986e17cf1 Make the contributers list more readble
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137681 13f79535-47bb-0310-9956-ffa450edef68
2003-10-07 21:05:03 +00:00
Stephen Colebourne 0ae8741d3b Add IS_OS_UNIX to SystemUtils
from Rafal Krupinski


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137680 13f79535-47bb-0310-9956-ffa450edef68
2003-10-07 20:59:46 +00:00
Stephen Colebourne 77f44ba271 Update licence
Tidy file


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137679 13f79535-47bb-0310-9956-ffa450edef68
2003-10-07 20:36:26 +00:00
Robert Burrell Donkin 09e6f119f5 Corrected licenses to match jakarta-commons standard.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137678 13f79535-47bb-0310-9956-ffa450edef68
2003-10-05 15:46:55 +00:00
Stephen Colebourne 4892e87a4f Fredrik is now a developer not a committer
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137677 13f79535-47bb-0310-9956-ffa450edef68
2003-10-02 20:34:16 +00:00
Fredrik Westermarck a9a2f485e7 Replacing tabs with spaces to keep checkstyle happy.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137676 13f79535-47bb-0310-9956-ffa450edef68
2003-09-24 20:28:25 +00:00
Fredrik Westermarck da6c19af5b Using StringUtils.isEmpty where possible.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137675 13f79535-47bb-0310-9956-ffa450edef68
2003-09-24 20:22:33 +00:00
Fredrik Westermarck 68527f750d Removed todo that has been adressed.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137674 13f79535-47bb-0310-9956-ffa450edef68
2003-09-23 19:51:04 +00:00
Fredrik Westermarck e645ec831f Added examples in javadoc.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137673 13f79535-47bb-0310-9956-ffa450edef68
2003-09-23 19:45:14 +00:00
Fredrik Westermarck c978c7f029 Improved performance if str is null.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137672 13f79535-47bb-0310-9956-ffa450edef68
2003-09-23 17:02:10 +00:00
Fredrik Westermarck 00731e8e2a Renamed stringTo<Type>-metods to to<Type>.
The stringToInt-methods have been deprecated.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137671 13f79535-47bb-0310-9956-ffa450edef68
2003-09-23 15:46:42 +00:00
Fredrik Westermarck 9622df2db9 Added myself as a committer.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137670 13f79535-47bb-0310-9956-ffa450edef68
2003-09-22 13:38:00 +00:00
Stephen Colebourne e459236715 Remove reflect code from [lang] to separate project [reflect]
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137669 13f79535-47bb-0310-9956-ffa450edef68
2003-09-20 10:18:56 +00:00
Phil Steitz 47979b1a49 Formatting changes (inserting missing {}s) in StringEscapeUtils.
Patch submitted by Fredrik Westermarck
Reviewed by Phil Steitz


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137668 13f79535-47bb-0310-9956-ffa450edef68
2003-09-13 03:23:24 +00:00
Phil Steitz c94b5776c1 Formatting changes (inserting missing {}s) in Entities, NestableDelagate, NumberUtils, MethodUtils.
Added javadoc examples for string conversion methods in NumberUtils.
Patch submitted by Fredrik Westermarck
Reviewed by Phil Steitz


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137667 13f79535-47bb-0310-9956-ffa450edef68
2003-09-13 03:11:30 +00:00
Phil Steitz fd3bd5bdd2 Fixed typos in javadoc and some inline comments.
Pr #22908.
Patch submitted by Janek Bogucki.
Reviewed by Phil Steitz.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137666 13f79535-47bb-0310-9956-ffa450edef68
2003-09-07 14:32:35 +00:00
Phil Steitz a86bc0dba1 Added contributors (sans emails) to project.xml based on @author grep.
Changed maven poweredBy image.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137665 13f79535-47bb-0310-9956-ffa450edef68
2003-09-06 03:08:39 +00:00
Phil Steitz 69b8f445d7 Added stringToDouble, stringToLong functions to NumberUtils.
Patch supplied by Fredrik Westermarck
Reviewd by Phil Steitz


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137664 13f79535-47bb-0310-9956-ffa450edef68
2003-09-05 15:55:09 +00:00
Gary D. Gregory 2546311b27 Added ordinalIndexOf() and associated unit tests.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137663 13f79535-47bb-0310-9956-ffa450edef68
2003-09-04 18:18:18 +00:00
Phil Steitz b586a8123d Added missing constructor calls to complete path coverage in IntRangeTest.
Suggested by Janek Bogucki.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137662 13f79535-47bb-0310-9956-ffa450edef68
2003-09-04 16:25:56 +00:00
Phil Steitz e0bee37d15 Added stringToFloat to NumberUtils
Patch contributed by Fredrik Westermarck
Reviewed by Phil Steitz


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137661 13f79535-47bb-0310-9956-ffa450edef68
2003-09-04 07:27:12 +00:00
Henri Yandell 8822731cb3 Fixed dist url and declared 2.1 as the next version
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137660 13f79535-47bb-0310-9956-ffa450edef68
2003-09-02 02:37:21 +00:00
Stephen Colebourne f20a3903bb Fix Javadoc problems arising from recent commits
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137658 13f79535-47bb-0310-9956-ffa450edef68
2003-08-23 10:39:20 +00:00
Henri Yandell 25fdafc320 dist-build now forces a clean
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137657 13f79535-47bb-0310-9956-ffa450edef68
2003-08-23 05:27:30 +00:00
Gary D. Gregory d9feeca6e4 Class Javadoc: Normalize the first sentence.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137656 13f79535-47bb-0310-9956-ffa450edef68
2003-08-23 00:41:29 +00:00
Gary D. Gregory 4b4b5a8295 Class Javadoc: Normalize the first sentence.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137655 13f79535-47bb-0310-9956-ffa450edef68
2003-08-23 00:22:53 +00:00
Gary D. Gregory 3ac49984ed Class Javadoc: Normalize the first sentence and some @see's and {@link}s
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137654 13f79535-47bb-0310-9956-ffa450edef68
2003-08-23 00:21:49 +00:00