james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nor...@apache.org
Subject svn commit: r1221281 - /james/protocols/trunk/smtp/src/main/java/org/apache/james/protocols/smtp/SMTPResponse.java
Date Tue, 20 Dec 2011 14:32:38 GMT
Author: norman
Date: Tue Dec 20 14:32:37 2011
New Revision: 1221281

URL: http://svn.apache.org/viewvc?rev=1221281&view=rev
Log:
Replace StringBuffer with StringBuilder

Modified:
    james/protocols/trunk/smtp/src/main/java/org/apache/james/protocols/smtp/SMTPResponse.java

Modified: james/protocols/trunk/smtp/src/main/java/org/apache/james/protocols/smtp/SMTPResponse.java
URL: http://svn.apache.org/viewvc/james/protocols/trunk/smtp/src/main/java/org/apache/james/protocols/smtp/SMTPResponse.java?rev=1221281&r1=1221280&r2=1221281&view=diff
==============================================================================
--- james/protocols/trunk/smtp/src/main/java/org/apache/james/protocols/smtp/SMTPResponse.java
(original)
+++ james/protocols/trunk/smtp/src/main/java/org/apache/james/protocols/smtp/SMTPResponse.java
Tue Dec 20 14:32:37 2011
@@ -87,7 +87,7 @@ public class SMTPResponse extends Abstra
         List<CharSequence> responseList = new ArrayList<CharSequence>();
 
         for (int k = 0; k < lines.size(); k++) {
-            StringBuffer respBuff = new StringBuffer(256);
+            StringBuilder respBuff = new StringBuilder(256);
             respBuff.append(getRetCode());
             if (k == lines.size() - 1) {
                 respBuff.append(" ");



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message