Code/comment cleanup

This commit is contained in:
cketti 2011-02-26 23:04:49 +01:00
parent 6686b3e993
commit 766674c27c
1 changed files with 2 additions and 6 deletions

View File

@ -390,12 +390,8 @@ public class SmtpTransport extends Transport {
Log.d(K9.LOG_TAG, commandToLog);
}
/*
* Note: We can use the string length to compute the buffer size since
* only ASCII characters are allowed in SMTP commands i.e. this string
* will never contain multi-byte characters.
*/
byte[] data = (s.concat("\r\n")).getBytes();
byte[] data = s.concat("\r\n").getBytes();
/*
* Important: Send command + CRLF using just one write() call. Using
* multiple calls will likely result in multiple TCP packets and some