cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ilgro...@apache.org
Subject svn commit: r1156654 - in /cocoon/cocoon3/trunk: cocoon-archetype-parent/src/main/resources/archetype-resources/ cocoon-servlet/src/main/java/org/apache/cocoon/servlet/ cocoon-stax/src/main/java/org/apache/cocoon/stax/converter/util/ cocoon-stax/src/te...
Date Thu, 11 Aug 2011 15:35:04 GMT
Author: ilgrosso
Date: Thu Aug 11 15:35:03 2011
New Revision: 1156654

URL: http://svn.apache.org/viewvc?rev=1156654&view=rev
Log:
Updating to commons-lang3-3.0.1 and removing StringBuffer for StringBuilder

Modified:
    cocoon/cocoon3/trunk/cocoon-archetype-parent/src/main/resources/archetype-resources/pom.xml
    cocoon/cocoon3/trunk/cocoon-servlet/src/main/java/org/apache/cocoon/servlet/DebugFilter.java
    cocoon/cocoon3/trunk/cocoon-stax/src/main/java/org/apache/cocoon/stax/converter/util/StAXEventContentHandler.java
    cocoon/cocoon3/trunk/cocoon-stax/src/test/java/org/apache/cocoon/stax/stress/test/EmitTransformerTest.java
    cocoon/cocoon3/trunk/cocoon-stax/src/test/java/org/apache/cocoon/stax/stress/test/GeneratingStarterTest.java
    cocoon/cocoon3/trunk/parent/pom.xml

Modified: cocoon/cocoon3/trunk/cocoon-archetype-parent/src/main/resources/archetype-resources/pom.xml
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-archetype-parent/src/main/resources/archetype-resources/pom.xml?rev=1156654&r1=1156653&r2=1156654&view=diff
==============================================================================
--- cocoon/cocoon3/trunk/cocoon-archetype-parent/src/main/resources/archetype-resources/pom.xml
(original)
+++ cocoon/cocoon3/trunk/cocoon-archetype-parent/src/main/resources/archetype-resources/pom.xml
Thu Aug 11 15:35:03 2011
@@ -188,7 +188,7 @@
             <dependency>
                 <groupId>org.apache.commons</groupId>
                 <artifactId>commons-lang3</artifactId>
-                <version>3.0</version>
+                <version>3.0.1</version>
             </dependency>
             <dependency>
                 <groupId>javax.servlet</groupId>

