cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anto...@apache.org
Subject svn commit: r400363 - /cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/Cocoon.java
Date Sat, 06 May 2006 20:35:07 GMT
Author: antonio
Date: Sat May  6 13:35:06 2006
New Revision: 400363

URL: http://svn.apache.org/viewcvs?rev=400363&view=rev
Log:
Create a bigger StringBuffer, we store there a lot of info.

Modified:
    cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/Cocoon.java

Modified: cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/Cocoon.java
URL: http://svn.apache.org/viewcvs/cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/Cocoon.java?rev=400363&r1=400362&r2=400363&view=diff
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/Cocoon.java (original)
+++ cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/Cocoon.java Sat May  6 13:35:06
2006
@@ -52,7 +52,6 @@
 import org.apache.cocoon.util.Deprecation;
 import org.apache.cocoon.util.SimpleSourceResolver;
 import org.apache.cocoon.util.Settings;
-import org.apache.cocoon.util.PropertySettings;
 import org.apache.cocoon.util.SettingsHelper;
 import org.apache.cocoon.util.location.Location;
 import org.apache.cocoon.util.location.LocationImpl;
@@ -561,7 +560,7 @@
         Map objectModel = environment.getObjectModel();
         Request request = ObjectModelHelper.getRequest(objectModel);
         Session session = request.getSession(false);
-        StringBuffer msg = new StringBuffer();
+        StringBuffer msg = new StringBuffer(2048);
         msg.append("DEBUGGING INFORMATION:").append(lineSeparator);
         if (internal) {
             msg.append("INTERNAL ");
@@ -603,7 +602,6 @@
                     msg.append(", ");
                 }
             }
-
             msg.append("'").append(lineSeparator);
         }
 



Mime
View raw message