cziegeler 02/02/05 08:02:40
Modified: src/java/org/apache/cocoon Constants.java
Log:
Deprecated some constants
Revision Changes Path
1.5 +7 -4 xml-cocoon2/src/java/org/apache/cocoon/Constants.java
Index: Constants.java
===================================================================
RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/Constants.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- Constants.java 4 Feb 2002 12:08:39 -0000 1.4
+++ Constants.java 5 Feb 2002 16:02:40 -0000 1.5
@@ -60,7 +60,7 @@
*
* @author <a href="mailto:[EMAIL PROTECTED]">Stefano Mazzocchi</a>
* @author <a href="mailto:[EMAIL PROTECTED]">Peter Royal</a>
- * @version CVS $Id: Constants.java,v 1.4 2002/02/04 12:08:39 cziegeler Exp $
+ * @version CVS $Id: Constants.java,v 1.5 2002/02/05 16:02:40 cziegeler Exp $
*/
public interface Constants {
@@ -237,24 +237,27 @@
* This constant is also defined in the
org.apache.cocoon.environment.ObjectModelHelper class.
*
* FIXME(GP): Shouldn't this definition here be removed?
+ * @deprecated Use the @link
org.apache.cocoon.environment.ObjectModelHelper#getRequest() instead.
*/
- String REQUEST_OBJECT = "request";
+ String REQUEST_OBJECT =
org.apache.cocoon.environment.ObjectModelHelper.REQUEST_OBJECT;
/**
* The name of a <code>Response</code> object in the so called objectModel
<code>Map</code>.
* This constant is also defined in the
org.apache.cocoon.environment.ObjectModelHelper class.
*
* FIXME(GP): Shouldn't this definition here be removed?
+ * @deprecated Use the @link
org.apache.cocoon.environment.ObjectModelHelper#getResponse() instead.
*/
- String RESPONSE_OBJECT = "response";
+ String RESPONSE_OBJECT =
org.apache.cocoon.environment.ObjectModelHelper.RESPONSE_OBJECT;
/**
*The name of a <code>Context</code> object in the so called objectModel
<code>Map</code>.
* This constant is also defined in the
org.apache.cocoon.environment.ObjectModelHelper class.
*
* FIXME(GP): Shouldn't this definition here be removed?
+ * @deprecated Use the @link
org.apache.cocoon.environment.ObjectModelHelper#getContext() instead.
*/
- String CONTEXT_OBJECT = "context";
+ String CONTEXT_OBJECT =
org.apache.cocoon.environment.ObjectModelHelper.CONTEXT_OBJECT;
/**
* Describe variable <code>LINK_OBJECT</code> here.
----------------------------------------------------------------------
In case of troubles, e-mail: [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]