mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-04 16:45:09 -05:00
Removed an unnecessary portion of code that attempted to handle command continuation requests after a UID COPY command. Also removed some extraneous test code that mysteriously creeped into the repo.
This commit is contained in:
parent
cf39070048
commit
4b0d3ccf21
@ -839,12 +839,6 @@ public class ImapStore extends Store {
|
||||
do {
|
||||
response = mConnection.readResponse();
|
||||
handleUntaggedResponse(response);
|
||||
if (response.mCommandContinuationRequested) {
|
||||
EOLConvertingOutputStream eolOut = new EOLConvertingOutputStream(mConnection.mOut);
|
||||
eolOut.write('\r');
|
||||
eolOut.write('\n');
|
||||
eolOut.flush();
|
||||
}
|
||||
while (response.more());
|
||||
} while (response.mTag == null);
|
||||
|
||||
@ -2410,17 +2404,6 @@ public class ImapStore extends Store {
|
||||
return executeSimpleCommand(command, sensitive, null);
|
||||
}
|
||||
|
||||
// public void logResponse (ImapList response) {
|
||||
// for(int i=0;i<response.size();i++) {
|
||||
// Object o = response.get(i);
|
||||
// if(o instanceof String){
|
||||
// Log.w(K9.LOG_TAG+" "+i, (String) o);
|
||||
// } else if (o instanceof ImapList) {
|
||||
// logResponse((ImapList)o);
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
|
||||
public List<ImapResponse> executeSimpleCommand(String command, boolean sensitive, UntaggedHandler untaggedHandler)
|
||||
throws IOException, ImapException, MessagingException {
|
||||
String commandToLog = command;
|
||||
|
Loading…
Reference in New Issue
Block a user