Gary D. Gregory
0cfce2932d
Refactor code in ToStringBuilder.reflectionToString(...) into a new subclass called ReflectionToStringBuilder.
...
All of the ToStringBuilder.reflectionToString(...) forward their calls to equivalent methods in ReflectionToStringBuilde.
ReflectionToStringBuilder can be subclassed to provide Field or value filtering.
Since the unit tests exercis ToStringBuilder.reflectionToString(...) which then forwards those calls to ReflectionToStringBuilder, and ReflectionToStringBuilder does not provide new features (yet), there are no new unit test cases (yet).
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137354 13f79535-47bb-0310-9956-ffa450edef68
2003-06-03 20:15:32 +00:00
Gary D. Gregory
a0be4d2757
Refactor code in ToStringBuilder.reflectionToString(...) into a new subclass called ReflectionToStringBuilder.
...
All of the ToStringBuilder.reflectionToString(...) forward their calls to equivalent methods in ReflectionToStringBuilde.
ReflectionToStringBuilder can be subclassed to provide Field or value filtering.
Since the unit tests exercis ToStringBuilder.reflectionToString(...) which then forwards those calls to ReflectionToStringBuilder, and ReflectionToStringBuilder does not provide new features (yet), there are no new unit test cases (yet).
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137353 13f79535-47bb-0310-9956-ffa450edef68
2003-06-03 03:51:56 +00:00
Gary D. Gregory
3bcf738220
Sort Members (Eclipse).
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137352 13f79535-47bb-0310-9956-ffa450edef68
2003-05-31 22:22:49 +00:00
Gary D. Gregory
e7d0572cf8
Include a Javadoc overview.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137351 13f79535-47bb-0310-9956-ffa450edef68
2003-05-31 18:44:36 +00:00
Gary D. Gregory
9503cd07e9
Normalize Javadocs.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137350 13f79535-47bb-0310-9956-ffa450edef68
2003-05-31 17:16:11 +00:00
Gary D. Gregory
bd2144eb32
Javadoc.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137349 13f79535-47bb-0310-9956-ffa450edef68
2003-05-31 01:02:33 +00:00
Gary D. Gregory
7722d187fc
Sorted members (this also give us the Javadoc 'Field Details' section in alphabetical order).
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137348 13f79535-47bb-0310-9956-ffa450edef68
2003-05-30 01:15:53 +00:00
Gary D. Gregory
4a6b9f65d0
Javadoc.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137347 13f79535-47bb-0310-9956-ffa450edef68
2003-05-30 01:12:26 +00:00
Gary D. Gregory
68696f5232
Javadoc.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137346 13f79535-47bb-0310-9956-ffa450edef68
2003-05-30 01:00:24 +00:00
Gary D. Gregory
e36ffc4ce7
Make the Standard Doclet version 1.4.1 not complain WRT '.'s.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137345 13f79535-47bb-0310-9956-ffa450edef68
2003-05-29 21:02:53 +00:00
Gary D. Gregory
41136c4f00
Create 'public static final' constants for the package separator and inner class separator characters/Strings.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137344 13f79535-47bb-0310-9956-ffa450edef68
2003-05-28 16:20:31 +00:00
Gary D. Gregory
06f93f2551
Removed unused import.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137343 13f79535-47bb-0310-9956-ffa450edef68
2003-05-24 19:24:15 +00:00
Alex Chaffee
1d44ada55f
making constants final (XML, HTML32, HTML40)
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137342 13f79535-47bb-0310-9956-ffa450edef68
2003-05-24 15:28:38 +00:00
Alex Chaffee
bd3497be79
fixed typo
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137341 13f79535-47bb-0310-9956-ffa450edef68
2003-05-24 15:21:02 +00:00
Alex Chaffee
1921f71345
continuing performance improvements-- now uses a binary lookup
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137340 13f79535-47bb-0310-9956-ffa450edef68
2003-05-24 15:11:36 +00:00
Stephen Colebourne
253e00baa9
Add OS name parsing to SystemUtils
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137339 13f79535-47bb-0310-9956-ffa450edef68
2003-05-24 14:34:14 +00:00
Alex Chaffee
0766ea1f69
initial performance testing for Entities
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137338 13f79535-47bb-0310-9956-ffa450edef68
2003-05-24 13:29:44 +00:00
Stephen Colebourne
e2211f3db6
Add SystemUtils tests
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137337 13f79535-47bb-0310-9956-ffa450edef68
2003-05-24 12:11:02 +00:00
Stephen Colebourne
d68d21856d
Update to protect against NPEs
...
Tidy up Java version code
Add Java version int to supplement float
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137336 13f79535-47bb-0310-9956-ffa450edef68
2003-05-24 12:06:37 +00:00
Stephen Colebourne
34cca2038a
Ignore bin directory
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137335 13f79535-47bb-0310-9956-ffa450edef68
2003-05-24 11:00:17 +00:00
Alex Chaffee
bf37701b41
add EntitiesTest to LangTestSuite
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137334 13f79535-47bb-0310-9956-ffa450edef68
2003-05-24 04:38:05 +00:00
Alex Chaffee
5203441765
refactoring Entities object in preparation for optimization
...
add unit tests for Entities class
move escape and unescape methods into Entities class
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137333 13f79535-47bb-0310-9956-ffa450edef68
2003-05-24 04:35:07 +00:00
Gary D. Gregory
47a26bad34
Change copyright in Javadoc output from 2002 to 2003.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137332 13f79535-47bb-0310-9956-ffa450edef68
2003-05-23 03:52:09 +00:00
Stephen Colebourne
e7d21364b5
Update licence and Organize imports
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137331 13f79535-47bb-0310-9956-ffa450edef68
2003-05-22 22:00:06 +00:00
Stephen Colebourne
2d97e55623
Reworked class to avoid security exceptions
...
from Michael Becke
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137330 13f79535-47bb-0310-9956-ffa450edef68
2003-05-22 21:51:26 +00:00
Stephen Colebourne
24b9603769
Update licence and Organize imports
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137329 13f79535-47bb-0310-9956-ffa450edef68
2003-05-21 23:49:15 +00:00
Stephen Colebourne
9a05c7404c
Update testing for FastDateFormat
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137328 13f79535-47bb-0310-9956-ffa450edef68
2003-05-21 23:41:21 +00:00
Stephen Colebourne
a4452d34e1
Update licence
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137327 13f79535-47bb-0310-9956-ffa450edef68
2003-05-21 23:40:24 +00:00
Stephen Colebourne
6d4516cccc
Update class and add javadoc ready for release
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137326 13f79535-47bb-0310-9956-ffa450edef68
2003-05-21 23:39:53 +00:00
Stephen Colebourne
378587735d
Change version number ready for release
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137325 13f79535-47bb-0310-9956-ffa450edef68
2003-05-21 23:37:20 +00:00
Gary D. Gregory
0cd7de5283
Fix javadoc, a <u> was used instead of a <p>.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137324 13f79535-47bb-0310-9956-ffa450edef68
2003-05-20 21:15:19 +00:00
Gary D. Gregory
199ec3aa9c
Fix javadoc, was missing a </code>.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137323 13f79535-47bb-0310-9956-ffa450edef68
2003-05-20 21:11:07 +00:00
Gary D. Gregory
cc411622e9
Improve performance (by ~10% on Sun Java 1.3.1_08) for the method escapeEntities(String str, Entities entities) by using the existing StringBuffer instead of String + to the same buffer.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137322 13f79535-47bb-0310-9956-ffa450edef68
2003-05-18 00:10:38 +00:00
Stephen Colebourne
713af7b691
Remove functor subpackage
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137321 13f79535-47bb-0310-9956-ffa450edef68
2003-05-16 22:17:35 +00:00
Stephen Colebourne
e329c3556c
Organize imports
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137320 13f79535-47bb-0310-9956-ffa450edef68
2003-05-16 22:08:31 +00:00
Stephen Colebourne
70cab8f8e6
Change Identifier generation code to be independent of functors
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137319 13f79535-47bb-0310-9956-ffa450edef68
2003-05-16 22:07:38 +00:00
Gary D. Gregory
9e0419790b
Javadoc only. Provide more uniform comments.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137318 13f79535-47bb-0310-9956-ffa450edef68
2003-05-16 19:00:07 +00:00
Stephen Colebourne
6098de63f7
Add since tags
...
Update javadoc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137317 13f79535-47bb-0310-9956-ffa450edef68
2003-05-16 16:14:17 +00:00
Henri Yandell
e2c43be20f
Commonly usable enhancements to some of the Exceptions found in java.lang.
...
Submitted by: Matthew Hawthorne
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137316 13f79535-47bb-0310-9956-ffa450edef68
2003-05-15 04:05:11 +00:00
Gary D. Gregory
794221a9ca
Be a little more precise in the IS_JAVA_* javadocs.
...
Make JAVA_* javadocs read more like sentences.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137315 13f79535-47bb-0310-9956-ffa450edef68
2003-05-14 17:13:00 +00:00
Henri Yandell
82c5dada6f
Bug #14357 fixed. Mohan's patch makes removeCommonFrames public, and adds an
...
isThrowableNested to ExceptionUtils.
It adds static attributes to decide if the stack trace should be topDown
and if the stack traces should be trimmed on repeat. If running 1.4 or higher,
it uses the default stack trace, and the functionality of NestableError,
NestableException and NestableRuntimeException getMessage()s all change.
Accompanying these changes are numerous tests.
Submitted by: Mohan Kishore
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137314 13f79535-47bb-0310-9956-ffa450edef68
2003-05-14 02:59:13 +00:00
Henri Yandell
9d8cc76413
Bug #19880 fixed. RandomStringUtils.random(int count, char[] set)
...
doesn't include the last character in set.
Submitted by: Phil Steitz
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137313 13f79535-47bb-0310-9956-ffa450edef68
2003-05-14 02:50:43 +00:00
Henri Yandell
9f2efa84a2
Bug #19756 dealt with.
...
Submitted by: Phil Steitz
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137312 13f79535-47bb-0310-9956-ffa450edef68
2003-05-14 02:41:26 +00:00
Henri Yandell
3734b1e3ad
Block nextInt(int) and nextLong(long) from being <= 0.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137311 13f79535-47bb-0310-9956-ffa450edef68
2003-05-12 04:41:40 +00:00
Henri Yandell
d129fa0e4a
Fixed bug reported by Phil Steitz in which poorly placed casting was
...
making all random methods return 0 :)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137310 13f79535-47bb-0310-9956-ffa450edef68
2003-05-12 04:29:26 +00:00
Henri Yandell
77ce33145f
Empty constructor stops it calling setSeed in Random's empty constructor.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137309 13f79535-47bb-0310-9956-ffa450edef68
2003-05-07 19:14:01 +00:00
Henri Yandell
d99a9fcfb9
RandomUtils functionality moved to JVMRandom. RandomUtils then becomes a proper XxxUtils class.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137308 13f79535-47bb-0310-9956-ffa450edef68
2003-05-07 15:09:19 +00:00
Gary D. Gregory
0de135be9c
Fix broken links. Use thrid person in comment. Use @see tags.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137307 13f79535-47bb-0310-9956-ffa450edef68
2003-05-06 22:10:40 +00:00
Stephen Colebourne
81b579a7eb
Add explicit public constructor
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137306 13f79535-47bb-0310-9956-ffa450edef68
2003-04-26 16:17:05 +00:00
Henri Yandell
e11a2eb63d
Stopping checkstyle from worrying about whether operators are at the end of a line or at the start of the line. I doubt it's something we care enough to standardise on.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137305 13f79535-47bb-0310-9956-ffa450edef68
2003-04-18 15:21:03 +00:00