Remove unnecessary local variable
This commit is contained in:
parent
39c4cf3218
commit
5b58aac748
1 changed files with 1 additions and 6 deletions
|
@ -540,16 +540,11 @@ class ImapFolderPusher extends ImapFolder implements UntaggedHandler {
|
|||
} else {
|
||||
if (response.getTag() == null) {
|
||||
if (response.size() > 1) {
|
||||
boolean started = false;
|
||||
|
||||
Object responseType = response.get(1);
|
||||
if (equalsIgnoreCase(responseType, "EXISTS") || equalsIgnoreCase(responseType, "EXPUNGE") ||
|
||||
equalsIgnoreCase(responseType, "FETCH")) {
|
||||
|
||||
if (!started) {
|
||||
wakeLock.acquire(PUSH_WAKE_LOCK_TIMEOUT);
|
||||
started = true;
|
||||
}
|
||||
|
||||
if (K9MailLib.isDebug()) {
|
||||
Log.d(LOG_TAG, "Got useful async untagged response: " + response + " for " + getLogId());
|
||||
|
|
Loading…
Reference in a new issue