cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anto...@apache.org
Subject svn commit: r123806 - /cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/components/flow/javascript/fom/CompilingClassLoader.java
Date Fri, 31 Dec 2004 16:07:41 GMT
Author: antonio
Date: Fri Dec 31 08:07:39 2004
New Revision: 123806

URL: http://svn.apache.org/viewcvs?view=rev&rev=123806
Log:
Initialize the StringBuffer with the first String
Modified:
   cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/components/flow/javascript/fom/CompilingClassLoader.java

Modified: cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/components/flow/javascript/fom/CompilingClassLoader.java
Url: http://svn.apache.org/viewcvs/cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/components/flow/javascript/fom/CompilingClassLoader.java?view=diff&rev=123806&p1=cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/components/flow/javascript/fom/CompilingClassLoader.java&r1=123805&p2=cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/components/flow/javascript/fom/CompilingClassLoader.java&r2=123806
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/components/flow/javascript/fom/CompilingClassLoader.java
(original)
+++ cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/components/flow/javascript/fom/CompilingClassLoader.java
Fri Dec 31 08:07:39 2004
@@ -332,8 +332,7 @@
                              errorHandler);
             List errorList = errorHandler.getErrorList();
             if (errorList.size() > 0) {
-                StringBuffer msg = new StringBuffer();
-                msg.append("Failed to compile Java class ");
+                StringBuffer msg = new StringBuffer("Failed to compile Java class ");
                 msg.append(className);
                 msg.append(": ");
                 Iterator iter = errorList.iterator();

Mime
View raw message