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:
parent
6b8214d4b7
commit
64371f7410
|
@ -253,7 +253,7 @@ public class MemcachedHttpCacheStorage implements HttpCacheStorage {
|
||||||
putEntry(url, updatedEntry);
|
putEntry(url, updatedEntry);
|
||||||
return;
|
return;
|
||||||
|
|
||||||
} else {
|
}
|
||||||
final byte[] updatedBytes = serializeEntry(url, updatedEntry);
|
final byte[] updatedBytes = serializeEntry(url, updatedEntry);
|
||||||
final CASResponse casResult = client.cas(key, v.getCas(),
|
final CASResponse casResult = client.cas(key, v.getCas(),
|
||||||
updatedBytes);
|
updatedBytes);
|
||||||
|
@ -262,7 +262,6 @@ public class MemcachedHttpCacheStorage implements HttpCacheStorage {
|
||||||
} else {
|
} else {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
} catch (final OperationTimeoutException ex) {
|
} catch (final OperationTimeoutException ex) {
|
||||||
throw new MemcachedOperationTimeoutException(ex);
|
throw new MemcachedOperationTimeoutException(ex);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue