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
1 changed files with 0 additions and 17 deletions
|
@ -839,12 +839,6 @@ public class ImapStore extends Store {
|
||||||
do {
|
do {
|
||||||
response = mConnection.readResponse();
|
response = mConnection.readResponse();
|
||||||
handleUntaggedResponse(response);
|
handleUntaggedResponse(response);
|
||||||
if (response.mCommandContinuationRequested) {
|
|
||||||
EOLConvertingOutputStream eolOut = new EOLConvertingOutputStream(mConnection.mOut);
|
|
||||||
eolOut.write('\r');
|
|
||||||
eolOut.write('\n');
|
|
||||||
eolOut.flush();
|
|
||||||
}
|
|
||||||
while (response.more());
|
while (response.more());
|
||||||
} while (response.mTag == null);
|
} while (response.mTag == null);
|
||||||
|
|
||||||
|
@ -2410,17 +2404,6 @@ public class ImapStore extends Store {
|
||||||
return executeSimpleCommand(command, sensitive, null);
|
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)
|
public List<ImapResponse> executeSimpleCommand(String command, boolean sensitive, UntaggedHandler untaggedHandler)
|
||||||
throws IOException, ImapException, MessagingException {
|
throws IOException, ImapException, MessagingException {
|
||||||
String commandToLog = command;
|
String commandToLog = command;
|
||||||
|
|
Loading…
Reference in a new issue