dgraham 2004/03/27 13:34:10 Modified: resources/src/test/org/apache/commons/resources/impl TestResourcesFactory.java ResourceBundleResourcesTestCase.java XMLResourcesTestCase.java ResourcesFactoryBaseTestCase.java PropertyResourcesTestCase.java BasicMessageListTestCase.java CollectionResourcesBaseTestCase.java CollResources.java ResourcesBaseTestCase.java TestResources.java CollResourcesFactory.java BasicMessageTestCase.java ResourceBundleResourcesFactoryTestCase.java resources/src/java/org/apache/commons/resources/impl WebappPropertyResourcesFactory.java PropertyResources.java WebappPropertyResources.java ResourcesFactoryBase.java WebappXMLResourcesFactory.java XMLResources.java WebappXMLResources.java ResourceBundleResources.java ResourcesBase.java CollectionResourcesBase.java BasicMessageList.java ResourceBundleResourcesFactory.java PropertyResourcesFactory.java BasicMessage.java XMLResourcesFactory.java resources/src/test/org/apache/commons/resources MessagesTestCase.java resources/src/java/org/apache/commons/resources MessageList.java Messages.java ResourcesFactoryFinder.java ResourcesFactory.java Resources.java ResourcesException.java Message.java ResourcesKeyException.java Log: Removed @author javadoc tags. Revision Changes Path 1.8 +3 -14 jakarta-commons-sandbox/resources/src/test/org/apache/commons/resources/impl/TestResourcesFactory.java Index: TestResourcesFactory.java =================================================================== RCS file: /home/cvs/jakarta-commons-sandbox/resources/src/test/org/apache/commons/resources/impl/TestResourcesFactory.java,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- TestResourcesFactory.java 18 Feb 2004 01:37:38 -0000 1.7 +++ TestResourcesFactory.java 27 Mar 2004 21:34:09 -0000 1.8 @@ -28,19 +28,8 @@ /** * <p>Concrete implementation of [EMAIL PROTECTED] ResourcesFactory} for unit tests.</p> - * - * @author Craig R. McClanahan - * @version $Revision$ $Date$ */ - public class TestResourcesFactory extends ResourcesFactoryBase { - - - // --------------------------------------------------------- Public Methods - - - // ------------------------------------------------------ Protected Methods - /** * <p>Create and return a new [EMAIL PROTECTED] Resources} instance with the 1.9 +3 -7 jakarta-commons-sandbox/resources/src/test/org/apache/commons/resources/impl/ResourceBundleResourcesTestCase.java Index: ResourceBundleResourcesTestCase.java =================================================================== RCS file: /home/cvs/jakarta-commons-sandbox/resources/src/test/org/apache/commons/resources/impl/ResourceBundleResourcesTestCase.java,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- ResourceBundleResourcesTestCase.java 18 Feb 2004 01:37:38 -0000 1.8 +++ ResourceBundleResourcesTestCase.java 27 Mar 2004 21:34:09 -0000 1.9 @@ -36,11 +36,7 @@ * <p>Unit tests for * <code>org.apache.commons.resources.impl.ResourceBundleResources</code>. * </p> - * - * @author Craig R. McClanahan - * @version $Revision$ $Date$ */ - public class ResourceBundleResourcesTestCase extends ResourceBundleResourcesFactoryTestCase { 1.7 +3 -18 jakarta-commons-sandbox/resources/src/test/org/apache/commons/resources/impl/XMLResourcesTestCase.java Index: XMLResourcesTestCase.java =================================================================== RCS file: /home/cvs/jakarta-commons-sandbox/resources/src/test/org/apache/commons/resources/impl/XMLResourcesTestCase.java,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- XMLResourcesTestCase.java 18 Feb 2004 01:37:38 -0000 1.6 +++ XMLResourcesTestCase.java 27 Mar 2004 21:34:09 -0000 1.7 @@ -32,27 +32,12 @@ * <p>Unit tests for * <code>org.apache.commons.resources.impl.XMLResources</code>. * </p> - * - * @author Craig R. McClanahan - * @version $Revision$ $Date$ */ - public class XMLResourcesTestCase extends CollectionResourcesBaseTestCase { - - // ----------------------------------------------------- Instance Variables - - - // ----------------------------------------------------------- Constructors - - public XMLResourcesTestCase(String name) { super(name); } - - - // --------------------------------------------------- Overall Test Methods - // Set up instance variables required by this test case public void setUp() throws Exception { 1.6 +3 -7 jakarta-commons-sandbox/resources/src/test/org/apache/commons/resources/impl/ResourcesFactoryBaseTestCase.java Index: ResourcesFactoryBaseTestCase.java =================================================================== RCS file: /home/cvs/jakarta-commons-sandbox/resources/src/test/org/apache/commons/resources/impl/ResourcesFactoryBaseTestCase.java,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- ResourcesFactoryBaseTestCase.java 18 Feb 2004 01:37:38 -0000 1.5 +++ ResourcesFactoryBaseTestCase.java 27 Mar 2004 21:34:09 -0000 1.6 @@ -33,11 +33,7 @@ * <p>Unit tests for * <code>org.apache.commons.resources.impl.ResourcesFactoryBase</code>. * </p> - * - * @author Craig R. McClanahan - * @version $Revision$ $Date$ */ - public class ResourcesFactoryBaseTestCase extends TestCase { 1.7 +3 -7 jakarta-commons-sandbox/resources/src/test/org/apache/commons/resources/impl/PropertyResourcesTestCase.java Index: PropertyResourcesTestCase.java =================================================================== RCS file: /home/cvs/jakarta-commons-sandbox/resources/src/test/org/apache/commons/resources/impl/PropertyResourcesTestCase.java,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- PropertyResourcesTestCase.java 18 Feb 2004 01:37:38 -0000 1.6 +++ PropertyResourcesTestCase.java 27 Mar 2004 21:34:09 -0000 1.7 @@ -32,11 +32,7 @@ * <p>Unit tests for * <code>org.apache.commons.resources.impl.PropertyResources</code>. * </p> - * - * @author Craig R. McClanahan - * @version $Revision$ $Date$ */ - public class PropertyResourcesTestCase extends CollectionResourcesBaseTestCase { 1.8 +3 -7 jakarta-commons-sandbox/resources/src/test/org/apache/commons/resources/impl/BasicMessageListTestCase.java Index: BasicMessageListTestCase.java =================================================================== RCS file: /home/cvs/jakarta-commons-sandbox/resources/src/test/org/apache/commons/resources/impl/BasicMessageListTestCase.java,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- BasicMessageListTestCase.java 18 Feb 2004 01:37:38 -0000 1.7 +++ BasicMessageListTestCase.java 27 Mar 2004 21:34:09 -0000 1.8 @@ -36,10 +36,6 @@ * Unit tests for the <code>org.apache.commons.resources.MessageList</code> class. * <p> * Originally based on org.apache.http.action.TestMessages, Revision 1.4. - * - * @author Dominique Plante - * @author David Graham - * @version $Revision$ $Date$ */ public class BasicMessageListTestCase extends TestCase { protected MessageList aMsgs = null; 1.10 +3 -7 jakarta-commons-sandbox/resources/src/test/org/apache/commons/resources/impl/CollectionResourcesBaseTestCase.java Index: CollectionResourcesBaseTestCase.java =================================================================== RCS file: /home/cvs/jakarta-commons-sandbox/resources/src/test/org/apache/commons/resources/impl/CollectionResourcesBaseTestCase.java,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- CollectionResourcesBaseTestCase.java 18 Feb 2004 01:37:38 -0000 1.9 +++ CollectionResourcesBaseTestCase.java 27 Mar 2004 21:34:09 -0000 1.10 @@ -37,11 +37,7 @@ * <p>Unit tests for * <code>org.apache.commons.resources.impl.CollectionResourcesBase</code>. * </p> - * - * @author Craig R. McClanahan - * @version $Revision$ $Date$ */ - public class CollectionResourcesBaseTestCase extends ResourcesBaseTestCase { 1.7 +3 -7 jakarta-commons-sandbox/resources/src/test/org/apache/commons/resources/impl/CollResources.java Index: CollResources.java =================================================================== RCS file: /home/cvs/jakarta-commons-sandbox/resources/src/test/org/apache/commons/resources/impl/CollResources.java,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- CollResources.java 18 Feb 2004 01:37:38 -0000 1.6 +++ CollResources.java 27 Mar 2004 21:34:09 -0000 1.7 @@ -34,11 +34,7 @@ * maps returned by <code>getLocaleMap()</code> below must *exactly* * match the resources stored in the <code>TestResources*.properties</code> * and <code>TestResources*.xml</code> resource files.</p> - * - * @author Craig R. McClanahan - * @version $Revision$ $Date$ */ - public class CollResources extends CollectionResourcesBase { 1.11 +3 -7 jakarta-commons-sandbox/resources/src/test/org/apache/commons/resources/impl/ResourcesBaseTestCase.java Index: ResourcesBaseTestCase.java =================================================================== RCS file: /home/cvs/jakarta-commons-sandbox/resources/src/test/org/apache/commons/resources/impl/ResourcesBaseTestCase.java,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- ResourcesBaseTestCase.java 18 Feb 2004 01:37:38 -0000 1.10 +++ ResourcesBaseTestCase.java 27 Mar 2004 21:34:09 -0000 1.11 @@ -39,11 +39,7 @@ * <p>Unit tests for * <code>org.apache.commons.resources.impl.ResourcesBase</code>. * </p> - * - * @author Craig R. McClanahan - * @version $Revision$ $Date$ */ - public class ResourcesBaseTestCase extends ResourcesFactoryBaseTestCase { 1.10 +5 -8 jakarta-commons-sandbox/resources/src/test/org/apache/commons/resources/impl/TestResources.java Index: TestResources.java =================================================================== RCS file: /home/cvs/jakarta-commons-sandbox/resources/src/test/org/apache/commons/resources/impl/TestResources.java,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- TestResources.java 18 Feb 2004 01:37:38 -0000 1.9 +++ TestResources.java 27 Mar 2004 21:34:09 -0000 1.10 @@ -35,12 +35,9 @@ import org.apache.commons.resources.ResourcesKeyException; /** - * <p>Concrete implementation of [EMAIL PROTECTED] org.apache.commons.resources.Resources} for unit tests.</p> - * - * @author Craig R. McClanahan - * @version $Revision$ $Date$ + * <p>Concrete implementation of [EMAIL PROTECTED] org.apache.commons.resources.Resources} + * for unit tests.</p> */ - public class TestResources extends ResourcesBase { 1.7 +3 -7 jakarta-commons-sandbox/resources/src/test/org/apache/commons/resources/impl/CollResourcesFactory.java Index: CollResourcesFactory.java =================================================================== RCS file: /home/cvs/jakarta-commons-sandbox/resources/src/test/org/apache/commons/resources/impl/CollResourcesFactory.java,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- CollResourcesFactory.java 18 Feb 2004 01:37:38 -0000 1.6 +++ CollResourcesFactory.java 27 Mar 2004 21:34:09 -0000 1.7 @@ -28,11 +28,7 @@ /** * <p>Concrete implementation of [EMAIL PROTECTED] ResourcesFactory} for unit tests.</p> - * - * @author Craig R. McClanahan - * @version $Revision$ $Date$ */ - public class CollResourcesFactory extends ResourcesFactoryBase { 1.6 +3 -6 jakarta-commons-sandbox/resources/src/test/org/apache/commons/resources/impl/BasicMessageTestCase.java Index: BasicMessageTestCase.java =================================================================== RCS file: /home/cvs/jakarta-commons-sandbox/resources/src/test/org/apache/commons/resources/impl/BasicMessageTestCase.java,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- BasicMessageTestCase.java 18 Feb 2004 01:37:38 -0000 1.5 +++ BasicMessageTestCase.java 27 Mar 2004 21:34:09 -0000 1.6 @@ -31,9 +31,6 @@ * Unit tests for the <code>org.apache.commons.resources.Message</code> class. * <p> * Orginally based on org.apache.http.action.TestActionMessage, Revision 1.2. - * - * @author Dominique Plante - * @version $Revision$ $Date$ */ public class BasicMessageTestCase extends TestCase { 1.6 +3 -7 jakarta-commons-sandbox/resources/src/test/org/apache/commons/resources/impl/ResourceBundleResourcesFactoryTestCase.java Index: ResourceBundleResourcesFactoryTestCase.java =================================================================== RCS file: /home/cvs/jakarta-commons-sandbox/resources/src/test/org/apache/commons/resources/impl/ResourceBundleResourcesFactoryTestCase.java,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- ResourceBundleResourcesFactoryTestCase.java 18 Feb 2004 01:37:38 -0000 1.5 +++ ResourceBundleResourcesFactoryTestCase.java 27 Mar 2004 21:34:09 -0000 1.6 @@ -33,11 +33,7 @@ * <p>Unit tests for * <code>org.apache.commons.resources.impl.ResourceBundleResourcesFactory</code>. * </p> - * - * @author Craig R. McClanahan - * @version $Revision$ $Date$ */ - public class ResourceBundleResourcesFactoryTestCase extends TestCase { 1.10 +3 -15 jakarta-commons-sandbox/resources/src/java/org/apache/commons/resources/impl/WebappPropertyResourcesFactory.java Index: WebappPropertyResourcesFactory.java =================================================================== RCS file: /home/cvs/jakarta-commons-sandbox/resources/src/java/org/apache/commons/resources/impl/WebappPropertyResourcesFactory.java,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- WebappPropertyResourcesFactory.java 18 Feb 2004 01:37:38 -0000 1.9 +++ WebappPropertyResourcesFactory.java 27 Mar 2004 21:34:09 -0000 1.10 @@ -46,26 +46,14 @@ * <code>/WEB-INF/resources/MyReesources_en_US.properties</code>, and the * default resources would be stored in * <code>/WEB-INF/resources/MyResources.properties</code>.</p> - * - * @author Craig R. McClanahan - * @version $Revision$ $Date$ */ - public class WebappPropertyResourcesFactory extends ResourcesFactoryBase { - - - // --------------------------------------------------------- Public Methods - - - // ------------------------------------------------------------- Properties - /** * <p>The <code>ServletContext</code> instance for resolving * our resources references.</p> */ private ServletContext servletContext = null; - /** * <p>Return the <code>ServletContext</code> instance for 1.11 +3 -6 jakarta-commons-sandbox/resources/src/java/org/apache/commons/resources/impl/PropertyResources.java Index: PropertyResources.java =================================================================== RCS file: /home/cvs/jakarta-commons-sandbox/resources/src/java/org/apache/commons/resources/impl/PropertyResources.java,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- PropertyResources.java 18 Feb 2004 01:37:38 -0000 1.10 +++ PropertyResources.java 27 Mar 2004 21:34:09 -0000 1.11 @@ -51,9 +51,6 @@ * <code>http://localhost/foo/Bar_en_US.properties</code>, and the default * resources would be stored in * <code>http://localhost/foo/Bar.properties</code>.</p> - * - * @author Craig R. McClanahan - * @version $Revision$ $Date$ */ public class PropertyResources extends CollectionResourcesBase { 1.10 +3 -6 jakarta-commons-sandbox/resources/src/java/org/apache/commons/resources/impl/WebappPropertyResources.java Index: WebappPropertyResources.java =================================================================== RCS file: /home/cvs/jakarta-commons-sandbox/resources/src/java/org/apache/commons/resources/impl/WebappPropertyResources.java,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- WebappPropertyResources.java 18 Feb 2004 01:37:38 -0000 1.9 +++ WebappPropertyResources.java 27 Mar 2004 21:34:09 -0000 1.10 @@ -52,9 +52,6 @@ * <code>http://localhost/foo/Bar_en_US.properties</code>, and the default * resources would be stored in * <code>http://localhost/foo/Bar.properties</code>.</p> - * - * @author Craig R. McClanahan - * @version $Revision$ $Date$ */ public class WebappPropertyResources extends CollectionResourcesBase { 1.9 +3 -7 jakarta-commons-sandbox/resources/src/java/org/apache/commons/resources/impl/ResourcesFactoryBase.java Index: ResourcesFactoryBase.java =================================================================== RCS file: /home/cvs/jakarta-commons-sandbox/resources/src/java/org/apache/commons/resources/impl/ResourcesFactoryBase.java,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- ResourcesFactoryBase.java 18 Feb 2004 01:37:38 -0000 1.8 +++ ResourcesFactoryBase.java 27 Mar 2004 21:34:09 -0000 1.9 @@ -36,11 +36,7 @@ * This implementation caches the [EMAIL PROTECTED] Resources} instances returned by * a protected <code>createResources()</code> method, which must be implemented * by concrete subclasses.</p> - * - * @author Craig R. McClanahan - * @version $Revision$ $Date$ */ - public abstract class ResourcesFactoryBase implements ResourcesFactory { 1.10 +3 -15 jakarta-commons-sandbox/resources/src/java/org/apache/commons/resources/impl/WebappXMLResourcesFactory.java Index: WebappXMLResourcesFactory.java =================================================================== RCS file: /home/cvs/jakarta-commons-sandbox/resources/src/java/org/apache/commons/resources/impl/WebappXMLResourcesFactory.java,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- WebappXMLResourcesFactory.java 18 Feb 2004 01:37:38 -0000 1.9 +++ WebappXMLResourcesFactory.java 27 Mar 2004 21:34:09 -0000 1.10 @@ -46,26 +46,14 @@ * <code>/WEB-INF/resources/MyReesources_en_US.xml</code>, and the default * resources would be stored in * <code>/WEB-INF/resources/MyResources.xml</code>.</p> - * - * @author Craig R. McClanahan - * @version $Revision$ $Date$ */ - public class WebappXMLResourcesFactory extends ResourcesFactoryBase { - - - // --------------------------------------------------------- Public Methods - - - // ------------------------------------------------------------- Properties - /** * <p>The <code>ServletContext</code> instance for resolving * our resources references.</p> */ private ServletContext servletContext = null; - /** * <p>Return the <code>ServletContext</code> instance for 1.10 +3 -6 jakarta-commons-sandbox/resources/src/java/org/apache/commons/resources/impl/XMLResources.java Index: XMLResources.java =================================================================== RCS file: /home/cvs/jakarta-commons-sandbox/resources/src/java/org/apache/commons/resources/impl/XMLResources.java,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- XMLResources.java 18 Feb 2004 01:37:38 -0000 1.9 +++ XMLResources.java 27 Mar 2004 21:34:09 -0000 1.10 @@ -63,9 +63,6 @@ * attribute contains the resource key, and the body contains a * string representation of the value.</li> * </ul> - * - * @author Craig R. McClanahan - * @version $Revision$ $Date$ */ public class XMLResources extends CollectionResourcesBase { 1.10 +3 -10 jakarta-commons-sandbox/resources/src/java/org/apache/commons/resources/impl/WebappXMLResources.java Index: WebappXMLResources.java =================================================================== RCS file: /home/cvs/jakarta-commons-sandbox/resources/src/java/org/apache/commons/resources/impl/WebappXMLResources.java,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- WebappXMLResources.java 18 Feb 2004 01:37:38 -0000 1.9 +++ WebappXMLResources.java 27 Mar 2004 21:34:09 -0000 1.10 @@ -55,20 +55,13 @@ * <code>http://localhost/foo/Bar_en_US.xml</code>, and the default * resources would be stored in * <code>http://localhost/foo/Bar.xml</code>.</p> - * - * @author Craig R. McClanahan - * @version $Revision$ $Date$ */ - public class WebappXMLResources extends CollectionResourcesBase { /** * <p>The <code>Log</code> instance for this class.</p> */ private static final Log log = LogFactory.getLog(WebappXMLResources.class); - - // ----------------------------------------------------------- Constructors - /** * <p>Create a new [EMAIL PROTECTED] org.apache.commons.resources.Resources} instance with the specified 1.15 +3 -6 jakarta-commons-sandbox/resources/src/java/org/apache/commons/resources/impl/ResourceBundleResources.java Index: ResourceBundleResources.java =================================================================== RCS file: /home/cvs/jakarta-commons-sandbox/resources/src/java/org/apache/commons/resources/impl/ResourceBundleResources.java,v retrieving revision 1.14 retrieving revision 1.15 diff -u -r1.14 -r1.15 --- ResourceBundleResources.java 18 Feb 2004 01:37:38 -0000 1.14 +++ ResourceBundleResources.java 27 Mar 2004 21:34:09 -0000 1.15 @@ -48,9 +48,6 @@ * (one per Locale) of <code>java.util.ResourceBundle</code> instances * that share a common base name. The <code>timeZone</code> argument * is ignored in all resource getter method implementations.</p> - * - * @author Craig R. McClanahan - * @version $Revision$ $Date$ */ public class ResourceBundleResources extends ResourcesBase { 1.11 +3 -8 jakarta-commons-sandbox/resources/src/java/org/apache/commons/resources/impl/ResourcesBase.java Index: ResourcesBase.java =================================================================== RCS file: /home/cvs/jakarta-commons-sandbox/resources/src/java/org/apache/commons/resources/impl/ResourcesBase.java,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- ResourcesBase.java 18 Feb 2004 01:37:38 -0000 1.10 +++ ResourcesBase.java 27 Mar 2004 21:34:09 -0000 1.11 @@ -44,12 +44,7 @@ * <code>getString()</code>, on the assumption that most uses of * [EMAIL PROTECTED] org.apache.commons.resources.Resources} are of this type. * However, they can be easily overridden as needed.</p> - * - * @author Mike Schachter ([EMAIL PROTECTED]) - * @author Craig R. McClanahan - * @version $Revision$ $Date$ */ - public abstract class ResourcesBase implements Resources { 1.12 +3 -14 jakarta-commons-sandbox/resources/src/java/org/apache/commons/resources/impl/CollectionResourcesBase.java Index: CollectionResourcesBase.java =================================================================== RCS file: /home/cvs/jakarta-commons-sandbox/resources/src/java/org/apache/commons/resources/impl/CollectionResourcesBase.java,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- CollectionResourcesBase.java 18 Feb 2004 01:37:38 -0000 1.11 +++ CollectionResourcesBase.java 27 Mar 2004 21:34:09 -0000 1.12 @@ -36,7 +36,6 @@ import org.apache.commons.resources.ResourcesException; import org.apache.commons.resources.ResourcesKeyException; - /** * <p>Abstract base classes for * [EMAIL PROTECTED] org.apache.commons.resources.Resources} implementations that @@ -47,17 +46,9 @@ * * <p>The <code>timeZone</code> paramter, if any, is ignored by the * default content retrieval methods.</p> - * - * @author Craig R. McClanahan - * @version $Revision$ $Date$ */ - public abstract class CollectionResourcesBase extends ResourcesBase { - - // ----------------------------------------------------------- Constructors - - /** * <p>Create a new [EMAIL PROTECTED] org.apache.commons.resources.Resources} instance with the specified * logical name and base URL.</p> @@ -67,10 +58,8 @@ * name-value mappings for this [EMAIL PROTECTED] org.apache.commons.resources.Resources} instance */ public CollectionResourcesBase(String name, String base) { - super(name); this.base = base; - } 1.13 +3 -10 jakarta-commons-sandbox/resources/src/java/org/apache/commons/resources/impl/BasicMessageList.java Index: BasicMessageList.java =================================================================== RCS file: /home/cvs/jakarta-commons-sandbox/resources/src/java/org/apache/commons/resources/impl/BasicMessageList.java,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- BasicMessageList.java 18 Feb 2004 01:37:38 -0000 1.12 +++ BasicMessageList.java 27 Mar 2004 21:34:09 -0000 1.13 @@ -39,13 +39,6 @@ * A basic implementation of a MessageList. * <p> * Orginally based on org.apache.http.action.ActionMessages, Revision 1.7. - * - * @author David Geary - * @author Craig R. McClanahan - * @author David Winterfeldt - * @author David Graham - * @author Ted Husted - * @version $Revision$ $Date$ */ public class BasicMessageList implements Serializable, MessageList { 1.13 +3 -7 jakarta-commons-sandbox/resources/src/java/org/apache/commons/resources/impl/ResourceBundleResourcesFactory.java Index: ResourceBundleResourcesFactory.java =================================================================== RCS file: /home/cvs/jakarta-commons-sandbox/resources/src/java/org/apache/commons/resources/impl/ResourceBundleResourcesFactory.java,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- ResourceBundleResourcesFactory.java 18 Feb 2004 01:37:38 -0000 1.12 +++ ResourceBundleResourcesFactory.java 27 Mar 2004 21:34:09 -0000 1.13 @@ -34,11 +34,7 @@ * <code>getResources()</code> method must contain the fully qualified * Java name of the underlying <code>ResourceBundle</code> family * that is to be wrapped.</p> - * - * @author Craig R. McClanahan - * @version $Revision$ $Date$ */ - public class ResourceBundleResourcesFactory extends ResourcesFactoryBase { 1.10 +3 -6 jakarta-commons-sandbox/resources/src/java/org/apache/commons/resources/impl/PropertyResourcesFactory.java Index: PropertyResourcesFactory.java =================================================================== RCS file: /home/cvs/jakarta-commons-sandbox/resources/src/java/org/apache/commons/resources/impl/PropertyResourcesFactory.java,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- PropertyResourcesFactory.java 18 Feb 2004 01:37:38 -0000 1.9 +++ PropertyResourcesFactory.java 27 Mar 2004 21:34:09 -0000 1.10 @@ -44,9 +44,6 @@ * <code>http://localhost/foo/Bar_en_US.properties</code>, and the default * resources would be stored in * <code>http://localhost/foo/Bar.properties</code>.</p> - * - * @author Craig R. McClanahan - * @version $Revision$ $Date$ */ public class PropertyResourcesFactory extends ResourcesFactoryBase { 1.9 +14 -42 jakarta-commons-sandbox/resources/src/java/org/apache/commons/resources/impl/BasicMessage.java Index: BasicMessage.java =================================================================== RCS file: /home/cvs/jakarta-commons-sandbox/resources/src/java/org/apache/commons/resources/impl/BasicMessage.java,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- BasicMessage.java 18 Feb 2004 01:37:38 -0000 1.8 +++ BasicMessage.java 27 Mar 2004 21:34:09 -0000 1.9 @@ -31,20 +31,23 @@ * A basic implementation of the Message interface. * <p> * Orginally based on org.apache.http.action.ActionMessage, Revision 1.5. - * - * @author Craig R. McClanahan - * @author David Winterfeldt - * @author Ted Husted - * @version $Revision$ $Date$ */ public class BasicMessage implements Serializable, Message { + + /** + * The message key for this message. + */ + protected String key = null; - -// -------------------------------------------------------------- Constructors + /** + * The replacement values for this mesasge. + */ + protected Object[] values = null; public BasicMessage() { super(); } + /** * Construct an action message with no replacement values. * @@ -57,7 +60,6 @@ } - /** * Construct an action message with the specified replacement values. * @@ -71,7 +73,6 @@ } - /** * Construct an action message with the specified replacement values. * @@ -86,7 +87,6 @@ } - /** * Construct an action message with the specified replacement values. * @@ -103,7 +103,6 @@ } - /** * Construct an action message with the specified replacement values. * @@ -120,7 +119,6 @@ this.values = new Object[]{value0, value1, value2, value3}; } - /** * Construct an action message with the specified replacement values. * @@ -128,46 +126,20 @@ * @param values Array of replacement values */ public BasicMessage(String key, Object[] values) { - this.key = key; this.values = values; - } - -// -------------------------------------------------------- Instance Variables - - - /** - * The message key for this message. - */ - protected String key = null; - - - /** - * The replacement values for this mesasge. - */ - protected Object[] values = null; - - - // --------------------------------------------------------- Public Methods - - // See interface for JavaDoc public String getKey() { - return (this.key); - } - // See interface for JavaDoc public Object[] getValues() { - return (this.values); - } - + /** * Returns a String in the format: key[value0, value1, etc]. * @see java.lang.Object#toString() 1.10 +3 -10 jakarta-commons-sandbox/resources/src/java/org/apache/commons/resources/impl/XMLResourcesFactory.java Index: XMLResourcesFactory.java =================================================================== RCS file: /home/cvs/jakarta-commons-sandbox/resources/src/java/org/apache/commons/resources/impl/XMLResourcesFactory.java,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- XMLResourcesFactory.java 18 Feb 2004 01:37:38 -0000 1.9 +++ XMLResourcesFactory.java 27 Mar 2004 21:34:09 -0000 1.10 @@ -42,15 +42,8 @@ * <code>http://localhost/foo/Bar_en_US.xml</code>, and the default * resources would be stored in * <code>http://localhost/foo/Bar.xml</code>.</p> - * - * @author Craig R. McClanahan - * @version $Revision$ $Date$ */ public class XMLResourcesFactory extends ResourcesFactoryBase { - - - // ------------------------------------------------------ Protected Methods - /** * <p>Create and return a new [EMAIL PROTECTED] org.apache.commons.resources.Resources} instance with the 1.9 +3 -11 jakarta-commons-sandbox/resources/src/test/org/apache/commons/resources/MessagesTestCase.java Index: MessagesTestCase.java =================================================================== RCS file: /home/cvs/jakarta-commons-sandbox/resources/src/test/org/apache/commons/resources/MessagesTestCase.java,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- MessagesTestCase.java 18 Feb 2004 01:37:39 -0000 1.8 +++ MessagesTestCase.java 27 Mar 2004 21:34:10 -0000 1.9 @@ -33,16 +33,8 @@ * <p>Unit tests for * <code>org.apache.commons.resources.Messages</code>. * </p> - * - * @author Craig R. McClanahan - * @version $Revision$ $Date$ */ - public class MessagesTestCase extends TestCase { - - - // ----------------------------------------------------- Instance Variables - // Configuration value for our resource bundles protected static final String CONFIG = "org.apache.commons.resources.impl.TestResources"; 1.10 +3 -10 jakarta-commons-sandbox/resources/src/java/org/apache/commons/resources/MessageList.java Index: MessageList.java =================================================================== RCS file: /home/cvs/jakarta-commons-sandbox/resources/src/java/org/apache/commons/resources/MessageList.java,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- MessageList.java 18 Feb 2004 01:37:37 -0000 1.9 +++ MessageList.java 27 Mar 2004 21:34:10 -0000 1.10 @@ -45,13 +45,6 @@ * collections. * </p> * Orginally based on org.apache.http.action.ActionMessages, Revision 1.7. - * - * @author David Geary - * @author Craig R. McClanahan - * @author David Winterfeldt - * @author David Graham - * @author Ted Husted - * @version $Revision$ $Date$ */ public interface MessageList { 1.11 +3 -7 jakarta-commons-sandbox/resources/src/java/org/apache/commons/resources/Messages.java Index: Messages.java =================================================================== RCS file: /home/cvs/jakarta-commons-sandbox/resources/src/java/org/apache/commons/resources/Messages.java,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- Messages.java 18 Feb 2004 01:37:37 -0000 1.10 +++ Messages.java 27 Mar 2004 21:34:10 -0000 1.11 @@ -45,10 +45,6 @@ * <p>When a <code>getString()</code> call to the underlying [EMAIL PROTECTED] Resources} * instance fails or returns null, a suitable error message String will be * returned.</p> - * - * @author Craig R. McClanahan - * @author David Graham - * @version $Revision$ $Date$ */ public class Messages implements Serializable { 1.7 +5 -10 jakarta-commons-sandbox/resources/src/java/org/apache/commons/resources/ResourcesFactoryFinder.java Index: ResourcesFactoryFinder.java =================================================================== RCS file: /home/cvs/jakarta-commons-sandbox/resources/src/java/org/apache/commons/resources/ResourcesFactoryFinder.java,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- ResourcesFactoryFinder.java 18 Feb 2004 01:37:37 -0000 1.6 +++ ResourcesFactoryFinder.java 27 Mar 2004 21:34:10 -0000 1.7 @@ -27,15 +27,10 @@ /** * <p>Convenience factory class for instantiating an implementation of - * [EMAIL PROTECTED] org.apache.commons.resources.ResourcesFactory} based on the discovery features of the - * <code>commons-discovery</code> package.</p> - * - * @author Craig R. McClanahan - * @version $Revision$ $Date$ + * [EMAIL PROTECTED] org.apache.commons.resources.ResourcesFactory} based on the discovery + * features of the <code>commons-discovery</code> package.</p> */ - public class ResourcesFactoryFinder { - /** * <p>Create and return a [EMAIL PROTECTED] org.apache.commons.resources.ResourcesFactory} instance based on 1.11 +3 -8 jakarta-commons-sandbox/resources/src/java/org/apache/commons/resources/ResourcesFactory.java Index: ResourcesFactory.java =================================================================== RCS file: /home/cvs/jakarta-commons-sandbox/resources/src/java/org/apache/commons/resources/ResourcesFactory.java,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- ResourcesFactory.java 18 Feb 2004 01:37:38 -0000 1.10 +++ ResourcesFactory.java 27 Mar 2004 21:34:10 -0000 1.11 @@ -43,12 +43,7 @@ * via JavaBeans property setters on the * [EMAIL PROTECTED] org.apache.commons.resources.ResourcesFactory} * implementation class.</p> - * - * @author Mike Schachter ([EMAIL PROTECTED]) - * @author Craig R. McClanahan - * @version $Revision$ $Date$ */ - public interface ResourcesFactory extends Serializable { 1.14 +3 -8 jakarta-commons-sandbox/resources/src/java/org/apache/commons/resources/Resources.java Index: Resources.java =================================================================== RCS file: /home/cvs/jakarta-commons-sandbox/resources/src/java/org/apache/commons/resources/Resources.java,v retrieving revision 1.13 retrieving revision 1.14 diff -u -r1.13 -r1.14 --- Resources.java 18 Feb 2004 01:37:37 -0000 1.13 +++ Resources.java 27 Mar 2004 21:34:10 -0000 1.14 @@ -59,12 +59,7 @@ * [EMAIL PROTECTED] org.apache.commons.resources.impl.ResourcesBase} class, * and override the necessary methods, * to shield themselves from future changes that may occur in this interface. - * - * @author Mike Schachter ([EMAIL PROTECTED]) - * @author Craig R. McClanahan - * @version $Revision$ $Date$ */ - public interface Resources extends Serializable { 1.9 +3 -6 jakarta-commons-sandbox/resources/src/java/org/apache/commons/resources/ResourcesException.java Index: ResourcesException.java =================================================================== RCS file: /home/cvs/jakarta-commons-sandbox/resources/src/java/org/apache/commons/resources/ResourcesException.java,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- ResourcesException.java 18 Feb 2004 01:37:38 -0000 1.8 +++ ResourcesException.java 27 Mar 2004 21:34:10 -0000 1.9 @@ -28,9 +28,6 @@ /** * <p>This class is a general purpose wrapper exception for problems * pertaining to Resources.</p> - * - * @author Mike Schachter ([EMAIL PROTECTED]) - * @version $Revision$ $Date$ */ public class ResourcesException extends RuntimeException implements Serializable { 1.7 +3 -8 jakarta-commons-sandbox/resources/src/java/org/apache/commons/resources/Message.java Index: Message.java =================================================================== RCS file: /home/cvs/jakarta-commons-sandbox/resources/src/java/org/apache/commons/resources/Message.java,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- Message.java 18 Feb 2004 01:37:38 -0000 1.6 +++ Message.java 27 Mar 2004 21:34:10 -0000 1.7 @@ -30,11 +30,6 @@ * be used for parametric replacement in the message text. * <p> * Orginally based on org.apache.http.action.ActionMessage, Revision 1.5. - * - * @author Craig R. McClanahan - * @author David Winterfeldt - * @author Ted Husted - * @version $Revision$ $Date$ */ public interface Message { 1.6 +3 -6 jakarta-commons-sandbox/resources/src/java/org/apache/commons/resources/ResourcesKeyException.java Index: ResourcesKeyException.java =================================================================== RCS file: /home/cvs/jakarta-commons-sandbox/resources/src/java/org/apache/commons/resources/ResourcesKeyException.java,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- ResourcesKeyException.java 18 Feb 2004 01:37:37 -0000 1.5 +++ ResourcesKeyException.java 27 Mar 2004 21:34:10 -0000 1.6 @@ -28,9 +28,6 @@ * by a resource getter method of a [EMAIL PROTECTED] Resources} instance, if an * invalid key value is specified and the <code>returnNull</code> property * is <code>false</code>.</p> - * - * @author Craig R. McClanahan - * @version $Revision$ $Date$ */ public class ResourcesKeyException extends ResourcesException {
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]