Commit Graph

1450 Commits

Author SHA1 Message Date
Gary D. Gregory 5aeb66d2bf Another new boundary tests for VariableFormatterTest.java.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@225184 13f79535-47bb-0310-9956-ffa450edef68
2005-07-25 21:11:32 +00:00
Gary D. Gregory abbe3f0e26 IllegalStateException in text.VariableFormatter with "empty" keys.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@225179 13f79535-47bb-0310-9956-ffa450edef68
2005-07-25 20:52:08 +00:00
Gary D. Gregory d1f1606960 Another new boundary tests for VariableFormatterTest.java: testReplaceEmptyKeys.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@225152 13f79535-47bb-0310-9956-ffa450edef68
2005-07-25 16:43:07 +00:00
Gary D. Gregory 7785367406 Another new boundary tests for VariableFormatterTest.java.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@224650 13f79535-47bb-0310-9956-ffa450edef68
2005-07-24 20:09:42 +00:00
Gary D. Gregory 16630b35f6 Sort methods.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@224562 13f79535-47bb-0310-9956-ffa450edef68
2005-07-23 22:27:12 +00:00
Gary D. Gregory c8d6447928 Three new boundary tests for VariableFormatterTest.java.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@224561 13f79535-47bb-0310-9956-ffa450edef68
2005-07-23 22:26:02 +00:00
Gary D. Gregory cdb9168538 Removes Interpolation and MappedMessageFormat from the text package in favor of VariableFormatter. (See message below) No one has complained on commons-dev.
-----Original Message-----
From: Gary Gregory [mailto:ggregory@seagullsoftware.com] 
Sent: Thursday, July 21, 2005 9:34 AM
To: Jakarta Commons Developers List
Subject: [lang] text.VariableFormatter to replace Interpolation and MappedMessageFormat (WAS a [POLL])

Hello:

It's been two weeks since I posted the original message below and I've
not heard negative comments on removing Interpolation and
MappedMessageFormat from the text package in favor of VariableFormatter.
I will therefore do so real soon. 

Please raise your hand you disagree.

Thanks,
Gary


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@224558 13f79535-47bb-0310-9956-ffa450edef68
2005-07-23 21:56:59 +00:00
Gary D. Gregory 7952a55254 Removes Interpolation and MappedMessageFormat from the text package in favor of VariableFormatter. (See message below) No one has complained on commons-dev.
-----Original Message-----
From: Gary Gregory [mailto:ggregory@seagullsoftware.com] 
Sent: Thursday, July 21, 2005 9:34 AM
To: Jakarta Commons Developers List
Subject: [lang] text.VariableFormatter to replace Interpolation and MappedMessageFormat (WAS a [POLL])

Hello:

It's been two weeks since I posted the original message below and I've
not heard negative comments on removing Interpolation and
MappedMessageFormat from the text package in favor of VariableFormatter.
I will therefore do so real soon. 

Please raise your hand you disagree.

Thanks,
Gary


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@224556 13f79535-47bb-0310-9956-ffa450edef68
2005-07-23 21:48:28 +00:00
Gary D. Gregory cbb4f55bff Make testing equality more flexible.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@220158 13f79535-47bb-0310-9956-ffa450edef68
2005-07-21 18:13:30 +00:00
Gary D. Gregory 0ce9977fa3 - VariableFormatter.java now gets 98.7% clover coverage.
- MapVariableFormatter.java now gets 100% clover coverage.
- Javadocs.
- Constructor clean ups.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@219119 13f79535-47bb-0310-9956-ffa450edef68
2005-07-14 22:24:17 +00:00
Stephen Colebourne 0a92b2c279 Javadoc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@219118 13f79535-47bb-0310-9956-ffa450edef68
2005-07-14 22:09:50 +00:00
Stephen Colebourne 66f83099a5 Fix ClassUtils.primitiveToWrapper() to handle Void.TYPE
bug 34327, from Alban Peignier

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@219117 13f79535-47bb-0310-9956-ffa450edef68
2005-07-14 22:08:08 +00:00
Stephen Colebourne 5b5d6b23d1 Javadoc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@219116 13f79535-47bb-0310-9956-ffa450edef68
2005-07-14 21:54:47 +00:00
Stephen Colebourne afcdb367ad Add text package tests back into commons-lang
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@219114 13f79535-47bb-0310-9956-ffa450edef68
2005-07-14 21:48:13 +00:00
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 1aae68267d Towards version 2.2: - Set the component version to 2.2-dev, removed text package exclusions
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@209378 13f79535-47bb-0310-9956-ffa450edef68
2005-07-06 01:30:28 +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
Steven Caswell 8f5b2b7854 updated version to 2.1 for the release
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@190269 13f79535-47bb-0310-9956-ffa450edef68
2005-06-12 13:10:40 +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
Steven Caswell 4656c1478d added copying checkstyle.xml to source distribution
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@179453 13f79535-47bb-0310-9956-ffa450edef68
2005-06-01 23:09:04 +00:00
Steven Caswell f4050f6921 added post-2.1 release todo tasks
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@179446 13f79535-47bb-0310-9956-ffa450edef68
2005-06-01 22:40:48 +00:00
Steven Caswell f058170565 added information about building with Ant 1.6
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@179445 13f79535-47bb-0310-9956-ffa450edef68
2005-06-01 22:40:14 +00:00
Steven Caswell 1a31352333 added reference to developer's guide for more info on why Ant 1.6 is required for building
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@179435 13f79535-47bb-0310-9956-ffa450edef68
2005-06-01 22:19:20 +00:00
Gary D. Gregory 269d283d1d - Starting with version 2.1, Ant version 1.6.x is required to build. Copy
junit.jar to ANT_HOME/lib. You can get JUnit from http://www.junit.org.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@179416 13f79535-47bb-0310-9956-ffa450edef68
2005-06-01 20:36:59 +00:00
Steven Caswell 821678276c added documentation of dependency on ant 1.6 for build.xml;
changed documentation of dependency on junit 3.8.1 (from 3.7)

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@179333 13f79535-47bb-0310-9956-ffa450edef68
2005-06-01 02:11:18 +00:00
Steven Caswell a2888232f8 updated version to 2.1-RC8
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@179329 13f79535-47bb-0310-9956-ffa450edef68
2005-06-01 01:42:07 +00:00