cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r603313 - in /cocoon/branches/BRANCH_2_1_X/src/blocks/portal/java/org/apache/cocoon/portal/layout: AbstractLayout.java AbstractParameters.java impl/CompositeLayoutImpl.java
Date Tue, 11 Dec 2007 17:30:14 GMT
Author: cziegeler
Date: Tue Dec 11 09:30:12 2007
New Revision: 603313

URL: http://svn.apache.org/viewvc?rev=603313&view=rev
Log:
Some memory consumption improvements for the user profiles

Modified:
    cocoon/branches/BRANCH_2_1_X/src/blocks/portal/java/org/apache/cocoon/portal/layout/AbstractLayout.java
    cocoon/branches/BRANCH_2_1_X/src/blocks/portal/java/org/apache/cocoon/portal/layout/AbstractParameters.java
    cocoon/branches/BRANCH_2_1_X/src/blocks/portal/java/org/apache/cocoon/portal/layout/impl/CompositeLayoutImpl.java

Modified: cocoon/branches/BRANCH_2_1_X/src/blocks/portal/java/org/apache/cocoon/portal/layout/AbstractLayout.java
URL: http://svn.apache.org/viewvc/cocoon/branches/BRANCH_2_1_X/src/blocks/portal/java/org/apache/cocoon/portal/layout/AbstractLayout.java?rev=603313&r1=603312&r2=603313&view=diff
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/blocks/portal/java/org/apache/cocoon/portal/layout/AbstractLayout.java
(original)
+++ cocoon/branches/BRANCH_2_1_X/src/blocks/portal/java/org/apache/cocoon/portal/layout/AbstractLayout.java
Tue Dec 11 09:30:12 2007
@@ -40,8 +40,8 @@
     protected String rendererName;
     
     protected Item parent;
-    
-    protected Map parameters = new LinkedMap();
+
+    protected Map parameters = new LinkedMap(3);
 
     /* (non-Javadoc)
      * @see org.apache.cocoon.portal.layout.Parameters#getParameters()

Modified: cocoon/branches/BRANCH_2_1_X/src/blocks/portal/java/org/apache/cocoon/portal/layout/AbstractParameters.java
URL: http://svn.apache.org/viewvc/cocoon/branches/BRANCH_2_1_X/src/blocks/portal/java/org/apache/cocoon/portal/layout/AbstractParameters.java?rev=603313&r1=603312&r2=603313&view=diff
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/blocks/portal/java/org/apache/cocoon/portal/layout/AbstractParameters.java
(original)
+++ cocoon/branches/BRANCH_2_1_X/src/blocks/portal/java/org/apache/cocoon/portal/layout/AbstractParameters.java
Tue Dec 11 09:30:12 2007
@@ -35,8 +35,8 @@
 public abstract class AbstractParameters 
     implements Parameters, Cloneable {
 
-    protected Map parameters = new LinkedMap();
-     
+    protected Map parameters = new LinkedMap(3);
+
     /* (non-Javadoc)
      * @see org.apache.cocoon.portal.layout.Parameters#getParameters()
      */

Modified: cocoon/branches/BRANCH_2_1_X/src/blocks/portal/java/org/apache/cocoon/portal/layout/impl/CompositeLayoutImpl.java
URL: http://svn.apache.org/viewvc/cocoon/branches/BRANCH_2_1_X/src/blocks/portal/java/org/apache/cocoon/portal/layout/impl/CompositeLayoutImpl.java?rev=603313&r1=603312&r2=603313&view=diff
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/blocks/portal/java/org/apache/cocoon/portal/layout/impl/CompositeLayoutImpl.java
(original)
+++ cocoon/branches/BRANCH_2_1_X/src/blocks/portal/java/org/apache/cocoon/portal/layout/impl/CompositeLayoutImpl.java
Tue Dec 11 09:30:12 2007
@@ -39,7 +39,7 @@
     extends AbstractLayout
     implements CompositeLayout {
 
-    protected List items = new ArrayList();
+    protected List items = new ArrayList(3);
 
     /** The class name of the items */
     protected String itemClassName;



Mime
View raw message