husted 2003/09/29 13:02:08 Modified: chain/src/java/org/apache/commons/chain Context.java Command.java Chain.java Catalog.java Log: License and Javadoc tweaks only. No code changes. Revision Changes Path 1.4 +13 -19 jakarta-commons-sandbox/chain/src/java/org/apache/commons/chain/Context.java Index: Context.java =================================================================== RCS file: /home/cvs/jakarta-commons-sandbox/chain/src/java/org/apache/commons/chain/Context.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- Context.java 29 Sep 2003 06:02:13 -0000 1.3 +++ Context.java 29 Sep 2003 20:02:08 -0000 1.4 @@ -1,13 +1,7 @@ -/* - * $Header$ - * $Revision$ - * $Date$ - * - * ==================================================================== - * +/* ==================================================================== * The Apache Software License, Version 1.1 * - * Copyright (c) 1999-2003 The Apache Software Foundation. All rights + * Copyright (c) 2000 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without @@ -22,21 +16,21 @@ * the documentation and/or other materials provided with the * distribution. * - * 3. The end-user documentation included with the redistribution, if - * any, must include the following acknowlegement: + * 3. The end-user documentation included with the redistribution, + * if any, must include the following acknowledgment: * "This product includes software developed by the * Apache Software Foundation (http://www.apache.org/)." - * Alternately, this acknowlegement may appear in the software itself, - * if and wherever such third-party acknowlegements normally appear. + * Alternately, this acknowledgment may appear in the software itself, + * if and wherever such third-party acknowledgments normally appear. * * 4. The names "The Jakarta Project", "Commons", and "Apache Software * Foundation" must not be used to endorse or promote products derived * from this software without prior written permission. For written * permission, please contact [EMAIL PROTECTED] * - * 5. Products derived from this software may not be called "Apache" - * nor may "Apache" appear in their names without prior written - * permission of the Apache Group. + * 5. Products derived from this software may not be called "Apache", + * nor may "Apache" appear in their name, without prior written + * permission of the Apache Software Foundation. * * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES @@ -68,7 +62,7 @@ /** * <p>A [EMAIL PROTECTED] Context} represents the state information that is - * accessed an manipulated by the execution of a [EMAIL PROTECTED] Command} or a + * accessed and manipulated by the execution of a [EMAIL PROTECTED] Command} or a * [EMAIL PROTECTED] Chain}. Specialized implementations of [EMAIL PROTECTED] Context} will * typically add JavaBeans properties that contain typesafe accessors * to information that is relevant to a particular use case for this @@ -83,8 +77,8 @@ * properties added to a particular [EMAIL PROTECTED] Context} implementation exhibit * <em>Attribute-Property Transparency</em>. In other words, * a value stored via a call to <code>setFoo(value)</code> should be visible - * by calling <code>getAttributes().get("foo")</code>, and a value stored - * via a call to <code>getAttributes().put("foo", value)</code> should be + * by calling <code>get("foo")</code>, and a value stored + * via a call to <code>put("foo", value)</code> should be * visible by calling <code>getFoo()</code>. If your [EMAIL PROTECTED] Context} * implementation class exhibits this featue, it becomes easier to reuse the * implementation in multiple environments, without the need to cast to a 1.2 +14 -15 jakarta-commons-sandbox/chain/src/java/org/apache/commons/chain/Command.java Index: Command.java =================================================================== RCS file: /home/cvs/jakarta-commons-sandbox/chain/src/java/org/apache/commons/chain/Command.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- Command.java 11 Aug 2003 04:44:16 -0000 1.1 +++ Command.java 29 Sep 2003 20:02:08 -0000 1.2 @@ -3,11 +3,10 @@ * $Revision$ * $Date$ * - * ==================================================================== - * +/* ==================================================================== * The Apache Software License, Version 1.1 * - * Copyright (c) 1999-2003 The Apache Software Foundation. All rights + * Copyright (c) 2000 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without @@ -22,21 +21,21 @@ * the documentation and/or other materials provided with the * distribution. * - * 3. The end-user documentation included with the redistribution, if - * any, must include the following acknowlegement: + * 3. The end-user documentation included with the redistribution, + * if any, must include the following acknowledgment: * "This product includes software developed by the * Apache Software Foundation (http://www.apache.org/)." - * Alternately, this acknowlegement may appear in the software itself, - * if and wherever such third-party acknowlegements normally appear. + * Alternately, this acknowledgment may appear in the software itself, + * if and wherever such third-party acknowledgments normally appear. * * 4. The names "The Jakarta Project", "Commons", and "Apache Software * Foundation" must not be used to endorse or promote products derived * from this software without prior written permission. For written * permission, please contact [EMAIL PROTECTED] * - * 5. Products derived from this software may not be called "Apache" - * nor may "Apache" appear in their names without prior written - * permission of the Apache Group. + * 5. Products derived from this software may not be called "Apache", + * nor may "Apache" appear in their name, without prior written + * permission of the Apache Software Foundation. * * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES @@ -111,7 +110,7 @@ * would be executed by calling:</p> * * <pre> - * String input = (String) context.getAttributes().get(getInputKey()); + * String input = (String) context.get(getInputKey()); * </pre> * * <p>instead of hard coding the attribute name. The use of the "Key" 1.3 +13 -14 jakarta-commons-sandbox/chain/src/java/org/apache/commons/chain/Chain.java Index: Chain.java =================================================================== RCS file: /home/cvs/jakarta-commons-sandbox/chain/src/java/org/apache/commons/chain/Chain.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- Chain.java 31 Aug 2003 21:50:53 -0000 1.2 +++ Chain.java 29 Sep 2003 20:02:08 -0000 1.3 @@ -3,11 +3,10 @@ * $Revision$ * $Date$ * - * ==================================================================== - * +/* ==================================================================== * The Apache Software License, Version 1.1 * - * Copyright (c) 1999-2003 The Apache Software Foundation. All rights + * Copyright (c) 2000 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without @@ -22,21 +21,21 @@ * the documentation and/or other materials provided with the * distribution. * - * 3. The end-user documentation included with the redistribution, if - * any, must include the following acknowlegement: + * 3. The end-user documentation included with the redistribution, + * if any, must include the following acknowledgment: * "This product includes software developed by the * Apache Software Foundation (http://www.apache.org/)." - * Alternately, this acknowlegement may appear in the software itself, - * if and wherever such third-party acknowlegements normally appear. + * Alternately, this acknowledgment may appear in the software itself, + * if and wherever such third-party acknowledgments normally appear. * * 4. The names "The Jakarta Project", "Commons", and "Apache Software * Foundation" must not be used to endorse or promote products derived * from this software without prior written permission. For written * permission, please contact [EMAIL PROTECTED] * - * 5. Products derived from this software may not be called "Apache" - * nor may "Apache" appear in their names without prior written - * permission of the Apache Group. + * 5. Products derived from this software may not be called "Apache", + * nor may "Apache" appear in their name, without prior written + * permission of the Apache Software Foundation. * * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 1.3 +15 -15 jakarta-commons-sandbox/chain/src/java/org/apache/commons/chain/Catalog.java Index: Catalog.java =================================================================== RCS file: /home/cvs/jakarta-commons-sandbox/chain/src/java/org/apache/commons/chain/Catalog.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- Catalog.java 29 Sep 2003 15:35:47 -0000 1.2 +++ Catalog.java 29 Sep 2003 20:02:08 -0000 1.3 @@ -3,11 +3,10 @@ * $Revision$ * $Date$ * - * ==================================================================== - * +/* ==================================================================== * The Apache Software License, Version 1.1 * - * Copyright (c) 1999-2003 The Apache Software Foundation. All rights + * Copyright (c) 2000 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without @@ -22,21 +21,21 @@ * the documentation and/or other materials provided with the * distribution. * - * 3. The end-user documentation included with the redistribution, if - * any, must include the following acknowlegement: + * 3. The end-user documentation included with the redistribution, + * if any, must include the following acknowledgment: * "This product includes software developed by the * Apache Software Foundation (http://www.apache.org/)." - * Alternately, this acknowlegement may appear in the software itself, - * if and wherever such third-party acknowlegements normally appear. + * Alternately, this acknowledgment may appear in the software itself, + * if and wherever such third-party acknowledgments normally appear. * * 4. The names "The Jakarta Project", "Commons", and "Apache Software * Foundation" must not be used to endorse or promote products derived * from this software without prior written permission. For written * permission, please contact [EMAIL PROTECTED] * - * 5. Products derived from this software may not be called "Apache" - * nor may "Apache" appear in their names without prior written - * permission of the Apache Group. + * 5. Products derived from this software may not be called "Apache", + * nor may "Apache" appear in their name, without prior written + * permission of the Apache Software Foundation. * * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES @@ -59,6 +58,7 @@ * */ + package org.apache.commons.chain; @@ -80,7 +80,7 @@ /** - * <p>A default context attribute for storing a default catalog, + * <p>A default context attribute for storing a default [EMAIL PROTECTED] Catalog}, * provided as a convenience only.</p> */ public final static String CATALOG_KEY = "org.apache.commons.chain.CATALOG";
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]