Gary D. Gregory
44334fdc98
[34715][lang] unit test for org.apache.commons.lang.text.StrBuilder.
...
Patch applied, thanks.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@219083 13f79535-47bb-0310-9956-ffa450edef68
2005-07-14 19:52:31 +00:00
Gary D. Gregory
421ba4c94c
[Bug 35588] - [lang] New interpolation features.
...
Retro-fits the VariableResolver interface into the VariableFormatter class and provides a Map-backed VariableResolver implementation.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@219076 13f79535-47bb-0310-9956-ffa450edef68
2005-07-14 19:21:47 +00:00
Gary D. Gregory
ce389de49f
Temp Javadoc.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@219074 13f79535-47bb-0310-9956-ffa450edef68
2005-07-14 19:16:10 +00:00
Steven Caswell
0357006d9d
applied javadoc cleanup patch from http://issues.apache.org/bugzilla/show_bug.cgi?id=35676 (did not apply the VariableFormatter javadoc path since this class is still being worked)
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@209978 13f79535-47bb-0310-9956-ffa450edef68
2005-07-10 00:44:18 +00:00
Stephen Colebourne
32e80fc5e8
New methods and testing of StrBuilder
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@209943 13f79535-47bb-0310-9956-ffa450edef68
2005-07-09 13:41:02 +00:00
Gary D. Gregory
85c052b7b8
Removed extra ()'s.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@209631 13f79535-47bb-0310-9956-ffa450edef68
2005-07-07 18:47:50 +00:00
Stephen Colebourne
e2ef9f095a
Move ignore method to correct place in file
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@209537 13f79535-47bb-0310-9956-ffa450edef68
2005-07-06 23:11:46 +00:00
Stephen Colebourne
9d25ee76f8
Tidy javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@209531 13f79535-47bb-0310-9956-ffa450edef68
2005-07-06 22:35:51 +00:00
Gary D. Gregory
f994c98c39
Renamed VariableFormat to VariableFormatter since it is not a subclass of java.text.Format.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@209509 13f79535-47bb-0310-9956-ffa450edef68
2005-07-06 20:33:21 +00:00
Steven Caswell
6b869ef899
added comment to denote empty catch block
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@209375 13f79535-47bb-0310-9956-ffa450edef68
2005-07-06 01:18:57 +00:00
Steven Caswell
fc794c60ef
changed constructor empty statement to super
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@209374 13f79535-47bb-0310-9956-ffa450edef68
2005-07-06 01:17:48 +00:00
Steven Caswell
0732223726
removed empty statement from catch block that takes no action, using comment only to denote no action;
...
added super to empty constructors
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@209373 13f79535-47bb-0310-9956-ffa450edef68
2005-07-06 01:15:52 +00:00
Steven Caswell
8abba8d533
added super to empty constructors
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@209372 13f79535-47bb-0310-9956-ffa450edef68
2005-07-06 01:12:46 +00:00
Steven Caswell
554a0a8c45
removed empty statement from catch block that takes no action, using comment only to denote no action
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@209371 13f79535-47bb-0310-9956-ffa450edef68
2005-07-06 01:10:57 +00:00
Gary D. Gregory
5ec8a51d09
Towards version 2.2:
...
- Set the component version to 2.2-dev.
- Add .text classes VariableFormat and VariableFormatTest.
- Enable build of .text package.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@209296 13f79535-47bb-0310-9956-ffa450edef68
2005-07-05 16:27:10 +00:00
Gary D. Gregory
6d861c9098
Towards version 2.2:
...
- Set the component version to 2.2-dev.
- Add .text classes VariableFormat and VariableFormatTest.
- Enable build of .text package.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@209004 13f79535-47bb-0310-9956-ffa450edef68
2005-07-04 01:25:30 +00:00
Steven Caswell
53416f1e4f
added javadocs to inner class constructors
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@202055 13f79535-47bb-0310-9956-ffa450edef68
2005-06-27 20:41:03 +00:00
Steven Caswell
3eea891169
added missing javadoc tags
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@202052 13f79535-47bb-0310-9956-ffa450edef68
2005-06-27 20:34:13 +00:00
Steven Caswell
80dd30415e
added invocation of super() to constructor
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@202044 13f79535-47bb-0310-9956-ffa450edef68
2005-06-27 20:25:23 +00:00
Steven Caswell
12431fdb8f
added empty statement to empty catch blocks
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@202043 13f79535-47bb-0310-9956-ffa450edef68
2005-06-27 20:24:10 +00:00
Steven Caswell
ebff428ba5
chanegd empty statement in constructor to invocation of super()
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@201930 13f79535-47bb-0310-9956-ffa450edef68
2005-06-27 00:54:42 +00:00
Steven Caswell
6c691d01bd
corrected style issues (mostly empty blocks and missing javadocs)
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@201883 13f79535-47bb-0310-9956-ffa450edef68
2005-06-26 17:48:18 +00:00
Steven Caswell
b73111983b
corrected style issues (mostly empty blocks and missing javadocs)
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@201882 13f79535-47bb-0310-9956-ffa450edef68
2005-06-26 17:45:54 +00:00
Steven Caswell
4f7de5d638
corrected style issues (mostly empty blocks and missing javadocs)
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@201881 13f79535-47bb-0310-9956-ffa450edef68
2005-06-26 17:42:09 +00:00
Steven Caswell
687bb75889
(35366) Implementation of escape/unescapeHtml methods with Writer ( http://issues.apache.org/bugzilla/show_bug.cgi?id=35366 )
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@201875 13f79535-47bb-0310-9956-ffa450edef68
2005-06-26 16:56:36 +00:00
Gary D. Gregory
7a16f45c54
Changed @since 2.1 to @since 2.2 since these files did not make it into 2.1.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@201661 13f79535-47bb-0310-9956-ffa450edef68
2005-06-24 18:35:08 +00:00
Stephen Colebourne
1e1da2d2c7
Javadoc fix intended for 2.1 release
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@189443 13f79535-47bb-0310-9956-ffa450edef68
2005-06-07 21:28:07 +00:00
Gary D. Gregory
43f7a149e0
I've finally worked out the oddball build and class loading issue that only seems to happen on Windows XP (SP2) since Simon reports that the ant build works fine for him on Linux.
...
I can report success with "ant clean dist-build-2.1 test" on Sun Java versions:
1.5.0_03
1.5.0_02
1.4.2_08
1.3.1_14
In order achieve this; the new build.xml depends on Ant 1.6.
Version 1.2.2_017 hangs miserably for me though, as it did before.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@179242 13f79535-47bb-0310-9956-ffa450edef68
2005-05-31 17:48:08 +00:00
Gary D. Gregory
46fe76f81a
Javadoc method ClassUtilsTest#newSystemClassLoader() while looking for Sun Java 1.3.1 build issues on Windows XP. See http://marc.theaimsgroup.com/?l=jakarta-commons-dev&m=111738085310708&w=2
...
modified ClassUtilsTest.java
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@179179 13f79535-47bb-0310-9956-ffa450edef68
2005-05-31 02:18:27 +00:00
Steven Caswell
630e5aec86
added guard around some rounding tests that do not work in JDK versions prior to 1.4
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@178911 13f79535-47bb-0310-9956-ffa450edef68
2005-05-29 01:10:24 +00:00
Gary D. Gregory
57423f259f
Specification-Version: 2.1
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@170672 13f79535-47bb-0310-9956-ffa450edef68
2005-05-17 21:41:48 +00:00
Gary D. Gregory
f9e986558f
[Bug 34715][lang] unit test for org.apache.commons.lang.text.StrBuilder.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@166042 13f79535-47bb-0310-9956-ffa450edef68
2005-05-02 23:04:47 +00:00
Gary D. Gregory
7771e18974
A good start for: [Bug 34715][lang] unit test for org.apache.commons.lang.text.StrBuilder. From heuermh@acm.org.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@165710 13f79535-47bb-0310-9956-ffa450edef68
2005-05-02 22:55:31 +00:00
Gary D. Gregory
a22cada514
Replace the Javadoc pattern "A Matcher which matches the XXX character." with "Matches the XXX character.". (A matcher matches of course ;-) Use the active voice or “third-person verb form”, I only know it is called the “third-person verb form” because I read it in the most excellent tiny little book “The Elements of Java Style”.)
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@165694 13f79535-47bb-0310-9956-ffa450edef68
2005-05-02 21:16:58 +00:00
Gary D. Gregory
62746c899f
Javadoc nit.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@165687 13f79535-47bb-0310-9956-ffa450edef68
2005-05-02 21:06:38 +00:00
Gary D. Gregory
bc218db61c
Fix 120-length warnings reported for 2.1-RC4 here: http://people.apache.org/~stevencaswell/commons-lang-2.1/docs/checkstyle-report.html
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@165657 13f79535-47bb-0310-9956-ffa450edef68
2005-05-02 18:31:49 +00:00
Steven Caswell
cd2d9b18c5
changed to reflect version 2.1
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@164648 13f79535-47bb-0310-9956-ffa450edef68
2005-04-25 21:06:15 +00:00
Martin van den Bemt
363f779eb1
Change WordWrapUtils to WordUtils.. Just noticed it in the javadocs.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@161678 13f79535-47bb-0310-9956-ffa450edef68
2005-04-17 18:42:40 +00:00
Gary D. Gregory
5e18fd65ff
Updated copyright statements for 2005.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@161244 13f79535-47bb-0310-9956-ffa450edef68
2005-04-14 06:16:36 +00:00
Gary D. Gregory
4f69e5183a
Updated copyright statements for 2005.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@161243 13f79535-47bb-0310-9956-ffa450edef68
2005-04-14 04:30:28 +00:00
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
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
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