Modified: cocoon/cocoon3/trunk/cocoon-servlet/src/main/java/org/apache/cocoon/servlet/DebugFilter.java
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-servlet/src/main/java/org/apache/cocoon/servlet/DebugFilter.java?rev=1156654&r1=1156653&r2=1156654&view=diff
==============================================================================
--- cocoon/cocoon3/trunk/cocoon-servlet/src/main/java/org/apache/cocoon/servlet/DebugFilter.java
(original)
+++ cocoon/cocoon3/trunk/cocoon-servlet/src/main/java/org/apache/cocoon/servlet/DebugFilter.java
Thu Aug 11 15:35:03 2011
@@ -81,7 +81,7 @@ public class DebugFilter implements Filt
             final HttpServletRequest request = (HttpServletRequest) req;
 
             if (LOG.isDebugEnabled()) {
-                final StringBuffer msg = new StringBuffer();
+                final StringBuilder msg = new StringBuilder();
 
                 msg.append("DEBUGGING INFORMATION:").append(lineSeparator);
                 msg.append("REQUEST: ").append(request.getRequestURI()).append(lineSeparator).append(lineSeparator);

Modified: cocoon/cocoon3/trunk/cocoon-stax/src/main/java/org/apache/cocoon/stax/converter/util/StAXEventContentHandler.java
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-stax/src/main/java/org/apache/cocoon/stax/converter/util/StAXEventContentHandler.java?rev=1156654&r1=1156653&r2=1156654&view=diff
==============================================================================
--- cocoon/cocoon3/trunk/cocoon-stax/src/main/java/org/apache/cocoon/stax/converter/util/StAXEventContentHandler.java
(original)
+++ cocoon/cocoon3/trunk/cocoon-stax/src/main/java/org/apache/cocoon/stax/converter/util/StAXEventContentHandler.java
Thu Aug 11 15:35:03 2011
@@ -76,7 +76,7 @@ public class StAXEventContentHandler ext
     /**
      * Buffer containing text read within the current CDATA section.
      */
-    private StringBuffer CDATABuffer;
+    private StringBuilder CDATABuffer;
 
     /**
      * Stack used to store declared namespaces.
@@ -464,7 +464,7 @@ public class StAXEventContentHandler ext
     public void startCDATA() throws SAXException {
         this.isCDATA = true;
         if (this.CDATABuffer == null) {
-            this.CDATABuffer = new StringBuffer();
+            this.CDATABuffer = new StringBuilder();
         } else {
             this.CDATABuffer.setLength(0);
         }

Modified: cocoon/cocoon3/trunk/cocoon-stax/src/test/java/org/apache/cocoon/stax/stress/test/EmitTransformerTest.java
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-stax/src/test/java/org/apache/cocoon/stax/stress/test/EmitTransformerTest.java?rev=1156654&r1=1156653&r2=1156654&view=diff
==============================================================================
--- cocoon/cocoon3/trunk/cocoon-stax/src/test/java/org/apache/cocoon/stax/stress/test/EmitTransformerTest.java
(original)
+++ cocoon/cocoon3/trunk/cocoon-stax/src/test/java/org/apache/cocoon/stax/stress/test/EmitTransformerTest.java
Thu Aug 11 15:35:03 2011
@@ -145,7 +145,7 @@ public class EmitTransformerTest {
         String created = new String(out.toByteArray());
         out.close();
 
-        StringBuffer correctOne = new StringBuffer("<root>");
+        StringBuilder correctOne = new StringBuilder("<root>");
         for (int i = 0; i < 5; i++) {
             correctOne.append("<element/>");
         }

Modified: cocoon/cocoon3/trunk/cocoon-stax/src/test/java/org/apache/cocoon/stax/stress/test/GeneratingStarterTest.java
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-stax/src/test/java/org/apache/cocoon/stax/stress/test/GeneratingStarterTest.java?rev=1156654&r1=1156653&r2=1156654&view=diff
==============================================================================
--- cocoon/cocoon3/trunk/cocoon-stax/src/test/java/org/apache/cocoon/stax/stress/test/GeneratingStarterTest.java
(original)
+++ cocoon/cocoon3/trunk/cocoon-stax/src/test/java/org/apache/cocoon/stax/stress/test/GeneratingStarterTest.java
Thu Aug 11 15:35:03 2011
@@ -85,7 +85,7 @@ public class GeneratingStarterTest {
 
         String created = new String(out.toByteArray());
         out.close();
-        StringBuffer correctOne = new StringBuffer("<root>");
+        StringBuilder correctOne = new StringBuilder("<root>");
         for (int i = 0; i < count; i++) {
             correctOne.append("<element/>");
         }

Modified: cocoon/cocoon3/trunk/parent/pom.xml
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/parent/pom.xml?rev=1156654&r1=1156653&r2=1156654&view=diff
==============================================================================
--- cocoon/cocoon3/trunk/parent/pom.xml (original)
+++ cocoon/cocoon3/trunk/parent/pom.xml Thu Aug 11 15:35:03 2011
@@ -324,7 +324,7 @@
             <dependency>
                 <groupId>org.apache.commons</groupId>
                 <artifactId>commons-lang3</artifactId>
-                <version>3.0</version>
+                <version>3.0.1</version>
             </dependency>
             <dependency>
                 <groupId>javax.servlet</groupId>



Mime
View raw message