cziegeler 2004/01/08 01:23:14
Modified: src/java/org/apache/cocoon/components/persistence
RequestDataStoreImpl.java RequestDataStore.java
Log:
Optimizing
Revision Changes Path
1.3 +5 -7
cocoon-2.1/src/java/org/apache/cocoon/components/persistence/RequestDataStoreImpl.java
Index: RequestDataStoreImpl.java
===================================================================
RCS file:
/home/cvs/cocoon-2.1/src/java/org/apache/cocoon/components/persistence/RequestDataStoreImpl.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- RequestDataStoreImpl.java 24 Sep 2003 21:41:12 -0000 1.2
+++ RequestDataStoreImpl.java 8 Jan 2004 09:23:14 -0000 1.3
@@ -65,7 +65,7 @@
/**
* The default implementation
*
- * @author <a href="mailto:[EMAIL PROTECTED]">Carsten Ziegeler</a>
+ * @author <a href="mailto:[EMAIL PROTECTED]">Carsten Ziegeler</a>
*
* @version CVS $Id$
* @since 2.1.1
@@ -76,17 +76,15 @@
protected Context context;
- protected String requestDataKey;
+ protected final String requestDataKey = this.getClass().getName() +
"/RD";
+
+ protected final String globalRequestDataKey = this.getClass().getName()
+ "/GRD";
- protected String globalRequestDataKey;
-
/* (non-Javadoc)
* @see
org.apache.avalon.framework.context.Contextualizable#contextualize(org.apache.avalon.framework.context.Context)
*/
public void contextualize(Context context) throws ContextException {
this.context = context;
- this.requestDataKey = this.getClass().getName() + "/RD";
- this.globalRequestDataKey = this.getClass().getName() + "/GRD";
}
/* (non-Javadoc)
1.2 +3 -3
cocoon-2.1/src/java/org/apache/cocoon/components/persistence/RequestDataStore.java
Index: RequestDataStore.java
===================================================================
RCS file:
/home/cvs/cocoon-2.1/src/java/org/apache/cocoon/components/persistence/RequestDataStore.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- RequestDataStore.java 1 Sep 2003 14:45:07 -0000 1.1
+++ RequestDataStore.java 8 Jan 2004 09:23:14 -0000 1.2
@@ -52,7 +52,7 @@
/**
- * A request data store is a component that manages data that are
+ * A request data store is a component that manages data that is
* linked to the current request.
* With the setRequestData() method you can link any object to the
* current request. This object can be fetched via getRequestData()
@@ -64,7 +64,7 @@
* This component is a replacement for the request lifecycle and
* global request lifecycle components.
*
- * @author <a href="mailto:[EMAIL PROTECTED]">Carsten Ziegeler</a>
+ * @author <a href="mailto:[EMAIL PROTECTED]">Carsten Ziegeler</a>
*
* @version CVS $Id$
* @since 2.1.1