geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xuhaih...@apache.org
Subject svn commit: r1144307 [2/3] - in /geronimo/server/trunk: framework/buildsupport/geronimo-osgi-plugin/src/main/java/org/apache/geronimo/mavenplugins/osgi/ framework/buildsupport/geronimo-osgi-plugin/src/main/java/org/apache/geronimo/mavenplugins/osgi/uti...
Date Fri, 08 Jul 2011 13:24:13 GMT
Modified: geronimo/server/trunk/framework/modules/geronimo-security/src/main/java/org/apache/geronimo/security/IdentificationPrincipal.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/framework/modules/geronimo-security/src/main/java/org/apache/geronimo/security/IdentificationPrincipal.java?rev=1144307&r1=1144306&r2=1144307&view=diff
==============================================================================
--- geronimo/server/trunk/framework/modules/geronimo-security/src/main/java/org/apache/geronimo/security/IdentificationPrincipal.java (original)
+++ geronimo/server/trunk/framework/modules/geronimo-security/src/main/java/org/apache/geronimo/security/IdentificationPrincipal.java Fri Jul  8 13:24:09 2011
@@ -79,7 +79,7 @@ public class IdentificationPrincipal imp
     public String getName() {
         if (name == null) {
 
-            StringBuffer buffer = new StringBuffer("");
+            StringBuilder buffer = new StringBuilder("");
             buffer.append(getClass().getName());
             buffer.append("[");
             buffer.append(id);

Modified: geronimo/server/trunk/framework/modules/geronimo-security/src/main/java/org/apache/geronimo/security/RealmPrincipal.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/framework/modules/geronimo-security/src/main/java/org/apache/geronimo/security/RealmPrincipal.java?rev=1144307&r1=1144306&r2=1144307&view=diff
==============================================================================
--- geronimo/server/trunk/framework/modules/geronimo-security/src/main/java/org/apache/geronimo/security/RealmPrincipal.java (original)
+++ geronimo/server/trunk/framework/modules/geronimo-security/src/main/java/org/apache/geronimo/security/RealmPrincipal.java Fri Jul  8 13:24:09 2011
@@ -80,7 +80,7 @@ public class RealmPrincipal implements P
      */
     public String getName() {
         if (name == null) {
-            StringBuffer buffer = new StringBuffer("");
+            StringBuilder buffer = new StringBuilder("");
             buffer.append(realm);
             buffer.append("::");
             buffer.append(domain);

Modified: geronimo/server/trunk/framework/modules/geronimo-security/src/main/java/org/apache/geronimo/security/SubjectId.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/framework/modules/geronimo-security/src/main/java/org/apache/geronimo/security/SubjectId.java?rev=1144307&r1=1144306&r2=1144307&view=diff
==============================================================================
--- geronimo/server/trunk/framework/modules/geronimo-security/src/main/java/org/apache/geronimo/security/SubjectId.java (original)
+++ geronimo/server/trunk/framework/modules/geronimo-security/src/main/java/org/apache/geronimo/security/SubjectId.java Fri Jul  8 13:24:09 2011
@@ -58,7 +58,7 @@ public class SubjectId implements Serial
 
     public String toString() {
         if (name == null) {
-            StringBuffer buffer = new StringBuffer();
+            StringBuilder buffer = new StringBuilder();
             buffer.append('[');
             buffer.append(subjectId);
             buffer.append(":0x");

Modified: geronimo/server/trunk/framework/modules/geronimo-security/src/main/java/org/apache/geronimo/security/deploy/MapOfSets.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/framework/modules/geronimo-security/src/main/java/org/apache/geronimo/security/deploy/MapOfSets.java?rev=1144307&r1=1144306&r2=1144307&view=diff
==============================================================================
--- geronimo/server/trunk/framework/modules/geronimo-security/src/main/java/org/apache/geronimo/security/deploy/MapOfSets.java (original)
+++ geronimo/server/trunk/framework/modules/geronimo-security/src/main/java/org/apache/geronimo/security/deploy/MapOfSets.java Fri Jul  8 13:24:09 2011
@@ -80,7 +80,7 @@ public class MapOfSets extends HashMap {
             if (map == null) {
                 return null;
             }
-            StringBuffer text = new StringBuffer();
+            StringBuilder text = new StringBuilder();
             for (Iterator iterator = map.entrySet().iterator(); iterator.hasNext();) {
                 Map.Entry entry = (Map.Entry) iterator.next();
                 text.append(entry.getKey()).append("=");

Modified: geronimo/server/trunk/framework/modules/geronimo-security/src/main/java/org/apache/geronimo/security/keystore/FileKeystoreInstance.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/framework/modules/geronimo-security/src/main/java/org/apache/geronimo/security/keystore/FileKeystoreInstance.java?rev=1144307&r1=1144306&r2=1144307&view=diff
==============================================================================
--- geronimo/server/trunk/framework/modules/geronimo-security/src/main/java/org/apache/geronimo/security/keystore/FileKeystoreInstance.java (original)
+++ geronimo/server/trunk/framework/modules/geronimo-security/src/main/java/org/apache/geronimo/security/keystore/FileKeystoreInstance.java Fri Jul  8 13:24:09 2011
@@ -240,7 +240,7 @@ public class FileKeystoreInstance implem
     }
 
     private void storePasswords() throws KeystoreException {
-        StringBuffer buf = new StringBuffer();
+        StringBuilder buf = new StringBuilder();
         for (Iterator it = keyPasswords.entrySet().iterator(); it.hasNext();) {
             if(buf.length() > 0) {
                 buf.append("]![");
@@ -370,7 +370,7 @@ public class FileKeystoreInstance implem
         final String END_CERT_REQ = "-----END CERTIFICATE REQUEST-----";
         final int CERT_REQ_LINE_LENGTH = 70;
 
-        StringBuffer sbuf = new StringBuffer(BEGIN_CERT_REQ).append('\n');
+        StringBuilder sbuf = new StringBuilder(BEGIN_CERT_REQ).append('\n');
 
         int idx = 0;
         while (idx < b64.length()) {

Modified: geronimo/server/trunk/framework/modules/geronimo-security/src/main/java/org/apache/geronimo/security/realm/providers/CertificateChainCallbackHandler.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/framework/modules/geronimo-security/src/main/java/org/apache/geronimo/security/realm/providers/CertificateChainCallbackHandler.java?rev=1144307&r1=1144306&r2=1144307&view=diff
==============================================================================
--- geronimo/server/trunk/framework/modules/geronimo-security/src/main/java/org/apache/geronimo/security/realm/providers/CertificateChainCallbackHandler.java (original)
+++ geronimo/server/trunk/framework/modules/geronimo-security/src/main/java/org/apache/geronimo/security/realm/providers/CertificateChainCallbackHandler.java Fri Jul  8 13:24:09 2011
@@ -51,7 +51,7 @@ public class CertificateChainCallbackHan
                     CertificateCallback cc = (CertificateCallback) callback;
                     cc.setCertificate((X509Certificate) certificateChain[0]);
                 } else {
-                    StringBuffer buf = new StringBuffer("Invalid certificate chain: \n");
+                    StringBuilder buf = new StringBuilder("Invalid certificate chain: \n");
                     if (certificateChain == null) {
                         buf.append("certificate chain is null");
                     } else {

Modified: geronimo/server/trunk/framework/modules/geronimo-security/src/main/java/org/apache/geronimo/security/realm/providers/GenericHttpHeaderLdapLoginModule.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/framework/modules/geronimo-security/src/main/java/org/apache/geronimo/security/realm/providers/GenericHttpHeaderLdapLoginModule.java?rev=1144307&r1=1144306&r2=1144307&view=diff
==============================================================================
--- geronimo/server/trunk/framework/modules/geronimo-security/src/main/java/org/apache/geronimo/security/realm/providers/GenericHttpHeaderLdapLoginModule.java (original)
+++ geronimo/server/trunk/framework/modules/geronimo-security/src/main/java/org/apache/geronimo/security/realm/providers/GenericHttpHeaderLdapLoginModule.java Fri Jul  8 13:24:09 2011
@@ -333,7 +333,7 @@ public class GenericHttpHeaderLdapLoginM
     }
 
     protected String doRFC2254Encoding(String inputString) {
-        StringBuffer buf = new StringBuffer(inputString.length());
+        StringBuilder buf = new StringBuilder(inputString.length());
         for (int i = 0; i < inputString.length(); i++) {
             char c = inputString.charAt(i);
             switch (c) {

Modified: geronimo/server/trunk/framework/modules/geronimo-security/src/main/java/org/apache/geronimo/security/realm/providers/LDAPLoginModule.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/framework/modules/geronimo-security/src/main/java/org/apache/geronimo/security/realm/providers/LDAPLoginModule.java?rev=1144307&r1=1144306&r2=1144307&view=diff
==============================================================================
--- geronimo/server/trunk/framework/modules/geronimo-security/src/main/java/org/apache/geronimo/security/realm/providers/LDAPLoginModule.java (original)
+++ geronimo/server/trunk/framework/modules/geronimo-security/src/main/java/org/apache/geronimo/security/realm/providers/LDAPLoginModule.java Fri Jul  8 13:24:09 2011
@@ -365,7 +365,7 @@ public class LDAPLoginModule implements 
 
 
     protected String doRFC2254Encoding(String inputString) {
-        StringBuffer buf = new StringBuffer(inputString.length());
+        StringBuilder buf = new StringBuilder(inputString.length());
         for (int i = 0; i < inputString.length(); i++) {
             char c = inputString.charAt(i);
             switch (c) {

Modified: geronimo/server/trunk/framework/modules/geronimo-security/src/main/java/org/apache/geronimo/security/realm/providers/SpnegoLoginModule.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/framework/modules/geronimo-security/src/main/java/org/apache/geronimo/security/realm/providers/SpnegoLoginModule.java?rev=1144307&r1=1144306&r2=1144307&view=diff
==============================================================================
--- geronimo/server/trunk/framework/modules/geronimo-security/src/main/java/org/apache/geronimo/security/realm/providers/SpnegoLoginModule.java (original)
+++ geronimo/server/trunk/framework/modules/geronimo-security/src/main/java/org/apache/geronimo/security/realm/providers/SpnegoLoginModule.java Fri Jul  8 13:24:09 2011
@@ -294,7 +294,7 @@ public class SpnegoLoginModule implement
      * Converts a binary SID to a string
      */
     private static String binaryToStringSID(byte[] sidBytes) {
-        StringBuffer sidString = new StringBuffer();
+        StringBuilder sidString = new StringBuilder();
         sidString.append("S-");
         // Add SID revision
         sidString.append(Byte.toString(sidBytes[0]));

Modified: geronimo/server/trunk/framework/modules/geronimo-service-builder/src/main/java/org/apache/geronimo/deployment/dconfigbean/DConfigBeanSupport.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/framework/modules/geronimo-service-builder/src/main/java/org/apache/geronimo/deployment/dconfigbean/DConfigBeanSupport.java?rev=1144307&r1=1144306&r2=1144307&view=diff
==============================================================================
--- geronimo/server/trunk/framework/modules/geronimo-service-builder/src/main/java/org/apache/geronimo/deployment/dconfigbean/DConfigBeanSupport.java (original)
+++ geronimo/server/trunk/framework/modules/geronimo-service-builder/src/main/java/org/apache/geronimo/deployment/dconfigbean/DConfigBeanSupport.java Fri Jul  8 13:24:09 2011
@@ -66,7 +66,7 @@ public abstract class DConfigBeanSupport
         String[] result = new String[xpathSegments.length];
         for (int i = 0; i < xpathSegments.length; i++) {
             String[] xpathSegmentArray = xpathSegments[i];
-            StringBuffer xpath = new StringBuffer();
+            StringBuilder xpath = new StringBuilder();
             for (int j = 0; j < xpathSegmentArray.length; j++) {
                 String segment = xpathSegmentArray[j];
                 if (prefix != null) {

Modified: geronimo/server/trunk/framework/modules/geronimo-shell-base/src/main/java/org/apache/geronimo/shell/BaseCommandSupport.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/framework/modules/geronimo-shell-base/src/main/java/org/apache/geronimo/shell/BaseCommandSupport.java?rev=1144307&r1=1144306&r2=1144307&view=diff
==============================================================================
--- geronimo/server/trunk/framework/modules/geronimo-shell-base/src/main/java/org/apache/geronimo/shell/BaseCommandSupport.java (original)
+++ geronimo/server/trunk/framework/modules/geronimo-shell-base/src/main/java/org/apache/geronimo/shell/BaseCommandSupport.java Fri Jul  8 13:24:09 2011
@@ -90,7 +90,7 @@ public abstract class BaseCommandSupport
     }
 
     private String readLine(String msg, char mask) throws IOException {
-        StringBuffer sb = new StringBuffer();
+        StringBuilder sb = new StringBuilder();
         if (msg != null) {
             session.getConsole().print(msg);
             session.getConsole().flush();

Modified: geronimo/server/trunk/framework/modules/geronimo-system/src/main/java/org/apache/geronimo/system/configuration/GBeanOverride.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/framework/modules/geronimo-system/src/main/java/org/apache/geronimo/system/configuration/GBeanOverride.java?rev=1144307&r1=1144306&r2=1144307&view=diff
==============================================================================
--- geronimo/server/trunk/framework/modules/geronimo-system/src/main/java/org/apache/geronimo/system/configuration/GBeanOverride.java (original)
+++ geronimo/server/trunk/framework/modules/geronimo-system/src/main/java/org/apache/geronimo/system/configuration/GBeanOverride.java Fri Jul  8 13:24:09 2011
@@ -115,7 +115,7 @@ public class GBeanOverride implements Se
             return original;
         }
         int last = -1;
-        StringBuffer buf = new StringBuffer();
+        StringBuilder buf = new StringBuilder();
         while (pos > -1) {
             buf.append(original.substring(last + 1, pos));
             buf.append(newArtifact);

Modified: geronimo/server/trunk/framework/modules/geronimo-system/src/main/java/org/apache/geronimo/system/configuration/LocalAttributeManager.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/framework/modules/geronimo-system/src/main/java/org/apache/geronimo/system/configuration/LocalAttributeManager.java?rev=1144307&r1=1144306&r2=1144307&view=diff
==============================================================================
--- geronimo/server/trunk/framework/modules/geronimo-system/src/main/java/org/apache/geronimo/system/configuration/LocalAttributeManager.java (original)
+++ geronimo/server/trunk/framework/modules/geronimo-system/src/main/java/org/apache/geronimo/system/configuration/LocalAttributeManager.java Fri Jul  8 13:24:09 2011
@@ -174,7 +174,7 @@ public class LocalAttributeManager imple
             if (!datasByName.containsKey(name) && gbean.isLoad()) {
                 if (gbean.getGBeanInfo() == null || !(name instanceof AbstractName)) {
                     String sep = "";
-                    StringBuffer message = new StringBuffer("New GBeans must be specified with ");
+                    StringBuilder message = new StringBuilder("New GBeans must be specified with ");
                     if (gbean.getGBeanInfo() == null) {
                         message.append("a GBeanInfo ");
                         sep = "and ";

Modified: geronimo/server/trunk/framework/modules/geronimo-system/src/main/java/org/apache/geronimo/system/jmx/KernelDelegate.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/framework/modules/geronimo-system/src/main/java/org/apache/geronimo/system/jmx/KernelDelegate.java?rev=1144307&r1=1144306&r2=1144307&view=diff
==============================================================================
--- geronimo/server/trunk/framework/modules/geronimo-system/src/main/java/org/apache/geronimo/system/jmx/KernelDelegate.java (original)
+++ geronimo/server/trunk/framework/modules/geronimo-system/src/main/java/org/apache/geronimo/system/jmx/KernelDelegate.java Fri Jul  8 13:24:09 2011
@@ -901,7 +901,7 @@ public class KernelDelegate implements K
             if (cause instanceof InstanceNotFoundException) {
                 throw new InternalKernelException("Kernel is not loaded", cause);
             } else if (cause instanceof NoSuchMethodException) {
-                StringBuffer buf = new StringBuffer("KernelDelegate is out of synch with Kernel on ");
+                StringBuilder buf = new StringBuilder("KernelDelegate is out of synch with Kernel on ");
                 buf.append(methodName).append("(");
                 if(types != null) {
                     for (int i = 0; i < types.length; i++) {

Modified: geronimo/server/trunk/framework/modules/geronimo-system/src/main/java/org/apache/geronimo/system/main/ProgressBarStartupMonitor.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/framework/modules/geronimo-system/src/main/java/org/apache/geronimo/system/main/ProgressBarStartupMonitor.java?rev=1144307&r1=1144306&r2=1144307&view=diff
==============================================================================
--- geronimo/server/trunk/framework/modules/geronimo-system/src/main/java/org/apache/geronimo/system/main/ProgressBarStartupMonitor.java (original)
+++ geronimo/server/trunk/framework/modules/geronimo-system/src/main/java/org/apache/geronimo/system/main/ProgressBarStartupMonitor.java Fri Jul  8 13:24:09 2011
@@ -154,7 +154,7 @@ public class ProgressBarStartupMonitor i
     }
 
     private synchronized void repaint() {
-        StringBuffer buf = new StringBuffer();
+        StringBuilder buf = new StringBuilder();
         buf.append("\r[");
         buf.append(kernel == null ? STATUS_NOT_READY : STATUS_STARTED);
         for (int i = 0; i < moduleStatus.length; i++) {

Modified: geronimo/server/trunk/framework/modules/geronimo-system/src/main/java/org/apache/geronimo/system/main/StartupMonitorUtil.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/framework/modules/geronimo-system/src/main/java/org/apache/geronimo/system/main/StartupMonitorUtil.java?rev=1144307&r1=1144306&r2=1144307&view=diff
==============================================================================
--- geronimo/server/trunk/framework/modules/geronimo-system/src/main/java/org/apache/geronimo/system/main/StartupMonitorUtil.java (original)
+++ geronimo/server/trunk/framework/modules/geronimo-system/src/main/java/org/apache/geronimo/system/main/StartupMonitorUtil.java Fri Jul  8 13:24:09 2011
@@ -64,7 +64,7 @@ public class StartupMonitorUtil {
                 if (stateValue != State.RUNNING_INDEX) {
                     GBeanData data = kernel.getGBeanData(name);
                     State state = State.fromInt(stateValue);
-                    StringBuffer buf = new StringBuffer();
+                    StringBuilder buf = new StringBuilder();
                     buf.append("(").append(state.getName());
                     // Since it's not unusual for a failure to be caused by a port binding failure
                     //    we'll see if there's a likely looking port attribute in the config data
@@ -144,7 +144,7 @@ public class StartupMonitorUtil {
             }
             for (int i = 0; i < ports.size(); i++) {
                 AddressHolder holder = (AddressHolder) ports.get(i);
-                StringBuffer buf = new StringBuffer();
+                StringBuilder buf = new StringBuilder();
                 buf.append("   ");
                 if (holder.getAddress().getPort() < 10) {
                     buf.append(' ');
@@ -204,7 +204,7 @@ public class StartupMonitorUtil {
             out.println();
         }
 
-        StringBuffer msg = new StringBuffer();
+        StringBuilder msg = new StringBuilder();
         msg.append("Geronimo Application Server started");
         if (serverInfo != null) {
             msg.append(" (version ").append(serverInfo).append(")");
@@ -248,7 +248,7 @@ public class StartupMonitorUtil {
         if (s == null || s.equals("")) {
             return s;
         }
-        StringBuffer buf = new StringBuffer();
+        StringBuilder buf = new StringBuilder();
         buf.append(Character.toUpperCase(s.charAt(0)));
         for (int i = 1; i < s.length(); i++) {
             if (Character.isUpperCase(s.charAt(i))) {
@@ -293,7 +293,7 @@ public class StartupMonitorUtil {
         }
         
         public String toString() {
-            StringBuffer buf = new StringBuffer(this.getClass().getSimpleName() + ":");
+            StringBuilder buf = new StringBuilder(this.getClass().getSimpleName() + ":");
             buf.append(" name=").append(name);
             buf.append(", address=").append(address.toString());
             return buf.toString();

Modified: geronimo/server/trunk/framework/modules/testsupport-common/src/main/java/org/apache/geronimo/testsupport/HttpUtils.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/framework/modules/testsupport-common/src/main/java/org/apache/geronimo/testsupport/HttpUtils.java?rev=1144307&r1=1144306&r2=1144307&view=diff
==============================================================================
--- geronimo/server/trunk/framework/modules/testsupport-common/src/main/java/org/apache/geronimo/testsupport/HttpUtils.java (original)
+++ geronimo/server/trunk/framework/modules/testsupport-common/src/main/java/org/apache/geronimo/testsupport/HttpUtils.java Fri Jul  8 13:24:09 2011
@@ -101,7 +101,7 @@ public class HttpUtils {
             is = conn.getErrorStream();
         }
         
-        StringBuffer buf = new StringBuffer();
+        StringBuilder buf = new StringBuilder();
         BufferedReader in = new BufferedReader(new InputStreamReader(is));
         String inputLine;
         while ((inputLine = in.readLine()) != null) {

Modified: geronimo/server/trunk/plugins/activemq/activemq-portlets/src/main/java/org/apache/geronimo/console/jmsmanager/activemqCF/ActiveMQConnectorHelper.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/activemq/activemq-portlets/src/main/java/org/apache/geronimo/console/jmsmanager/activemqCF/ActiveMQConnectorHelper.java?rev=1144307&r1=1144306&r2=1144307&view=diff
==============================================================================
--- geronimo/server/trunk/plugins/activemq/activemq-portlets/src/main/java/org/apache/geronimo/console/jmsmanager/activemqCF/ActiveMQConnectorHelper.java (original)
+++ geronimo/server/trunk/plugins/activemq/activemq-portlets/src/main/java/org/apache/geronimo/console/jmsmanager/activemqCF/ActiveMQConnectorHelper.java Fri Jul  8 13:24:09 2011
@@ -61,7 +61,7 @@ public class ActiveMQConnectorHelper {
     private static final String DEPLOY_METHOD = "deploy";
 
     private static String getPlanTemplate() {
-        StringBuffer sb = new StringBuffer();
+        StringBuilder sb = new StringBuilder();
         sb.append("<?xml version=\"1.0\"?>\n");
         sb
                 .append("<connector xmlns=\"http://geronimo.apache.org/xml/ns/j2ee/connector-1.0\"\n");
@@ -157,7 +157,7 @@ public class ActiveMQConnectorHelper {
                 configurationManager.startConfiguration(configID);
             }
         } catch (DeploymentException e) {
-            StringBuffer buf = new StringBuffer(256);
+            StringBuilder buf = new StringBuilder(256);
             Throwable cause = e;
             while (cause != null) {
                 buf.append(cause.getMessage());

Modified: geronimo/server/trunk/plugins/activemq/activemq-portlets/src/main/java/org/apache/geronimo/console/jmsmanager/wizard/JMSProviderData.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/activemq/activemq-portlets/src/main/java/org/apache/geronimo/console/jmsmanager/wizard/JMSProviderData.java?rev=1144307&r1=1144306&r2=1144307&view=diff
==============================================================================
--- geronimo/server/trunk/plugins/activemq/activemq-portlets/src/main/java/org/apache/geronimo/console/jmsmanager/wizard/JMSProviderData.java (original)
+++ geronimo/server/trunk/plugins/activemq/activemq-portlets/src/main/java/org/apache/geronimo/console/jmsmanager/wizard/JMSProviderData.java Fri Jul  8 13:24:09 2011
@@ -338,14 +338,14 @@ public class JMSProviderData implements 
     }
 
     private static String getText(Node node) {
-        StringBuffer buf = null;
+        StringBuilder buf = null;
         NodeList list = node.getChildNodes();
         if(list != null) {
             for(int i=0; i<list.getLength(); i++) {
                 Node current = list.item(i);
                 if(current.getNodeType() == Node.TEXT_NODE) {
                     if(buf == null) {
-                        buf = new StringBuffer();
+                        buf = new StringBuilder();
                     }
                     buf.append(current.getNodeValue());
                 }

Modified: geronimo/server/trunk/plugins/axis/geronimo-axis-builder/src/main/java/org/apache/geronimo/axis/builder/AxisBuilder.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/axis/geronimo-axis-builder/src/main/java/org/apache/geronimo/axis/builder/AxisBuilder.java?rev=1144307&r1=1144306&r2=1144307&view=diff
==============================================================================
--- geronimo/server/trunk/plugins/axis/geronimo-axis-builder/src/main/java/org/apache/geronimo/axis/builder/AxisBuilder.java (original)
+++ geronimo/server/trunk/plugins/axis/geronimo-axis-builder/src/main/java/org/apache/geronimo/axis/builder/AxisBuilder.java Fri Jul  8 13:24:09 2011
@@ -507,7 +507,7 @@ public class AxisBuilder implements WebS
         QName portTypeQName = portType.getQName();
         String portTypeNamespace = portTypeQName.getNamespaceURI();
         String portTypePackage = WSDescriptorParser.getPackageFromNamespace(portTypeNamespace, mappings);
-        StringBuffer shortInterfaceName = new StringBuffer(portTypeQName.getLocalPart());
+        StringBuilder shortInterfaceName = new StringBuilder(portTypeQName.getLocalPart());
         shortInterfaceName.setCharAt(0, Character.toUpperCase(shortInterfaceName.charAt(0)));
         //TODO just use one buffer!
         String fqcn = portTypePackage + "." + shortInterfaceName.toString();

Modified: geronimo/server/trunk/plugins/axis/geronimo-axis/src/main/java/org/apache/geronimo/axis/server/AxisWebServiceContainer.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/axis/geronimo-axis/src/main/java/org/apache/geronimo/axis/server/AxisWebServiceContainer.java?rev=1144307&r1=1144306&r2=1144307&view=diff
==============================================================================
--- geronimo/server/trunk/plugins/axis/geronimo-axis/src/main/java/org/apache/geronimo/axis/server/AxisWebServiceContainer.java (original)
+++ geronimo/server/trunk/plugins/axis/geronimo-axis/src/main/java/org/apache/geronimo/axis/server/AxisWebServiceContainer.java Fri Jul  8 13:24:09 2011
@@ -298,7 +298,7 @@ public class AxisWebServiceContainer imp
 
     private void printServiceInfo(Response response,String serviceName) throws IOException{
         response.setContentType("text/html; charset=utf-8");
-        StringBuffer output = new StringBuffer("<h1>")
+        StringBuilder output = new StringBuilder("<h1>")
                 .append(serviceName).append("</h1>\n");
 
         output.append("<p>").append(Messages.getMessage("axisService00"))

Modified: geronimo/server/trunk/plugins/axis2/geronimo-axis2/src/test/java/org/apache/geronimo/axis2/Axis2WebServiceContainerTest.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/axis2/geronimo-axis2/src/test/java/org/apache/geronimo/axis2/Axis2WebServiceContainerTest.java?rev=1144307&r1=1144306&r2=1144307&view=diff
==============================================================================
--- geronimo/server/trunk/plugins/axis2/geronimo-axis2/src/test/java/org/apache/geronimo/axis2/Axis2WebServiceContainerTest.java (original)
+++ geronimo/server/trunk/plugins/axis2/geronimo-axis2/src/test/java/org/apache/geronimo/axis2/Axis2WebServiceContainerTest.java Fri Jul  8 13:24:09 2011
@@ -98,7 +98,7 @@ public class Axis2WebServiceContainerTes
         InputStream request;
 
         for(int i = 0; i < nodeList.getLength(); i++){
-        	StringBuffer envelope = new StringBuffer("<soap:Envelope");
+        	StringBuilder envelope = new StringBuilder("<soap:Envelope");
         	Element element = (Element)nodeList.item(i);
         	NamedNodeMap attributes = element.getAttributes();
         	if(attributes != null){
@@ -174,7 +174,7 @@ public class Axis2WebServiceContainerTes
     }
 
     private String getElementContent(Element e){
-    	StringBuffer content = new StringBuffer("<"+e.getNodeName());
+    	StringBuilder content = new StringBuilder("<"+e.getNodeName());
     	NamedNodeMap attributes = e.getAttributes();
 
     	if(attributes != null){

Modified: geronimo/server/trunk/plugins/connector-1_6/geronimo-connector-1_6/src/main/java/org/apache/geronimo/connector/wrapper/DatabaseInitializationGBean.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/connector-1_6/geronimo-connector-1_6/src/main/java/org/apache/geronimo/connector/wrapper/DatabaseInitializationGBean.java?rev=1144307&r1=1144306&r2=1144307&view=diff
==============================================================================
--- geronimo/server/trunk/plugins/connector-1_6/geronimo-connector-1_6/src/main/java/org/apache/geronimo/connector/wrapper/DatabaseInitializationGBean.java (original)
+++ geronimo/server/trunk/plugins/connector-1_6/geronimo-connector-1_6/src/main/java/org/apache/geronimo/connector/wrapper/DatabaseInitializationGBean.java Fri Jul  8 13:24:09 2011
@@ -48,13 +48,13 @@ import org.slf4j.LoggerFactory;
  */
 @GBean
 public class DatabaseInitializationGBean {
-    
+
     private static final Logger log = LoggerFactory.getLogger(DatabaseInitializationGBean.class);
 
-    public DatabaseInitializationGBean(@ParamAttribute(name="testSQL") String testSQL, 
+    public DatabaseInitializationGBean(@ParamAttribute(name="testSQL") String testSQL,
                                        @ParamAttribute(name="sql") String sql,
-                                       @ParamAttribute(name="path") String path, 
-                                       @ParamReference(name="DataSource", namingType=NameFactory.JCA_CONNECTION_MANAGER) ResourceSource<ResourceException> cfSource, 
+                                       @ParamAttribute(name="path") String path,
+                                       @ParamReference(name="DataSource", namingType=NameFactory.JCA_CONNECTION_MANAGER) ResourceSource<ResourceException> cfSource,
                                        @ParamSpecial(type = SpecialAttributeType.bundle) Bundle bundle) throws Exception {
 
         DataSource ds = (DataSource) cfSource.$getResource();
@@ -86,7 +86,7 @@ public class DatabaseInitializationGBean
                     BufferedReader r = new BufferedReader(reader);
                     try {
                         String line;
-                        StringBuffer buf = new StringBuffer();
+                        StringBuilder buf = new StringBuilder();
                         while ((line = r.readLine()) != null) {
                             line = line.trim();
                             if (!line.startsWith("--") && line.length() > 0) {
@@ -96,7 +96,7 @@ public class DatabaseInitializationGBean
                                     buf.delete(size - 2, size - 1);
                                     String sqlCmd = buf.toString();
                                     s.execute(sqlCmd);
-                                    buf = new StringBuffer();
+                                    buf.setLength(0);
                                 }
                             }
                         }

Modified: geronimo/server/trunk/plugins/connector-1_6/geronimo-connector-builder-1_6/src/main/java/org/apache/geronimo/connector/deployment/AdminObjectRefBuilder.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/connector-1_6/geronimo-connector-builder-1_6/src/main/java/org/apache/geronimo/connector/deployment/AdminObjectRefBuilder.java?rev=1144307&r1=1144306&r2=1144307&view=diff
==============================================================================
--- geronimo/server/trunk/plugins/connector-1_6/geronimo-connector-builder-1_6/src/main/java/org/apache/geronimo/connector/deployment/AdminObjectRefBuilder.java (original)
+++ geronimo/server/trunk/plugins/connector-1_6/geronimo-connector-builder-1_6/src/main/java/org/apache/geronimo/connector/deployment/AdminObjectRefBuilder.java Fri Jul  8 13:24:09 2011
@@ -358,7 +358,7 @@ public class AdminObjectRefBuilder exten
             Map<String, GerMessageDestinationType> destinations = messageDestinations.get(targetModule);
             // Hmmm...if we don't find the module then something is wrong in the deployment.
             if (destinations == null) {
-                StringBuffer sb = new StringBuffer();
+                StringBuilder sb = new StringBuilder();
                 for (Object o : messageDestinations.keySet()) {
                     sb.append(o).append("\n");
                 }

Modified: geronimo/server/trunk/plugins/connector-1_6/geronimo-connector-builder-1_6/src/main/java/org/apache/geronimo/connector/deployment/ConnectorModuleBuilder.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/connector-1_6/geronimo-connector-builder-1_6/src/main/java/org/apache/geronimo/connector/deployment/ConnectorModuleBuilder.java?rev=1144307&r1=1144306&r2=1144307&view=diff
==============================================================================
--- geronimo/server/trunk/plugins/connector-1_6/geronimo-connector-builder-1_6/src/main/java/org/apache/geronimo/connector/deployment/ConnectorModuleBuilder.java (original)
+++ geronimo/server/trunk/plugins/connector-1_6/geronimo-connector-builder-1_6/src/main/java/org/apache/geronimo/connector/deployment/ConnectorModuleBuilder.java Fri Jul  8 13:24:09 2011
@@ -1131,7 +1131,7 @@ public class ConnectorModuleBuilder impl
             gbeanData.setAttribute(name, getValue(type, configProperty.getStringValue().trim(), bundle));
         }
         if (unknownNames.size() > 0) {
-            StringBuffer buf = new StringBuffer("The plan is trying to set attributes: ").append(unknownNames).append("\n");
+            StringBuilder buf = new StringBuilder("The plan is trying to set attributes: ").append(unknownNames).append("\n");
             buf.append("Known attributes: \n");
             for (GAttributeInfo attributeInfo : gbeanData.getGBeanInfo().getAttributes()) {
                 buf.append(attributeInfo).append("\n");

Modified: geronimo/server/trunk/plugins/console/console-base-portlets/src/main/java/org/apache/geronimo/console/jsr77/DynamicServerInfo.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/console/console-base-portlets/src/main/java/org/apache/geronimo/console/jsr77/DynamicServerInfo.java?rev=1144307&r1=1144306&r2=1144307&view=diff
==============================================================================
--- geronimo/server/trunk/plugins/console/console-base-portlets/src/main/java/org/apache/geronimo/console/jsr77/DynamicServerInfo.java (original)
+++ geronimo/server/trunk/plugins/console/console-base-portlets/src/main/java/org/apache/geronimo/console/jsr77/DynamicServerInfo.java Fri Jul  8 13:24:09 2011
@@ -84,7 +84,7 @@ public class DynamicServerInfo implement
         secs = secs % 3600;
         int minutes = secs / 60;
         secs = secs % 60;
-        StringBuffer buf = new StringBuffer();
+        StringBuilder buf = new StringBuilder();
         if(days > 1) {
             buf.append(' ').append(days).append(" days");
         } else if(days > 0) {

Modified: geronimo/server/trunk/plugins/console/console-core/src/main/java/org/apache/geronimo/console/core/keystore/KeyStoreGBean.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/console/console-core/src/main/java/org/apache/geronimo/console/core/keystore/KeyStoreGBean.java?rev=1144307&r1=1144306&r2=1144307&view=diff
==============================================================================
--- geronimo/server/trunk/plugins/console/console-core/src/main/java/org/apache/geronimo/console/core/keystore/KeyStoreGBean.java (original)
+++ geronimo/server/trunk/plugins/console/console-core/src/main/java/org/apache/geronimo/console/core/keystore/KeyStoreGBean.java Fri Jul  8 13:24:09 2011
@@ -257,7 +257,7 @@ public class KeyStoreGBean implements GB
         final String END_CERT_REQ = "-----END CERTIFICATE REQUEST-----";
         final int CERT_REQ_LINE_LENGTH = 70;
 
-        StringBuffer sbuf = new StringBuffer(BEGIN_CERT_REQ).append('\n');
+        StringBuilder sbuf = new StringBuilder(BEGIN_CERT_REQ).append('\n');
 
         int idx = 0;
         while (idx < b64.length()) {

Modified: geronimo/server/trunk/plugins/console/console-core/src/main/java/org/apache/geronimo/console/util/StringUtils.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/console/console-core/src/main/java/org/apache/geronimo/console/util/StringUtils.java?rev=1144307&r1=1144306&r2=1144307&view=diff
==============================================================================
--- geronimo/server/trunk/plugins/console/console-core/src/main/java/org/apache/geronimo/console/util/StringUtils.java (original)
+++ geronimo/server/trunk/plugins/console/console-core/src/main/java/org/apache/geronimo/console/util/StringUtils.java Fri Jul  8 13:24:09 2011
@@ -20,7 +20,7 @@ package org.apache.geronimo.console.util
 public abstract class StringUtils {
 
     public static String convertToCommaDelimited(String[] list) {
-        StringBuffer ret = new StringBuffer("");
+        StringBuilder ret = new StringBuilder("");
         for (int i = 0; list != null && i < list.length; i++) {
             ret.append(list[i]);
             if (i < list.length - 1) {

Modified: geronimo/server/trunk/plugins/console/console-filter/src/main/java/org/apache/geronimo/console/filter/XSRFHandler.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/console/console-filter/src/main/java/org/apache/geronimo/console/filter/XSRFHandler.java?rev=1144307&r1=1144306&r2=1144307&view=diff
==============================================================================
--- geronimo/server/trunk/plugins/console/console-filter/src/main/java/org/apache/geronimo/console/filter/XSRFHandler.java (original)
+++ geronimo/server/trunk/plugins/console/console-filter/src/main/java/org/apache/geronimo/console/filter/XSRFHandler.java Fri Jul  8 13:24:09 2011
@@ -234,7 +234,7 @@ public class XSRFHandler
      * @return String containing the JavaScript content, else null
      */
     private String getFile(String filename) {
-        StringBuffer sb = new StringBuffer();
+        StringBuilder sb = new StringBuilder();
         InputStream is = getClass().getResourceAsStream(filename);
         if (is != null) {
             try {

Modified: geronimo/server/trunk/plugins/console/console-portal-driver/src/main/java/org/apache/geronimo/console/navigation/NavigationJsonGenerator.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/console/console-portal-driver/src/main/java/org/apache/geronimo/console/navigation/NavigationJsonGenerator.java?rev=1144307&r1=1144306&r2=1144307&view=diff
==============================================================================
--- geronimo/server/trunk/plugins/console/console-portal-driver/src/main/java/org/apache/geronimo/console/navigation/NavigationJsonGenerator.java (original)
+++ geronimo/server/trunk/plugins/console/console-portal-driver/src/main/java/org/apache/geronimo/console/navigation/NavigationJsonGenerator.java Fri Jul  8 13:24:09 2011
@@ -153,7 +153,7 @@ public class NavigationJsonGenerator {
         boolean isTreeAList=this.isTreeAList(pageConfigList, mode, threshold);
         
         
-        StringBuffer sb = new StringBuffer(10);
+        StringBuilder sb = new StringBuilder(10);
         sb.append("[");
         
         
@@ -211,7 +211,7 @@ public class NavigationJsonGenerator {
     }
     
     
-    private void appendNodeToTreeJSON(StringBuffer sb, TreeNode node, String contextPath, String DefaultIcon) {
+    private void appendNodeToTreeJSON(StringBuilder sb, TreeNode node, String contextPath, String DefaultIcon) {
 
         sb.append("{");
 
@@ -247,7 +247,7 @@ public class NavigationJsonGenerator {
     }
     
     
-    private void appendBasicListJSON(StringBuffer sb, TreeNode node, String contextPath, String DefaultIcon) {
+    private void appendBasicListJSON(StringBuilder sb, TreeNode node, String contextPath, String DefaultIcon) {
 
         sb.append("{");
 
@@ -273,7 +273,7 @@ public class NavigationJsonGenerator {
         
         Map<String, TreeNode> navigationTree=this.getNavigationTree(pageConfigList, mode);
 
-        StringBuffer sb = new StringBuffer(10);
+        StringBuilder sb = new StringBuilder(10);
         sb.append("[\n");
         
         for (TreeNode node : navigationTree.values()) {
@@ -291,7 +291,7 @@ public class NavigationJsonGenerator {
     }
     
     
-    private void appendNodeToQuickLauncherJSON(StringBuffer sb, TreeNode node, String contextPath, String DefaultIcon) {
+    private void appendNodeToQuickLauncherJSON(StringBuilder sb, TreeNode node, String contextPath, String DefaultIcon) {
 
         if (node.isLeafNode()) {
             sb.append("\n{");

Modified: geronimo/server/trunk/plugins/console/geronimo-converter/src/main/java/org/apache/geronimo/converter/DOMUtils.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/console/geronimo-converter/src/main/java/org/apache/geronimo/converter/DOMUtils.java?rev=1144307&r1=1144306&r2=1144307&view=diff
==============================================================================
--- geronimo/server/trunk/plugins/console/geronimo-converter/src/main/java/org/apache/geronimo/converter/DOMUtils.java (original)
+++ geronimo/server/trunk/plugins/console/geronimo-converter/src/main/java/org/apache/geronimo/converter/DOMUtils.java Fri Jul  8 13:24:09 2011
@@ -38,7 +38,7 @@ public class DOMUtils {
     }
 
     public static String getText(Element element) {
-        StringBuffer buf = new StringBuffer();
+        StringBuilder buf = new StringBuilder();
         NodeList list = element.getChildNodes();
         boolean found = false;
         for(int i=0; i<list.getLength(); i++) {

Modified: geronimo/server/trunk/plugins/console/plugin-portlets/src/main/java/org/apache/geronimo/console/car/ExportConfigHandler.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/console/plugin-portlets/src/main/java/org/apache/geronimo/console/car/ExportConfigHandler.java?rev=1144307&r1=1144306&r2=1144307&view=diff
==============================================================================
--- geronimo/server/trunk/plugins/console/plugin-portlets/src/main/java/org/apache/geronimo/console/car/ExportConfigHandler.java (original)
+++ geronimo/server/trunk/plugins/console/plugin-portlets/src/main/java/org/apache/geronimo/console/car/ExportConfigHandler.java Fri Jul  8 13:24:09 2011
@@ -222,7 +222,7 @@ public class ExportConfigHandler extends
         if (strings == null || strings.size() == 0) {
             return null;
         }
-        StringBuffer buf = new StringBuffer();
+        StringBuilder buf = new StringBuilder();
         boolean first = true;
         for (String string : strings) {
             if (!first) {
@@ -252,7 +252,7 @@ public class ExportConfigHandler extends
         if (artifacts == null || artifacts.size() == 0) {
             return null;
         }
-        StringBuffer buf = new StringBuffer();
+        StringBuilder buf = new StringBuilder();
         boolean first = true;
         for (ArtifactType artifactType : artifacts) {
             if (!first) {

Modified: geronimo/server/trunk/plugins/console/plugin-portlets/src/main/java/org/apache/geronimo/console/car/GeronimoAsMavenServlet.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/console/plugin-portlets/src/main/java/org/apache/geronimo/console/car/GeronimoAsMavenServlet.java?rev=1144307&r1=1144306&r2=1144307&view=diff
==============================================================================
--- geronimo/server/trunk/plugins/console/plugin-portlets/src/main/java/org/apache/geronimo/console/car/GeronimoAsMavenServlet.java (original)
+++ geronimo/server/trunk/plugins/console/plugin-portlets/src/main/java/org/apache/geronimo/console/car/GeronimoAsMavenServlet.java Fri Jul  8 13:24:09 2011
@@ -106,7 +106,7 @@ public class GeronimoAsMavenServlet exte
                 }
                 String[] parts = start.split("/");
                 if(parts.length > 2) {
-                    StringBuffer buf = new StringBuffer();
+                    StringBuilder buf = new StringBuilder();
                     for (int i = 0; i < parts.length-1; i++) {
                         String part = parts[i];
                         if(i > 0) buf.append('.');

Modified: geronimo/server/trunk/plugins/console/plugin-portlets/src/main/java/org/apache/geronimo/console/car/ViewPluginDownloadHandler.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/console/plugin-portlets/src/main/java/org/apache/geronimo/console/car/ViewPluginDownloadHandler.java?rev=1144307&r1=1144306&r2=1144307&view=diff
==============================================================================
--- geronimo/server/trunk/plugins/console/plugin-portlets/src/main/java/org/apache/geronimo/console/car/ViewPluginDownloadHandler.java (original)
+++ geronimo/server/trunk/plugins/console/plugin-portlets/src/main/java/org/apache/geronimo/console/car/ViewPluginDownloadHandler.java Fri Jul  8 13:24:09 2011
@@ -86,7 +86,7 @@ public class ViewPluginDownloadHandler e
         // see if the plugin is installable.  if not then provide the details
         String validationOk = "All requirements for this plugin have been met.";
         for (PluginInfoBean plugin : plugins) {
-            StringBuffer validationNotOk = new StringBuffer();
+            StringBuilder validationNotOk = new StringBuilder();
             PluginType holder = PluginInstallerGBean.copy(plugin.getPlugin(), plugin.getPluginArtifact());
             try {
                 plugin.setInstallable(pluginInstaller.validatePlugin(holder));

Modified: geronimo/server/trunk/plugins/console/plugin-portlets/src/main/java/org/apache/geronimo/console/securitymanager/realm/SecurityRealmPortlet.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/console/plugin-portlets/src/main/java/org/apache/geronimo/console/securitymanager/realm/SecurityRealmPortlet.java?rev=1144307&r1=1144306&r2=1144307&view=diff
==============================================================================
--- geronimo/server/trunk/plugins/console/plugin-portlets/src/main/java/org/apache/geronimo/console/securitymanager/realm/SecurityRealmPortlet.java (original)
+++ geronimo/server/trunk/plugins/console/plugin-portlets/src/main/java/org/apache/geronimo/console/securitymanager/realm/SecurityRealmPortlet.java Fri Jul  8 13:24:09 2011
@@ -1100,7 +1100,7 @@ public class SecurityRealmPortlet extend
         }
 
         public String getOptionString() {
-            StringBuffer buf = new StringBuffer();
+            StringBuilder buf = new StringBuilder();
             for (Iterator it = options.keySet().iterator(); it.hasNext();) {
                 String key = (String) it.next();
                 buf.append(key).append("=").append(options.get(key)).append("\n");

Modified: geronimo/server/trunk/plugins/cxf/geronimo-cxf/src/main/java/org/apache/geronimo/cxf/GeronimoDestination.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/cxf/geronimo-cxf/src/main/java/org/apache/geronimo/cxf/GeronimoDestination.java?rev=1144307&r1=1144306&r2=1144307&view=diff
==============================================================================
--- geronimo/server/trunk/plugins/cxf/geronimo-cxf/src/main/java/org/apache/geronimo/cxf/GeronimoDestination.java (original)
+++ geronimo/server/trunk/plugins/cxf/geronimo-cxf/src/main/java/org/apache/geronimo/cxf/GeronimoDestination.java Fri Jul  8 13:24:09 2011
@@ -266,7 +266,7 @@ public class GeronimoDestination extends
         
     private String getHeaderValue(List<String> values) {
         Iterator iter = values.iterator();
-        StringBuffer buf = new StringBuffer();
+        StringBuilder buf = new StringBuilder();
         while(iter.hasNext()) {
             buf.append(iter.next());
             if (iter.hasNext()) {

Modified: geronimo/server/trunk/plugins/debugviews/debugviews-portlets/src/main/java/org/apache/geronimo/console/ldapmanager/LDAPManagerHelper.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/debugviews/debugviews-portlets/src/main/java/org/apache/geronimo/console/ldapmanager/LDAPManagerHelper.java?rev=1144307&r1=1144306&r2=1144307&view=diff
==============================================================================
--- geronimo/server/trunk/plugins/debugviews/debugviews-portlets/src/main/java/org/apache/geronimo/console/ldapmanager/LDAPManagerHelper.java (original)
+++ geronimo/server/trunk/plugins/debugviews/debugviews-portlets/src/main/java/org/apache/geronimo/console/ldapmanager/LDAPManagerHelper.java Fri Jul  8 13:24:09 2011
@@ -264,7 +264,7 @@ public class LDAPManagerHelper {
     public String listJSON(String name, String commonFields) throws Exception {
         // JSON: [{title:"Title1",isFolder:true}, {title:"Title2"}]
 
-        StringBuffer json = new StringBuffer();
+        StringBuilder json = new StringBuilder();
         List list = (List) list(name);
 
         json.append('[');
@@ -393,7 +393,7 @@ public class LDAPManagerHelper {
      * Create an LDAP url using host, port, and base DN
      */
     private String createLDAPURL(String host, String port, String baseDN) {
-        StringBuffer url = new StringBuffer();
+        StringBuilder url = new StringBuilder();
         url.append("ldap://");
         url.append(host);
         url.append(':');

Modified: geronimo/server/trunk/plugins/jaxws/geronimo-jaxws-sun-tools/src/main/java/org/apache/geronimo/jaxws/sun/tools/JAXWSTools.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/jaxws/geronimo-jaxws-sun-tools/src/main/java/org/apache/geronimo/jaxws/sun/tools/JAXWSTools.java?rev=1144307&r1=1144306&r2=1144307&view=diff
==============================================================================
--- geronimo/server/trunk/plugins/jaxws/geronimo-jaxws-sun-tools/src/main/java/org/apache/geronimo/jaxws/sun/tools/JAXWSTools.java (original)
+++ geronimo/server/trunk/plugins/jaxws/geronimo-jaxws-sun-tools/src/main/java/org/apache/geronimo/jaxws/sun/tools/JAXWSTools.java Fri Jul  8 13:24:09 2011
@@ -127,7 +127,7 @@ public class JAXWSTools {
     }
 
     public static String toString(File [] jars) {
-        StringBuffer buf = new StringBuffer();
+        StringBuilder buf = new StringBuilder();
         for (int i = 0; i < jars.length; i++) {
             buf.append(jars[i].getAbsolutePath());
             if (i+1 < jars.length) {

Modified: geronimo/server/trunk/plugins/jaxws/geronimo-jaxws/src/main/java/org/apache/geronimo/jaxws/JAXWSUtils.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/jaxws/geronimo-jaxws/src/main/java/org/apache/geronimo/jaxws/JAXWSUtils.java?rev=1144307&r1=1144306&r2=1144307&view=diff
==============================================================================
--- geronimo/server/trunk/plugins/jaxws/geronimo-jaxws/src/main/java/org/apache/geronimo/jaxws/JAXWSUtils.java (original)
+++ geronimo/server/trunk/plugins/jaxws/geronimo-jaxws/src/main/java/org/apache/geronimo/jaxws/JAXWSUtils.java Fri Jul  8 13:24:09 2011
@@ -151,7 +151,7 @@ public class JAXWSUtils {
                 tokens[i] = tokenizer.nextToken();
             }
         }
-        StringBuffer namespace = new StringBuffer("http://");
+        StringBuilder namespace = new StringBuilder("http://");
         String dot = "";
         for (int i = 0; i < tokens.length; i++) {
             if (i == 1) {

Modified: geronimo/server/trunk/plugins/openejb/openejb-portlets/src/main/java/org/apache/geronimo/console/ejbserver/EjbHelper.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/openejb/openejb-portlets/src/main/java/org/apache/geronimo/console/ejbserver/EjbHelper.java?rev=1144307&r1=1144306&r2=1144307&view=diff
==============================================================================
--- geronimo/server/trunk/plugins/openejb/openejb-portlets/src/main/java/org/apache/geronimo/console/ejbserver/EjbHelper.java (original)
+++ geronimo/server/trunk/plugins/openejb/openejb-portlets/src/main/java/org/apache/geronimo/console/ejbserver/EjbHelper.java Fri Jul  8 13:24:09 2011
@@ -430,7 +430,7 @@ public class EjbHelper extends BaseRemot
                 cls = Class.forName("org.apache.openejb.assembler.classic.JndiBuilder$Bindings");
                 Method method = cls.getMethod("getBindings");
                 List<String> jndiNames = (List) method.invoke(beanContext.get(cls));
-                StringBuffer names = new StringBuffer();
+                StringBuilder names = new StringBuilder();
                 for (String jndiName : jndiNames) {
                     if (jndiName.startsWith("openejb/local/")) {
                         jndiName = jndiName.replaceFirst("openejb/local/", "");
@@ -492,16 +492,16 @@ public class EjbHelper extends BaseRemot
     }
 
     private String appendMultipleInterfaces(List<Class> multipleValues) {
-        StringBuffer multipleValuedStringBuffer = new StringBuffer();
+        StringBuilder multipleValuedStringBuilder = new StringBuilder();
         for (Class singleValue : multipleValues) {
-            multipleValuedStringBuffer.append(singleValue.getName())
+            multipleValuedStringBuilder.append(singleValue.getName())
                     .append(",");
         }
-        if (multipleValuedStringBuffer.length() == 0) {
+        if (multipleValuedStringBuilder.length() == 0) {
             return null;
         }
-        return multipleValuedStringBuffer.substring(0,
-                multipleValuedStringBuffer.length() - 1);
+        return multipleValuedStringBuilder.substring(0,
+                multipleValuedStringBuilder.length() - 1);
     }
 
     private String resolveContainerTypes(ContainerType cType) {

Modified: geronimo/server/trunk/plugins/openjpa2/geronimo-aries-jpa/src/main/java/org/apache/geronimo/aries/jpa/PersistenceBundleHelper.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/openjpa2/geronimo-aries-jpa/src/main/java/org/apache/geronimo/aries/jpa/PersistenceBundleHelper.java?rev=1144307&r1=1144306&r2=1144307&view=diff
==============================================================================
--- geronimo/server/trunk/plugins/openjpa2/geronimo-aries-jpa/src/main/java/org/apache/geronimo/aries/jpa/PersistenceBundleHelper.java (original)
+++ geronimo/server/trunk/plugins/openjpa2/geronimo-aries-jpa/src/main/java/org/apache/geronimo/aries/jpa/PersistenceBundleHelper.java Fri Jul  8 13:24:09 2011
@@ -52,7 +52,7 @@ public class PersistenceBundleHelper {
             BundleDescription providerDescription = new BundleDescription(providerBundle.getHeaders());            
             if (needsProviderImports(persistenceBundle, providerDescription)) {
                 
-                StringBuffer providerConstraint = new StringBuffer();  
+                StringBuilder providerConstraint = new StringBuilder();  
                 providerConstraint.append(";");
                 providerConstraint.append(Constants.BUNDLE_SYMBOLICNAME_ATTRIBUTE);
                 providerConstraint.append("=\"").append(providerBundle.getSymbolicName()).append("\"");
@@ -64,7 +64,7 @@ public class PersistenceBundleHelper {
                 if (BundleHelper.isBundleExtenderSet()) {
                     LOG.debug("Adding DynamicImport-Package for persistence bundle {}", persistenceBundle.getSymbolicName());
                     
-                    StringBuffer packageList = new StringBuffer();
+                    StringBuilder packageList = new StringBuilder();
                     Iterator<ExportPackage> iterator = providerDescription.getExportPackage().iterator();
                     while (iterator.hasNext()) {
                         ExportPackage exportPackage = iterator.next();

Modified: geronimo/server/trunk/plugins/plancreator/plancreator-portlets/src/main/java/org/apache/geronimo/console/configcreator/configData/EARHelper.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/plancreator/plancreator-portlets/src/main/java/org/apache/geronimo/console/configcreator/configData/EARHelper.java?rev=1144307&r1=1144306&r2=1144307&view=diff
==============================================================================
--- geronimo/server/trunk/plugins/plancreator/plancreator-portlets/src/main/java/org/apache/geronimo/console/configcreator/configData/EARHelper.java (original)
+++ geronimo/server/trunk/plugins/plancreator/plancreator-portlets/src/main/java/org/apache/geronimo/console/configcreator/configData/EARHelper.java Fri Jul  8 13:24:09 2011
@@ -88,7 +88,7 @@ public class EARHelper {
         }
 
         private String mergeStrings(String[] strArray) {
-            StringBuffer str = new StringBuffer("");
+            StringBuilder str = new StringBuilder("");
             for (int i = 0; i < strArray.length; i++) {
                 str.append(strArray[i] + ";");
             }

Modified: geronimo/server/trunk/plugins/plancreator/plancreator-portlets/src/main/java/org/apache/geronimo/console/configcreator/configData/EnvironmentConfigData.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/plancreator/plancreator-portlets/src/main/java/org/apache/geronimo/console/configcreator/configData/EnvironmentConfigData.java?rev=1144307&r1=1144306&r2=1144307&view=diff
==============================================================================
--- geronimo/server/trunk/plugins/plancreator/plancreator-portlets/src/main/java/org/apache/geronimo/console/configcreator/configData/EnvironmentConfigData.java (original)
+++ geronimo/server/trunk/plugins/plancreator/plancreator-portlets/src/main/java/org/apache/geronimo/console/configcreator/configData/EnvironmentConfigData.java Fri Jul  8 13:24:09 2011
@@ -131,7 +131,7 @@ public class EnvironmentConfigData {
     }
 
     public String getHiddenClassesString() {
-        StringBuffer str = new StringBuffer("");
+        StringBuilder str = new StringBuilder("");
         if (environment.isSetHiddenClasses()) {
             String[] hiddenClasses = environment.getHiddenClasses().getFilterArray();
             for (int i = 0; i < hiddenClasses.length; i++) {
@@ -142,7 +142,7 @@ public class EnvironmentConfigData {
     }
 
     public String getNonOverridableClassesString() {
-        StringBuffer str = new StringBuffer("");
+        StringBuilder str = new StringBuilder("");
         if (environment.isSetNonOverridableClasses()) {
             String[] nonOverridableClasses = environment.getNonOverridableClasses().getFilterArray();
             for (int i = 0; i < nonOverridableClasses.length; i++) {

Modified: geronimo/server/trunk/plugins/system-database/sysdb-portlets/src/main/java/org/apache/geronimo/console/databasemanager/wizard/DatabasePoolPortlet.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/system-database/sysdb-portlets/src/main/java/org/apache/geronimo/console/databasemanager/wizard/DatabasePoolPortlet.java?rev=1144307&r1=1144306&r2=1144307&view=diff
==============================================================================
--- geronimo/server/trunk/plugins/system-database/sysdb-portlets/src/main/java/org/apache/geronimo/console/databasemanager/wizard/DatabasePoolPortlet.java (original)
+++ geronimo/server/trunk/plugins/system-database/sysdb-portlets/src/main/java/org/apache/geronimo/console/databasemanager/wizard/DatabasePoolPortlet.java Fri Jul  8 13:24:09 2011
@@ -650,7 +650,7 @@ public class DatabasePoolPortlet extends
             return null;
         }
         Element first = (Element) list.item(0);
-        StringBuffer buf = new StringBuffer();
+        StringBuilder buf = new StringBuilder();
         NodeList all = first.getChildNodes();
         for (int i = 0; i < all.getLength(); i++) {
             Node node = all.item(i);
@@ -1272,7 +1272,7 @@ public class DatabasePoolPortlet extends
             } else {
                 if (value.indexOf('\\') != -1 || value.indexOf('$') != -1) {
                     // value contains backslash or dollar sign and needs preprocessing for replaceAll to work properly
-                    StringBuffer temp = new StringBuffer();
+                    StringBuilder temp = new StringBuilder();
                     char[] valueChars = value.toCharArray();
                     for (char valueChar : valueChars) {
                         if (valueChar == '\\' || valueChar == '$') {
@@ -1432,7 +1432,7 @@ public class DatabasePoolPortlet extends
         private static String getPropertyName(String key) {
             int pos = key.indexOf('-');
             key = Character.toUpperCase(key.charAt(pos + 1)) + key.substring(pos + 2);
-            StringBuffer buf = new StringBuffer();
+            StringBuilder buf = new StringBuilder();
             pos = 0;
             for (int i = 1; i < key.length(); i++) {
                  if(key.charAt(i)=='_')

Modified: geronimo/server/trunk/plugins/system-database/sysdb-portlets/src/main/java/org/apache/geronimo/console/internaldb/InternalDBHelper.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/system-database/sysdb-portlets/src/main/java/org/apache/geronimo/console/internaldb/InternalDBHelper.java?rev=1144307&r1=1144306&r2=1144307&view=diff
==============================================================================
--- geronimo/server/trunk/plugins/system-database/sysdb-portlets/src/main/java/org/apache/geronimo/console/internaldb/InternalDBHelper.java (original)
+++ geronimo/server/trunk/plugins/system-database/sysdb-portlets/src/main/java/org/apache/geronimo/console/internaldb/InternalDBHelper.java Fri Jul  8 13:24:09 2011
@@ -173,7 +173,7 @@ public class InternalDBHelper {
      * Get a specific column data as a string separated by ','.
      */
     private String getColumnData(ResultSet rs, String colName) {
-        StringBuffer result = new StringBuffer();
+        StringBuilder result = new StringBuilder();
         try {
             ResultSetMetaData rsmd = rs.getMetaData();
 

Modified: geronimo/server/trunk/plugins/tomcat/geronimo-tomcat7/src/main/java/org/apache/geronimo/tomcat/security/authentication/BasicAuthenticator.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/tomcat/geronimo-tomcat7/src/main/java/org/apache/geronimo/tomcat/security/authentication/BasicAuthenticator.java?rev=1144307&r1=1144306&r2=1144307&view=diff
==============================================================================
--- geronimo/server/trunk/plugins/tomcat/geronimo-tomcat7/src/main/java/org/apache/geronimo/tomcat/security/authentication/BasicAuthenticator.java (original)
+++ geronimo/server/trunk/plugins/tomcat/geronimo-tomcat7/src/main/java/org/apache/geronimo/tomcat/security/authentication/BasicAuthenticator.java Fri Jul  8 13:24:09 2011
@@ -117,7 +117,7 @@ public class BasicAuthenticator implemen
         // Send an "unauthorized" response and an appropriate challenge
         if (isAuthMandatory) {
             try {
-                StringBuffer authenticateCC = new StringBuffer();
+                StringBuilder authenticateCC = new StringBuilder();
                 authenticateCC.append("Basic realm=\"");
                 authenticateCC.append((realmName == null) ? "<unspecified>" : realmName);
                 authenticateCC.append('\"');

Modified: geronimo/server/trunk/plugins/uddi/uddi-war-repackage/src/main/java/org/apache/juddi/query/FindEntityByNamesQuery.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/uddi/uddi-war-repackage/src/main/java/org/apache/juddi/query/FindEntityByNamesQuery.java?rev=1144307&r1=1144306&r2=1144307&view=diff
==============================================================================
--- geronimo/server/trunk/plugins/uddi/uddi-war-repackage/src/main/java/org/apache/juddi/query/FindEntityByNamesQuery.java (original)
+++ geronimo/server/trunk/plugins/uddi/uddi-war-repackage/src/main/java/org/apache/juddi/query/FindEntityByNamesQuery.java Fri Jul  8 13:24:09 2011
@@ -55,7 +55,7 @@ public class FindEntityByNamesQuery exte
 		this.entityNameChild = entityNameChild;
 		this.entityAliasChild = buildAlias(entityNameChild);
 		
-		StringBuffer sql = new StringBuffer(200);
+		StringBuilder sql = new StringBuilder(200);
 		sql.append("select distinct " + entityAlias + "." + keyName + " from " + entityName + " " + entityAlias + " ");
 		selectSQL = sql.toString();
 	}

Modified: geronimo/server/trunk/plugins/webservices/geronimo-webservices-builder/src/main/java/org/apache/geronimo/webservices/builder/SchemaTypeKey.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/webservices/geronimo-webservices-builder/src/main/java/org/apache/geronimo/webservices/builder/SchemaTypeKey.java?rev=1144307&r1=1144306&r2=1144307&view=diff
==============================================================================
--- geronimo/server/trunk/plugins/webservices/geronimo-webservices-builder/src/main/java/org/apache/geronimo/webservices/builder/SchemaTypeKey.java (original)
+++ geronimo/server/trunk/plugins/webservices/geronimo-webservices-builder/src/main/java/org/apache/geronimo/webservices/builder/SchemaTypeKey.java Fri Jul  8 13:24:09 2011
@@ -88,7 +88,7 @@ public final class SchemaTypeKey {
     }
 
     public String toString() {
-        StringBuffer buf = new StringBuffer("\nSchemaTypeKey: scope: ").append(qNameScope);
+        StringBuilder buf = new StringBuilder("\nSchemaTypeKey: scope: ").append(qNameScope);
         buf.append(" isElement: ").append(isElement);
         buf.append(" isAnonymous: ").append(isAnonymous);
         buf.append(" isSimpleType: ").append(isSimpleType);

Modified: geronimo/server/trunk/plugins/webservices/geronimo-webservices-builder/src/main/java/org/apache/geronimo/webservices/builder/WSDescriptorParser.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/webservices/geronimo-webservices-builder/src/main/java/org/apache/geronimo/webservices/builder/WSDescriptorParser.java?rev=1144307&r1=1144306&r2=1144307&view=diff
==============================================================================
--- geronimo/server/trunk/plugins/webservices/geronimo-webservices-builder/src/main/java/org/apache/geronimo/webservices/builder/WSDescriptorParser.java (original)
+++ geronimo/server/trunk/plugins/webservices/geronimo-webservices-builder/src/main/java/org/apache/geronimo/webservices/builder/WSDescriptorParser.java Fri Jul  8 13:24:09 2011
@@ -180,7 +180,7 @@ public class WSDescriptorParser {
                 //class name is the complex type QNMAne local part + "Holder", with the initial character uppercased.
                 String namespace = typeQName.getNamespaceURI();
                 String packageName = WSDescriptorParser.getPackageFromNamespace(namespace, mapping);
-                StringBuffer buf = new StringBuffer(packageName.length() + typeQName.getLocalPart().length() + 14);
+                StringBuilder buf = new StringBuilder(packageName.length() + typeQName.getLocalPart().length() + 14);
                 buf.append(packageName).append(".holders.").append(typeQName.getLocalPart()).append("Holder");
                 buf.setCharAt(packageName.length() + 9, Character.toUpperCase(typeQName.getLocalPart().charAt(0)));
                 holderName = buf.toString();
@@ -205,7 +205,7 @@ public class WSDescriptorParser {
                 //package same as type's package + ".holders"
                 //class name same as type name + "Holder"
                 String paramTypeName = paramJavaType.getName();
-                StringBuffer buf = new StringBuffer(paramTypeName.length() + 14);
+                StringBuilder buf = new StringBuilder(paramTypeName.length() + 14);
                 int dot = paramTypeName.lastIndexOf(".");
                 //foo.Bar >>> foo.holders.BarHolder
                 buf.append(paramTypeName.substring(0, dot)).append(".holders").append(paramTypeName.substring(dot)).append("Holder");
@@ -226,7 +226,7 @@ public class WSDescriptorParser {
             }
         }
         // Build list of available operations for exception
-        StringBuffer availOps = new StringBuffer(128);
+        StringBuilder availOps = new StringBuilder(128);
         for (ServiceEndpointMethodMapping mapping: methodMappings) {
             if (availOps.length() > 0) availOps.append(",");
             availOps.append(mapping.getWsdlOperation());

Modified: geronimo/server/trunk/testsuite/enterprise-testsuite/appname-tests/appname-client/src/test/java/org/apache/geronimo/testsuite/appname/ClientTest.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/enterprise-testsuite/appname-tests/appname-client/src/test/java/org/apache/geronimo/testsuite/appname/ClientTest.java?rev=1144307&r1=1144306&r2=1144307&view=diff
==============================================================================
--- geronimo/server/trunk/testsuite/enterprise-testsuite/appname-tests/appname-client/src/test/java/org/apache/geronimo/testsuite/appname/ClientTest.java (original)
+++ geronimo/server/trunk/testsuite/enterprise-testsuite/appname-tests/appname-client/src/test/java/org/apache/geronimo/testsuite/appname/ClientTest.java Fri Jul  8 13:24:09 2011
@@ -51,7 +51,7 @@ public class ClientTest extends TestSupp
 
     private String toString(BufferedReader reader)
         throws IOException {
-        StringBuffer buf = new StringBuffer();
+        StringBuilder buf = new StringBuilder();
         String line = null;
         while ((line = reader.readLine()) != null) {
             System.out.println(line);

Modified: geronimo/server/trunk/testsuite/enterprise-testsuite/bundle-inject-test/src/main/java/org/apache/geronimo/test/bundleinject/TestBean.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/enterprise-testsuite/bundle-inject-test/src/main/java/org/apache/geronimo/test/bundleinject/TestBean.java?rev=1144307&r1=1144306&r2=1144307&view=diff
==============================================================================
--- geronimo/server/trunk/testsuite/enterprise-testsuite/bundle-inject-test/src/main/java/org/apache/geronimo/test/bundleinject/TestBean.java (original)
+++ geronimo/server/trunk/testsuite/enterprise-testsuite/bundle-inject-test/src/main/java/org/apache/geronimo/test/bundleinject/TestBean.java Fri Jul  8 13:24:09 2011
@@ -35,7 +35,7 @@ public class TestBean {
     private BundleContext bundleContext;
 
     public String getOutput() {
-        StringBuffer buf = new StringBuffer();
+        StringBuilder buf = new StringBuilder();
         
         buf.append("Bundle: " + bundle.getSymbolicName());
         buf.append(" ");

Modified: geronimo/server/trunk/testsuite/enterprise-testsuite/bundle-inject-test/src/main/java/org/apache/geronimo/test/bundleinject/TestServlet.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/enterprise-testsuite/bundle-inject-test/src/main/java/org/apache/geronimo/test/bundleinject/TestServlet.java?rev=1144307&r1=1144306&r2=1144307&view=diff
==============================================================================
--- geronimo/server/trunk/testsuite/enterprise-testsuite/bundle-inject-test/src/main/java/org/apache/geronimo/test/bundleinject/TestServlet.java (original)
+++ geronimo/server/trunk/testsuite/enterprise-testsuite/bundle-inject-test/src/main/java/org/apache/geronimo/test/bundleinject/TestServlet.java Fri Jul  8 13:24:09 2011
@@ -79,7 +79,7 @@ public class TestServlet extends HttpSer
     }
     
     public String getOutput() {
-        StringBuffer buf = new StringBuffer();
+        StringBuilder buf = new StringBuilder();
         
         buf.append("Bundle: " + bundle.getSymbolicName());
         buf.append(" ");

Modified: geronimo/server/trunk/testsuite/enterprise-testsuite/ejb-tests/ejb-ear/src/test/java/org/apache/geronimo/testsuite/enterprise/ejb/EJBTest.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/enterprise-testsuite/ejb-tests/ejb-ear/src/test/java/org/apache/geronimo/testsuite/enterprise/ejb/EJBTest.java?rev=1144307&r1=1144306&r2=1144307&view=diff
==============================================================================
--- geronimo/server/trunk/testsuite/enterprise-testsuite/ejb-tests/ejb-ear/src/test/java/org/apache/geronimo/testsuite/enterprise/ejb/EJBTest.java (original)
+++ geronimo/server/trunk/testsuite/enterprise-testsuite/ejb-tests/ejb-ear/src/test/java/org/apache/geronimo/testsuite/enterprise/ejb/EJBTest.java Fri Jul  8 13:24:09 2011
@@ -97,7 +97,7 @@ public class EJBTest extends TestSupport
             is = conn.getErrorStream();
         }
         
-        StringBuffer buf = new StringBuffer();
+        StringBuilder buf = new StringBuilder();
         BufferedReader in = new BufferedReader(new InputStreamReader(is));
         String inputLine;
         while ((inputLine = in.readLine()) != null) {

Modified: geronimo/server/trunk/testsuite/enterprise-testsuite/sec-client-tests/src/test/java/org/apache/geronimo/testsuite/testset/ClientTest.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/enterprise-testsuite/sec-client-tests/src/test/java/org/apache/geronimo/testsuite/testset/ClientTest.java?rev=1144307&r1=1144306&r2=1144307&view=diff
==============================================================================
--- geronimo/server/trunk/testsuite/enterprise-testsuite/sec-client-tests/src/test/java/org/apache/geronimo/testsuite/testset/ClientTest.java (original)
+++ geronimo/server/trunk/testsuite/enterprise-testsuite/sec-client-tests/src/test/java/org/apache/geronimo/testsuite/testset/ClientTest.java Fri Jul  8 13:24:09 2011
@@ -51,7 +51,7 @@ public class ClientTest extends TestSupp
 
     private String toString(BufferedReader reader)
         throws IOException {
-        StringBuffer buf = new StringBuffer();
+        StringBuilder buf = new StringBuilder();
         String line = null;
         while ((line = reader.readLine()) != null) {
             System.out.println(line);

Modified: geronimo/server/trunk/testsuite/enterprise-testsuite/sec-tests/sec-ear/src/test/java/org/apache/geronimo/testsuite/security/ClientTest.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/enterprise-testsuite/sec-tests/sec-ear/src/test/java/org/apache/geronimo/testsuite/security/ClientTest.java?rev=1144307&r1=1144306&r2=1144307&view=diff
==============================================================================
--- geronimo/server/trunk/testsuite/enterprise-testsuite/sec-tests/sec-ear/src/test/java/org/apache/geronimo/testsuite/security/ClientTest.java (original)
+++ geronimo/server/trunk/testsuite/enterprise-testsuite/sec-tests/sec-ear/src/test/java/org/apache/geronimo/testsuite/security/ClientTest.java Fri Jul  8 13:24:09 2011
@@ -56,7 +56,7 @@ public class ClientTest extends TestSupp
 
     private String toString(BufferedReader reader)
         throws IOException {
-        StringBuffer buf = new StringBuffer();
+        StringBuilder buf = new StringBuilder();
         String line = null;
         while ((line = reader.readLine()) != null) {
             System.out.println(line);

Modified: geronimo/server/trunk/testsuite/javaee6-testsuite/servlet3.0-test/servlet3.0-test-war/src/main/java/org/apache/geronimo/testsuite/servlet3/app/CviewerFilter.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/javaee6-testsuite/servlet3.0-test/servlet3.0-test-war/src/main/java/org/apache/geronimo/testsuite/servlet3/app/CviewerFilter.java?rev=1144307&r1=1144306&r2=1144307&view=diff
==============================================================================
--- geronimo/server/trunk/testsuite/javaee6-testsuite/servlet3.0-test/servlet3.0-test-war/src/main/java/org/apache/geronimo/testsuite/servlet3/app/CviewerFilter.java (original)
+++ geronimo/server/trunk/testsuite/javaee6-testsuite/servlet3.0-test/servlet3.0-test-war/src/main/java/org/apache/geronimo/testsuite/servlet3/app/CviewerFilter.java Fri Jul  8 13:24:09 2011
@@ -83,7 +83,7 @@ public class CviewerFilter implements Fi
        // if (filterConfig == null) {
        //      return ("NewFilter()");
        //  }
-        StringBuffer sb = new StringBuffer("NewFilter(");
+        StringBuilder sb = new StringBuilder("NewFilter(");
         //sb.append(filterConfig);
         sb.append(")");
         return (sb.toString());

Modified: geronimo/server/trunk/testsuite/javaee6-testsuite/servlet3.0-test/servlet3.0-test-war/src/main/java/org/apache/geronimo/testsuite/servlet3/app/FileMessageFilter.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/javaee6-testsuite/servlet3.0-test/servlet3.0-test-war/src/main/java/org/apache/geronimo/testsuite/servlet3/app/FileMessageFilter.java?rev=1144307&r1=1144306&r2=1144307&view=diff
==============================================================================
--- geronimo/server/trunk/testsuite/javaee6-testsuite/servlet3.0-test/servlet3.0-test-war/src/main/java/org/apache/geronimo/testsuite/servlet3/app/FileMessageFilter.java (original)
+++ geronimo/server/trunk/testsuite/javaee6-testsuite/servlet3.0-test/servlet3.0-test-war/src/main/java/org/apache/geronimo/testsuite/servlet3/app/FileMessageFilter.java Fri Jul  8 13:24:09 2011
@@ -129,7 +129,7 @@ public class FileMessageFilter implement
         if (filterConfig == null) {
             return ("MessageFilter()");
         }
-        StringBuffer sb = new StringBuffer("MessageFilter()");
+        StringBuilder sb = new StringBuilder("MessageFilter()");
         sb.append(filterConfig);
         sb.append(")");
         return (sb.toString());

Modified: geronimo/server/trunk/testsuite/security-testsuite/test-security-basic-authentication/src/test/java/org/apache/geronimo/testsuite/security/basic/BasicAuthenticationTest.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/security-testsuite/test-security-basic-authentication/src/test/java/org/apache/geronimo/testsuite/security/basic/BasicAuthenticationTest.java?rev=1144307&r1=1144306&r2=1144307&view=diff
==============================================================================
--- geronimo/server/trunk/testsuite/security-testsuite/test-security-basic-authentication/src/test/java/org/apache/geronimo/testsuite/security/basic/BasicAuthenticationTest.java (original)
+++ geronimo/server/trunk/testsuite/security-testsuite/test-security-basic-authentication/src/test/java/org/apache/geronimo/testsuite/security/basic/BasicAuthenticationTest.java Fri Jul  8 13:24:09 2011
@@ -49,7 +49,7 @@ public class BasicAuthenticationTest ext
 	    } catch (IOException e) {
 	        is = conn.getErrorStream();
 	    }
-       StringBuffer buf = new StringBuffer();
+       StringBuilder buf = new StringBuilder();
        BufferedReader in = new BufferedReader(new InputStreamReader(is));
        String inputLine;
        while ((inputLine = in.readLine()) != null) {

Modified: geronimo/server/trunk/testsuite/web-testsuite/test-jetty/src/test/java/org/apache/geronimo/testsuite/jetty/TestJetty.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/web-testsuite/test-jetty/src/test/java/org/apache/geronimo/testsuite/jetty/TestJetty.java?rev=1144307&r1=1144306&r2=1144307&view=diff
==============================================================================
--- geronimo/server/trunk/testsuite/web-testsuite/test-jetty/src/test/java/org/apache/geronimo/testsuite/jetty/TestJetty.java (original)
+++ geronimo/server/trunk/testsuite/web-testsuite/test-jetty/src/test/java/org/apache/geronimo/testsuite/jetty/TestJetty.java Fri Jul  8 13:24:09 2011
@@ -77,7 +77,7 @@ public class TestJetty extends TestSuppo
             is = conn.getErrorStream();
         }
         
-        StringBuffer buf = new StringBuffer();
+        StringBuilder buf = new StringBuilder();
         BufferedReader in = new BufferedReader(new InputStreamReader(is));
         String inputLine;
         while ((inputLine = in.readLine()) != null) {

Modified: geronimo/server/trunk/testsuite/web-testsuite/test-tomcat/src/test/java/org/apache/geronimo/testsuite/tomcat/TestTomcat.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/web-testsuite/test-tomcat/src/test/java/org/apache/geronimo/testsuite/tomcat/TestTomcat.java?rev=1144307&r1=1144306&r2=1144307&view=diff
==============================================================================
--- geronimo/server/trunk/testsuite/web-testsuite/test-tomcat/src/test/java/org/apache/geronimo/testsuite/tomcat/TestTomcat.java (original)
+++ geronimo/server/trunk/testsuite/web-testsuite/test-tomcat/src/test/java/org/apache/geronimo/testsuite/tomcat/TestTomcat.java Fri Jul  8 13:24:09 2011
@@ -77,7 +77,7 @@ public class TestTomcat extends TestSupp
             is = conn.getErrorStream();
         }
         
-        StringBuffer buf = new StringBuffer();
+        StringBuilder buf = new StringBuilder();
         BufferedReader in = new BufferedReader(new InputStreamReader(is));
         String inputLine;
         while ((inputLine = in.readLine()) != null) {

Modified: geronimo/server/trunk/testsuite/webservices-testsuite/jaxrpc-jaxws-tests/jaxrpc-jaxws-war/src/test/java/org/apache/geronimo/testsuite/testset/WSTest.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/webservices-testsuite/jaxrpc-jaxws-tests/jaxrpc-jaxws-war/src/test/java/org/apache/geronimo/testsuite/testset/WSTest.java?rev=1144307&r1=1144306&r2=1144307&view=diff
==============================================================================
--- geronimo/server/trunk/testsuite/webservices-testsuite/jaxrpc-jaxws-tests/jaxrpc-jaxws-war/src/test/java/org/apache/geronimo/testsuite/testset/WSTest.java (original)
+++ geronimo/server/trunk/testsuite/webservices-testsuite/jaxrpc-jaxws-tests/jaxrpc-jaxws-war/src/test/java/org/apache/geronimo/testsuite/testset/WSTest.java Fri Jul  8 13:24:09 2011
@@ -153,7 +153,7 @@ public class WSTest extends TestSupport 
             is = conn.getErrorStream();
         }
         
-        StringBuffer buf = new StringBuffer();
+        StringBuilder buf = new StringBuilder();
         BufferedReader in = new BufferedReader(new InputStreamReader(is));
         String inputLine;
         while ((inputLine = in.readLine()) != null) {

Modified: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-catalog-tests/catalog-ear/src/test/java/org/apache/geronimo/jaxws/catalog/WebCatalogTest.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-catalog-tests/catalog-ear/src/test/java/org/apache/geronimo/jaxws/catalog/WebCatalogTest.java?rev=1144307&r1=1144306&r2=1144307&view=diff
==============================================================================
--- geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-catalog-tests/catalog-ear/src/test/java/org/apache/geronimo/jaxws/catalog/WebCatalogTest.java (original)
+++ geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-catalog-tests/catalog-ear/src/test/java/org/apache/geronimo/jaxws/catalog/WebCatalogTest.java Fri Jul  8 13:24:09 2011
@@ -60,7 +60,7 @@ public class WebCatalogTest extends Cata
             is = conn.getErrorStream();
         }
         
-        StringBuffer buf = new StringBuffer();
+        StringBuilder buf = new StringBuilder();
         BufferedReader in = new BufferedReader(new InputStreamReader(is));
         String inputLine;
         while ((inputLine = in.readLine()) != null) {

Modified: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-mtom-tests/mtom-ear/src/test/java/org/apache/geronimo/jaxws/mtom/MTOMTest.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-mtom-tests/mtom-ear/src/test/java/org/apache/geronimo/jaxws/mtom/MTOMTest.java?rev=1144307&r1=1144306&r2=1144307&view=diff
==============================================================================
--- geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-mtom-tests/mtom-ear/src/test/java/org/apache/geronimo/jaxws/mtom/MTOMTest.java (original)
+++ geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-mtom-tests/mtom-ear/src/test/java/org/apache/geronimo/jaxws/mtom/MTOMTest.java Fri Jul  8 13:24:09 2011
@@ -44,7 +44,7 @@ public abstract class MTOMTest extends T
         } catch (IOException e) {
             is = conn.getErrorStream();
         }
-        StringBuffer buf = new StringBuffer();
+        StringBuilder buf = new StringBuilder();
         BufferedReader in = new BufferedReader(new InputStreamReader(is));
         String inputLine;
         while ((inputLine = in.readLine()) != null) {

Modified: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-ear/src/test/java/org/apache/geronimo/jaxws/provider/ProviderTest.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-ear/src/test/java/org/apache/geronimo/jaxws/provider/ProviderTest.java?rev=1144307&r1=1144306&r2=1144307&view=diff
==============================================================================
--- geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-ear/src/test/java/org/apache/geronimo/jaxws/provider/ProviderTest.java (original)
+++ geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-ear/src/test/java/org/apache/geronimo/jaxws/provider/ProviderTest.java Fri Jul  8 13:24:09 2011
@@ -44,7 +44,7 @@ public abstract class ProviderTest exten
         } catch (IOException e) {
             is = conn.getErrorStream();
         }
-        StringBuffer buf = new StringBuffer();
+        StringBuilder buf = new StringBuilder();
         BufferedReader in = new BufferedReader(new InputStreamReader(is));
         String inputLine;
         while ((inputLine = in.readLine()) != null) {

Modified: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec/src/test/java/org/apache/geronimo/testsuite/testset/TestUtils.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec/src/test/java/org/apache/geronimo/testsuite/testset/TestUtils.java?rev=1144307&r1=1144306&r2=1144307&view=diff
==============================================================================
--- geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec/src/test/java/org/apache/geronimo/testsuite/testset/TestUtils.java (original)
+++ geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb-sec/src/test/java/org/apache/geronimo/testsuite/testset/TestUtils.java Fri Jul  8 13:24:09 2011
@@ -175,7 +175,7 @@ public class TestUtils {
             is = conn.getErrorStream();
         }
         
-        StringBuffer buf = new StringBuffer();
+        StringBuilder buf = new StringBuilder();
         BufferedReader in = new BufferedReader(new InputStreamReader(is));
         String inputLine;
         while ((inputLine = in.readLine()) != null) {

Modified: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb/src/test/java/org/apache/geronimo/testsuite/testset/JaxWSTest.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb/src/test/java/org/apache/geronimo/testsuite/testset/JaxWSTest.java?rev=1144307&r1=1144306&r2=1144307&view=diff
==============================================================================
--- geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb/src/test/java/org/apache/geronimo/testsuite/testset/JaxWSTest.java (original)
+++ geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb/src/test/java/org/apache/geronimo/testsuite/testset/JaxWSTest.java Fri Jul  8 13:24:09 2011
@@ -181,7 +181,7 @@ public class JaxWSTest extends TestSuppo
             is = conn.getErrorStream();
         }
         
-        StringBuffer buf = new StringBuffer();
+        StringBuilder buf = new StringBuilder();
         BufferedReader in = new BufferedReader(new InputStreamReader(is));
         String inputLine;
         while ((inputLine = in.readLine()) != null) {



Mime
View raw message