You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by cz...@apache.org on 2003/05/23 14:14:04 UTC
cvs commit: cocoon-2.1/src/java/org/apache/cocoon/components ContextHelper.java ComponentContext.java
cziegeler 2003/05/23 05:14:04
Modified: src/java/org/apache/cocoon/components ContextHelper.java
ComponentContext.java
Log:
Use a dot for separating
Revision Changes Path
1.2 +3 -3 cocoon-2.1/src/java/org/apache/cocoon/components/ContextHelper.java
Index: ContextHelper.java
===================================================================
RCS file: /home/cvs/cocoon-2.1/src/java/org/apache/cocoon/components/ContextHelper.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ContextHelper.java 23 May 2003 09:18:48 -0000 1.1
+++ ContextHelper.java 23 May 2003 12:14:04 -0000 1.2
@@ -73,10 +73,10 @@
public static final String CONTEXT_OBJECT_MODEL = "object-model";
/** Application <code>Context</code> Key for the current request object */
- public static final String CONTEXT_REQUEST_OBJECT = CONTEXT_OBJECT_MODEL + '/' + ObjectModelHelper.REQUEST_OBJECT;
+ public static final String CONTEXT_REQUEST_OBJECT = CONTEXT_OBJECT_MODEL + '.' + ObjectModelHelper.REQUEST_OBJECT;
/** Application <code>Context</code> Key for the current response object */
- public static final String CONTEXT_RESPONSE_OBJECT = CONTEXT_OBJECT_MODEL + '/' + ObjectModelHelper.RESPONSE_OBJECT;
+ public static final String CONTEXT_RESPONSE_OBJECT = CONTEXT_OBJECT_MODEL + '.' + ObjectModelHelper.RESPONSE_OBJECT;
private ContextHelper() {
// Forbid instantiation
1.2 +2 -2 cocoon-2.1/src/java/org/apache/cocoon/components/ComponentContext.java
Index: ComponentContext.java
===================================================================
RCS file: /home/cvs/cocoon-2.1/src/java/org/apache/cocoon/components/ComponentContext.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ComponentContext.java 23 May 2003 09:18:48 -0000 1.1
+++ ComponentContext.java 23 May 2003 12:14:04 -0000 1.2
@@ -68,7 +68,7 @@
public class ComponentContext
extends DefaultContext {
- protected static final String OBJECT_MODEL_KEY_PREFIX = ContextHelper.CONTEXT_OBJECT_MODEL + '/';
+ protected static final String OBJECT_MODEL_KEY_PREFIX = ContextHelper.CONTEXT_OBJECT_MODEL + '.';
/**
* Create a Context with specified data and parent.