Commit Graph

1100 Commits

Author SHA1 Message Date
Gary D. Gregory b0053ca691 Removed extra C style parens in return statements (as discussed on commons-dev).
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@161229 13f79535-47bb-0310-9956-ffa450edef68
2005-04-13 22:36:48 +00:00
Gary D. Gregory 887d935024 In the .text package (not for 2.1):
- Javadoc nits: missing tags, wrong name in @param, "." in 1st line.
- Refactored magic number "32" into static final "CAPACITY".
- Removed extra C-style "return (expr)" in return expressions.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@160943 13f79535-47bb-0310-9956-ffa450edef68
2005-04-11 20:11:40 +00:00
Henri Yandell fdaa1eb25a As far as I can tell, this method was in 2.0, so rolling the @since 2.1 back to 2.0. Hopefully this explains why JDiff thought it was a removed and added method signature
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@160809 13f79535-47bb-0310-9956-ffa450edef68
2005-04-11 00:38:04 +00:00
Stephen Colebourne 371c34bbea Add StringUtils.defaultIfEmpty
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@160807 13f79535-47bb-0310-9956-ffa450edef68
2005-04-10 23:25:25 +00:00
Gary D. Gregory d5f32c231c Removed extra C style parens in return statements.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@159551 13f79535-47bb-0310-9956-ffa450edef68
2005-03-31 00:56:20 +00:00
Henri Yandell fbe572c3ff includes default.properties in src builds now
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@157681 13f79535-47bb-0310-9956-ffa450edef68
2005-03-16 05:05:08 +00:00
Henri Yandell e8c2d55717 Using Maven for the source build, so need to get all the deliverables inside them
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@157368 13f79535-47bb-0310-9956-ffa450edef68
2005-03-14 02:39:54 +00:00
Henri Yandell f0376e00e6 added latest set of fixed issues in Bugz
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@156334 13f79535-47bb-0310-9956-ffa450edef68
2005-03-06 19:21:36 +00:00
Henri Yandell 325c03b6c3 also commenting out import statement for text so this builds :)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@156333 13f79535-47bb-0310-9956-ffa450edef68
2005-03-06 19:05:25 +00:00
Henri Yandell b4e543ab8d commenting out the text tests as they will not be in the next release
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@156332 13f79535-47bb-0310-9956-ffa450edef68
2005-03-06 19:03:31 +00:00
Henri Yandell b2f0bbd9aa added classic do not use this constructor
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@156331 13f79535-47bb-0310-9956-ffa450edef68
2005-03-06 19:01:38 +00:00
Henri Yandell 8776c4dfa5 Oops, forgot to roll this back when I killed the 2.1 branch
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@156009 13f79535-47bb-0310-9956-ffa450edef68
2005-03-03 05:06:47 +00:00
Henri Yandell 308009b9a1 Application of patch from Bugzilla: #33574, by Travis Stevens. Balances a call to appendFieldStart with an appendFieldEnd after appending the field. Test also included.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@156007 13f79535-47bb-0310-9956-ffa450edef68
2005-03-03 05:00:44 +00:00
Gary D. Gregory 634f0e9762 Remove unnecessary casts.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@155846 13f79535-47bb-0310-9956-ffa450edef68
2005-03-02 00:33:28 +00:00
Dirk Verbeeck 241d4ab3a3 convert .cvsignore to svn:ignore
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@155501 13f79535-47bb-0310-9956-ffa450edef68
2005-02-26 13:45:01 +00:00
Dirk Verbeeck cd34d6423d svn:keywords correction
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@155423 13f79535-47bb-0310-9956-ffa450edef68
2005-02-26 13:08:30 +00:00
Gary D. Gregory aef69406ea Fixes http://issues.apache.org/bugzilla/show_bug.cgi?id=33737.
[lang] ExceptionUtils.addCauseMethodName(String) does not check for duplicates.
Fix adds:
 ExceptionUtils.removeCauseMethodName(String)
 ExceptionUtils.isCauseMethodName(String)

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@155238 13f79535-47bb-0310-9956-ffa450edef68
2005-02-24 20:42:53 +00:00
Gary D. Gregory 9c273aa609 Fixes http://issues.apache.org/bugzilla/show_bug.cgi?id=33737.
[lang] ExceptionUtils.addCauseMethodName(String) does not check for duplicates.
Fix adds:
 ExceptionUtils.removeCauseMethodName(String)
 ExceptionUtils.isCauseMethodName(String)

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@155236 13f79535-47bb-0310-9956-ffa450edef68
2005-02-24 20:26:06 +00:00
Henri Yandell 1d9add9515 done tasks
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@153542 13f79535-47bb-0310-9956-ffa450edef68
2005-02-12 20:36:02 +00:00
Henri Yandell cf2dd60c0f fixed typo
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@153538 13f79535-47bb-0310-9956-ffa450edef68
2005-02-12 20:27:06 +00:00
Henri Yandell 445897f9bc trunk is now 2.2-dev
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@153536 13f79535-47bb-0310-9956-ffa450edef68
2005-02-12 20:24:16 +00:00
Henri Yandell 998419196f turning on pmd report
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@151646 13f79535-47bb-0310-9956-ffa450edef68
2005-02-07 00:41:36 +00:00
Henri Yandell a6c13872d5 added missing javadoc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@151311 13f79535-47bb-0310-9956-ffa450edef68
2005-02-04 03:30:51 +00:00
Henri Yandell 8f21c196bb javadoc fixing, as per checkstyle
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@151310 13f79535-47bb-0310-9956-ffa450edef68
2005-02-04 03:22:22 +00:00
Henri Yandell 228957a0e4 added javadoc and fixed long line as per checkstyle
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@151308 13f79535-47bb-0310-9956-ffa450edef68
2005-02-04 03:16:58 +00:00
Henri Yandell df21ea512e testing all primitive value methods, including the ones not implemented in the MutableXxx class so that we can tell when Sun change the wrapper implementations
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@151305 13f79535-47bb-0310-9956-ffa450edef68
2005-02-04 03:07:49 +00:00
Henri Yandell 2c13ceefd8 added javadoc to primitiveValue methods
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@151304 13f79535-47bb-0310-9956-ffa450edef68
2005-02-04 03:07:18 +00:00
Henri Yandell 8520859c40 missing @return, as per checkstyle
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@151300 13f79535-47bb-0310-9956-ffa450edef68
2005-02-04 02:42:03 +00:00
Henri Yandell 7cc5661f02 missing @return, as per checkstyle
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@151299 13f79535-47bb-0310-9956-ffa450edef68
2005-02-04 02:40:43 +00:00
Henri Yandell 9016bcaf0e missing @return, as per checkstyle
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@151298 13f79535-47bb-0310-9956-ffa450edef68
2005-02-04 02:39:28 +00:00
Henri Yandell 413cd09a61 removed tabs from source, as per checkstyle
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@151296 13f79535-47bb-0310-9956-ffa450edef68
2005-02-04 02:37:55 +00:00
Henri Yandell bb99d6906b added missing javadoc for private method, as per checkstyle
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@151295 13f79535-47bb-0310-9956-ffa450edef68
2005-02-04 02:37:30 +00:00
Henri Yandell 98a6ea6f1a added javadoc to private method, as per checkstyle
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@151294 13f79535-47bb-0310-9956-ffa450edef68
2005-02-04 02:32:43 +00:00
Henri Yandell 3378d09f16 rolling the forName method out for the 2.1 release
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@151282 13f79535-47bb-0310-9956-ffa450edef68
2005-02-04 01:21:19 +00:00
Henri Yandell ab27cc9c09 stab at making the javadoc a bit easier to understand
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@149480 13f79535-47bb-0310-9956-ffa450edef68
2005-02-02 04:46:02 +00:00
Henri Yandell ba92e4d253 tested some missing bad states
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@149477 13f79535-47bb-0310-9956-ffa450edef68
2005-02-02 03:52:50 +00:00
Dirk Verbeeck 1e9fbb7f10 Use SVN changelog
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@149180 13f79535-47bb-0310-9956-ffa450edef68
2005-01-30 23:02:28 +00:00
Henri Yandell 1070262a54 removing nagoya references
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@149101 13f79535-47bb-0310-9956-ffa450edef68
2005-01-30 04:23:40 +00:00
Henri Yandell dfed92e0fa removing nagoya references
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@149100 13f79535-47bb-0310-9956-ffa450edef68
2005-01-30 04:22:37 +00:00
Henri Yandell 9bf6c67314 added Class.forName improvement to see what people think
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@138016 13f79535-47bb-0310-9956-ffa450edef68
2005-01-27 06:45:11 +00:00
Henri Yandell 4af43102aa overloaded addAll for all primitives
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@138015 13f79535-47bb-0310-9956-ffa450edef68
2005-01-27 06:43:20 +00:00
Henri Yandell 838c1e7d0e primitive overloads added for add(array, int index, element)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@138014 13f79535-47bb-0310-9956-ffa450edef68
2005-01-22 04:22:12 +00:00
Gary D. Gregory 73c601bed5 Add test from http://issues.apache.org/bugzilla/show_bug.cgi?id=33067.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@138013 13f79535-47bb-0310-9956-ffa450edef68
2005-01-17 01:59:52 +00:00
Gary D. Gregory e3f46b722e No bug fix but add a test like http://issues.apache.org/bugzilla/show_bug.cgi?id=33069.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@138012 13f79535-47bb-0310-9956-ffa450edef68
2005-01-16 19:34:34 +00:00
Stephen Colebourne cd9922ef8b ToStringStyle setArrayEnd handled null incorrectly
bug 31933, fix from Masato Tezuka


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@138011 13f79535-47bb-0310-9956-ffa450edef68
2004-12-28 23:13:03 +00:00
Henri Yandell 2463fd3380 all non-covered parts of the code are now covered. 100% coverage for a package, while not in itself a great thing, feels damn good
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@138010 13f79535-47bb-0310-9956-ffa450edef68
2004-12-26 02:35:47 +00:00
Henri Yandell 60666b2ae2 Default is meant to be for the trimmer to be a NoMatcher.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@138009 13f79535-47bb-0310-9956-ffa450edef68
2004-12-25 21:02:20 +00:00
Henri Yandell 3155f2ce74 matching the other javadoc style; though I think it's a pretty useless bit of javadoc.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@138008 13f79535-47bb-0310-9956-ffa450edef68
2004-12-25 20:42:48 +00:00
Henri Yandell b7e3f07c5f I assume this is a typo, a second setting of the trimmer matcher.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@138007 13f79535-47bb-0310-9956-ffa450edef68
2004-12-25 20:41:23 +00:00
Henri Yandell bee437f63a Without this line the code infinite loops. With it the tests still fail, but a failure is nicer than an infinite loop.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@138006 13f79535-47bb-0310-9956-ffa450edef68
2004-12-25 20:30:16 +00:00