Does not throw IOException
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@941944 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
6f23db2533
commit
b5ce3f91ec
|
@ -26,7 +26,6 @@
|
|||
*/
|
||||
package org.apache.http.client.cache.impl;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.util.Date;
|
||||
|
||||
import org.apache.http.HttpResponse;
|
||||
|
@ -41,9 +40,7 @@ import org.apache.http.annotation.Immutable;
|
|||
public class CacheEntryGenerator {
|
||||
|
||||
public CacheEntry generateEntry(Date requestDate, Date responseDate, HttpResponse response,
|
||||
byte[] responseBytes) throws IOException {
|
||||
|
||||
|
||||
byte[] responseBytes) {
|
||||
|
||||
return new CacheEntry(requestDate,
|
||||
responseDate,
|
||||
|
|
Loading…
Reference in New Issue