Stephen Colebourne
30426cf21e
Extra tests suggested by Clover
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137568 13f79535-47bb-0310-9956-ffa450edef68
2003-08-04 02:01:53 +00:00
Stephen Colebourne
8e8b50466b
Make serialvers consistent
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137567 13f79535-47bb-0310-9956-ffa450edef68
2003-08-04 01:20:47 +00:00
Stephen Colebourne
93e3168da1
Rename includeXxx() to containsXxx()
...
for consistency with rest of [lang] and Java
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137566 13f79535-47bb-0310-9956-ffa450edef68
2003-08-04 01:14:02 +00:00
Stephen Colebourne
d43b319902
Improve CharSet testing
...
bug 22095, from Phil Steitz
Rewrite CharSet parsing, much neater and simpler now
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137565 13f79535-47bb-0310-9956-ffa450edef68
2003-08-04 00:50:14 +00:00
Stephen Colebourne
34f6fa8a78
Add additional constructor to complete the set
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137564 13f79535-47bb-0310-9956-ffa450edef68
2003-08-04 00:46:47 +00:00
Steven Caswell
a3ae0e2804
Added tests to increase coverage (suggested by Clover)
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137563 13f79535-47bb-0310-9956-ffa450edef68
2003-08-04 00:21:19 +00:00
Steven Caswell
0b3fe95c2b
Updated iterator method javadocs to specify valid values of the range style argument
...
Added throwing IllegalArgumentException in parseCVS method when "last x" is unknown type
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137562 13f79535-47bb-0310-9956-ffa450edef68
2003-08-04 00:19:43 +00:00
Stephen Colebourne
d35d966e65
Add tolerance checking to indexOf methods
...
bug 22091, from Tim O'Brien
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137561 13f79535-47bb-0310-9956-ffa450edef68
2003-08-03 23:29:19 +00:00
Stephen Colebourne
3401226d40
Javadoc fixes
...
bug 22094, from Tim O'Brien
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137560 13f79535-47bb-0310-9956-ffa450edef68
2003-08-03 22:43:03 +00:00
Stephen Colebourne
e356710ae4
Attempt to get around a JDK Linux bug
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137559 13f79535-47bb-0310-9956-ffa450edef68
2003-08-02 18:38:36 +00:00
Stephen Colebourne
9114dac200
Update status docs following CharRange/CharSet change
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137558 13f79535-47bb-0310-9956-ffa450edef68
2003-08-02 18:28:19 +00:00
Stephen Colebourne
0b1885821a
Completely rework CharRange and CharSet.
...
Add multiple tests to fully define the set syntax.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137557 13f79535-47bb-0310-9956-ffa450edef68
2003-08-02 18:18:33 +00:00
Stephen Colebourne
5fd988cfcb
Improve toString() using StringBuffer
...
from Chris Feldhacker
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137556 13f79535-47bb-0310-9956-ffa450edef68
2003-08-02 11:20:49 +00:00
Stephen Colebourne
fd27d2ecdf
Reorder indexOf methods in file
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137555 13f79535-47bb-0310-9956-ffa450edef68
2003-08-01 23:58:30 +00:00
Stephen Colebourne
8ce98776ee
Complete the indexOfAny() method set
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137554 13f79535-47bb-0310-9956-ffa450edef68
2003-08-01 23:54:41 +00:00
Stephen Colebourne
0dce2b5285
Relax exceptions in leftPad(), rightPad() and center()
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137553 13f79535-47bb-0310-9956-ffa450edef68
2003-08-01 23:20:06 +00:00
Stephen Colebourne
9a51cf5efc
Relax exceptions in left(), right() and mid()
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137552 13f79535-47bb-0310-9956-ffa450edef68
2003-08-01 23:11:55 +00:00
Stephen Colebourne
f085c58744
Add overlay() as a replacement for overlayString()
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137551 13f79535-47bb-0310-9956-ffa450edef68
2003-08-01 23:01:52 +00:00
Stephen Colebourne
95c2d8bbad
Add substringBetween() as a replacement for getNestedString()
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137550 13f79535-47bb-0310-9956-ffa450edef68
2003-08-01 22:05:43 +00:00
Stephen Colebourne
4da8084e45
Add join(Object[]) as a replacement for concatenate
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137549 13f79535-47bb-0310-9956-ffa450edef68
2003-08-01 21:02:16 +00:00
Stephen Colebourne
a2bb66002d
File formatting for clarity
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137548 13f79535-47bb-0310-9956-ffa450edef68
2003-08-01 20:45:17 +00:00
Stephen Colebourne
035055e826
Extra tests suggested by Clover
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137547 13f79535-47bb-0310-9956-ffa450edef68
2003-08-01 00:12:32 +00:00
Stephen Colebourne
87b920c44b
Hide NPE from ArrayUtils as IAE
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137546 13f79535-47bb-0310-9956-ffa450edef68
2003-07-31 23:55:57 +00:00
Stephen Colebourne
bcfc9c2602
Make ClassUtils handle null more nicely
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137545 13f79535-47bb-0310-9956-ffa450edef68
2003-07-31 23:47:20 +00:00
Stephen Colebourne
aa3b4bbccc
Unify exception handling re IAE
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137544 13f79535-47bb-0310-9956-ffa450edef68
2003-07-31 23:45:28 +00:00
Stephen Colebourne
43db5237ab
Fix RandomStringUtils to not throw NPE all the time
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137543 13f79535-47bb-0310-9956-ffa450edef68
2003-07-31 23:24:35 +00:00
Stephen Colebourne
6d98f1d5f3
Extra tests suggested by Clover
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137542 13f79535-47bb-0310-9956-ffa450edef68
2003-07-31 23:03:46 +00:00
Stephen Colebourne
f62d2f0590
Extra tests suggested by Clover
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137541 13f79535-47bb-0310-9956-ffa450edef68
2003-07-31 22:36:39 +00:00
Stephen Colebourne
c6bfb25997
Extra tests suggested by Clover
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137540 13f79535-47bb-0310-9956-ffa450edef68
2003-07-31 22:31:12 +00:00
Stephen Colebourne
ed86f124d6
Emit correct exceptions
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137539 13f79535-47bb-0310-9956-ffa450edef68
2003-07-31 22:30:07 +00:00
Stephen Colebourne
4926914ecb
Fix CharSetUtils to not throw NPE all the time
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137538 13f79535-47bb-0310-9956-ffa450edef68
2003-07-31 21:32:47 +00:00
Stephen Colebourne
357851bdb1
Add replaceChars() to StringUtils
...
Deprecate translate() on CharSetUtils
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137537 13f79535-47bb-0310-9956-ffa450edef68
2003-07-31 20:38:26 +00:00
Henri Yandell
5596790adb
Added note that IllegalArgumentException should be thrown when a bad argument
...
of 'null' is passed in and not NullPointerException.
Also a note that XxxUtils classes should suppress Exceptions when sensible.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137536 13f79535-47bb-0310-9956-ffa450edef68
2003-07-30 23:58:36 +00:00
Henri Yandell
0786ecd354
Added note that XxxUtils classes are not to be final.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137535 13f79535-47bb-0310-9956-ffa450edef68
2003-07-30 23:54:33 +00:00
Stephen Colebourne
7f7d37421a
Bring EnumUtils public constructor testing in line with main package
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137534 13f79535-47bb-0310-9956-ffa450edef68
2003-07-30 23:21:39 +00:00
Stephen Colebourne
d793a1fd62
Lang version 1.0.1 serial compatability
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137533 13f79535-47bb-0310-9956-ffa450edef68
2003-07-30 23:17:23 +00:00
Stephen Colebourne
7f9f65f7e2
Extra tests and optimisations suggested by Clover
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137532 13f79535-47bb-0310-9956-ffa450edef68
2003-07-30 23:13:09 +00:00
Stephen Colebourne
c7767ea25b
Additional tests as suggested by Clover report
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137531 13f79535-47bb-0310-9956-ffa450edef68
2003-07-30 22:21:39 +00:00
Stephen Colebourne
35b8cc4ce3
Fixes arising from Clover report
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137530 13f79535-47bb-0310-9956-ffa450edef68
2003-07-30 22:17:49 +00:00
Stephen Colebourne
45232572e2
Update javadoc to better describe method
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137529 13f79535-47bb-0310-9956-ffa450edef68
2003-07-30 22:17:00 +00:00
Stephen Colebourne
61df6f8b53
Make package scoped
...
Format as per the [lang] coding standards
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137528 13f79535-47bb-0310-9956-ffa450edef68
2003-07-30 21:16:13 +00:00
Henri Yandell
1f9205ff84
Backed the 1.0.1 out. Maybe it doesn't make sense.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137527 13f79535-47bb-0310-9956-ffa450edef68
2003-07-30 03:30:58 +00:00
Henri Yandell
ebf4847c53
Added in the bugs fixed in the last few weeks.
...
Changed comment to say that these are the changes since 1.0.1.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137526 13f79535-47bb-0310-9956-ffa450edef68
2003-07-30 03:21:42 +00:00
Henri Yandell
87f80c4dca
Changed so it stops putting .html files into the jar file.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137525 13f79535-47bb-0310-9956-ffa450edef68
2003-07-30 01:32:09 +00:00
Stephen Colebourne
3a8907682b
Javadoc fixes and improved tests
...
bug 21952, from Phil Steitz
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137524 13f79535-47bb-0310-9956-ffa450edef68
2003-07-30 00:08:38 +00:00
Henri Yandell
0c1c4431d2
Updated version so that new builds will be rc2.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137523 13f79535-47bb-0310-9956-ffa450edef68
2003-07-30 00:06:44 +00:00
Stephen Colebourne
4f1528447c
Redo null/empty string checking for performance
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137522 13f79535-47bb-0310-9956-ffa450edef68
2003-07-28 21:37:32 +00:00
Gary D. Gregory
c8ecea62ca
Severity Description Resource In Folder Location Creation Time
...
The private field StringEscapeUtils.DEFAULT_ENTITIES is never read locally StringEscapeUtils.java Apache Jakarta Commons/lang/src/java/org/apache/commons/lang line 80 July 28, 2003 9:17:25 AM
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137521 13f79535-47bb-0310-9956-ffa450edef68
2003-07-28 16:17:57 +00:00
Gary D. Gregory
3b19309d76
Fix http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21904 as suggested (but with the guard clause factored in a method.)
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137520 13f79535-47bb-0310-9956-ffa450edef68
2003-07-26 19:12:30 +00:00
Stephen Colebourne
9410b31864
Remove final status, classes can be subclassed
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137519 13f79535-47bb-0310-9956-ffa450edef68
2003-07-26 15:39:04 +00:00