Commit Graph

725 Commits

Author SHA1 Message Date
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
Gary D. Gregory 338dc559fe Class Javadoc: Normalize on the active voice, "Returns", "Sets", etc.
The .lang pkg now lists with consistent format in the package level doc too.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137653 13f79535-47bb-0310-9956-ffa450edef68
2003-08-22 17:25:33 +00:00
Gary D. Gregory 172095f52e Javadoc: Normalize on the active voice, "Returns", "Sets", etc.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137652 13f79535-47bb-0310-9956-ffa450edef68
2003-08-22 16:57:04 +00:00
Gary D. Gregory 95bce1fb29 Javadoc: Added missing end tags for <li>.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137651 13f79535-47bb-0310-9956-ffa450edef68
2003-08-22 16:34:06 +00:00
Phil Steitz b9751024d0 add reference to checkstyle.xml and set junit.fork=true
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137650 13f79535-47bb-0310-9956-ffa450edef68
2003-08-22 05:02:39 +00:00
Phil Steitz 3c712f6fbb replacement for checkstyle.properties
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137649 13f79535-47bb-0310-9956-ffa450edef68
2003-08-22 05:01:03 +00:00
Phil Steitz 8e9b5c0e7b * Added myself as a project member
* Limited tests to **/*TestSuite.java
* Added <reports> section to limit reports generated


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137648 13f79535-47bb-0310-9956-ffa450edef68
2003-08-22 04:57:29 +00:00
Gary D. Gregory 22aeaddb5e Add @since 2.0 tags based on http://www.apache.org/~bayard/commons-lang-2.0/Commons-Lang-1.0.1-to-2.0/missingSinces.txt
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137647 13f79535-47bb-0310-9956-ffa450edef68
2003-08-22 03:06:36 +00:00
Henri Yandell 30c4f3890d Fixed the crlf fixing for txt files in the binary build.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137646 13f79535-47bb-0310-9956-ffa450edef68
2003-08-22 01:33:12 +00:00
Gary D. Gregory 70075bdf4a Renamed StringUtils.differenceAt() to StringUtils.indexOfDifference()
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137645 13f79535-47bb-0310-9956-ffa450edef68
2003-08-21 22:13:24 +00:00
Gary D. Gregory fac4f8d2d6 Add @since 2.0 tags based on http://www.apache.org/~bayard/commons-lang-2.0/Commons-Lang-1.0.1-to-2.0/missingSinces.txt
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137644 13f79535-47bb-0310-9956-ffa450edef68
2003-08-21 15:52:55 +00:00
Gary D. Gregory f74b10ecad Add @since 2.0 tags based on http://www.apache.org/~bayard/commons-lang-2.0/Commons-Lang-1.0.1-to-2.0/missingSinces.txt
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137643 13f79535-47bb-0310-9956-ffa450edef68
2003-08-21 15:13:09 +00:00
Gary D. Gregory 7fedb2b1cc Add @since 2.0 tags based on http://www.apache.org/~bayard/commons-lang-2.0/Commons-Lang-1.0.1-to-2.0/missingSinces.txt
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137642 13f79535-47bb-0310-9956-ffa450edef68
2003-08-21 05:57:21 +00:00
Gary D. Gregory 8b34e1dffc Add @since 2.0 tags based on http://www.apache.org/~bayard/commons-lang-2.0/Commons-Lang-1.0.1-to-2.0/missingSinces.txt
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137641 13f79535-47bb-0310-9956-ffa450edef68
2003-08-21 05:35:23 +00:00
Gary D. Gregory 4e3962a6e4 Follow same @author style.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137640 13f79535-47bb-0310-9956-ffa450edef68
2003-08-21 05:26:02 +00:00
Gary D. Gregory 07ea8e7fa2 Add @since 2.0 tags based on http://www.apache.org/~bayard/commons-lang-2.0/Commons-Lang-1.0.1-to-2.0/missingSinces.txt
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137639 13f79535-47bb-0310-9956-ffa450edef68
2003-08-21 05:25:34 +00:00
Henri Yandell 2608220ef7 Versioned with 2.0
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137638 13f79535-47bb-0310-9956-ffa450edef68
2003-08-21 02:48:44 +00:00
Henri Yandell e772c80ab2 Removed test.util from the tests run in a build.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137637 13f79535-47bb-0310-9956-ffa450edef68
2003-08-21 02:48:03 +00:00
Phil Steitz 6571e5e33f Adding humble self as committer
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137636 13f79535-47bb-0310-9956-ffa450edef68
2003-08-20 04:20:27 +00:00
Henri Yandell 6658efcb5f Moved BitField/Validate
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137635 13f79535-47bb-0310-9956-ffa450edef68
2003-08-19 02:40:47 +00:00
Henri Yandell 21e376f8f7 Moved BitField and Validate. Will rebuild the jardiff later.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137634 13f79535-47bb-0310-9956-ffa450edef68
2003-08-19 02:39:59 +00:00
Henri Yandell f5a4e148c5 Removed UtilTestSuite
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137633 13f79535-47bb-0310-9956-ffa450edef68
2003-08-19 02:38:56 +00:00
Henri Yandell 5c40d53bf0 Moved BitField and Validate from the util package up to the main package.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137632 13f79535-47bb-0310-9956-ffa450edef68
2003-08-19 02:32:16 +00:00
Stephen Colebourne 8d36a61bb5 Remove evaluateSet(String) which is deprecated, but wasn't in 1.0.1
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137631 13f79535-47bb-0310-9956-ffa450edef68
2003-08-19 00:21:46 +00:00
Stephen Colebourne 73031bac98 Javadoc fixes
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137630 13f79535-47bb-0310-9956-ffa450edef68
2003-08-19 00:11:20 +00:00