Remove unnecessary local variable

This commit is contained in:
cketti 2016-02-09 22:28:21 +01:00
parent 39c4cf3218
commit 5b58aac748

View file

@ -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());