Statement unnecessarily nested within else clause.

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1698184 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary D. Gregory 2015-08-27 15:26:32 +00:00
parent 6b8214d4b7
commit 64371f7410
1 changed files with 7 additions and 8 deletions

View File

@ -253,7 +253,7 @@ public class MemcachedHttpCacheStorage implements HttpCacheStorage {
putEntry(url, updatedEntry);
return;
} else {
}
final byte[] updatedBytes = serializeEntry(url, updatedEntry);
final CASResponse casResult = client.cas(key, v.getCas(),
updatedBytes);
@ -262,7 +262,6 @@ public class MemcachedHttpCacheStorage implements HttpCacheStorage {
} else {
return;
}
}
} catch (final OperationTimeoutException ex) {
throw new MemcachedOperationTimeoutException(ex);
}