Exceptions not thrown

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@943283 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sebastian Bazley 2010-05-11 20:33:03 +00:00
parent 0152c00300
commit bcfe063e96
2 changed files with 2 additions and 4 deletions

View File

@ -26,7 +26,6 @@
*/
package org.apache.http.client.cache.impl;
import java.io.IOException;
import java.util.Date;
import org.apache.http.HttpEntity;
@ -41,7 +40,7 @@ import org.junit.Test;
public class TestCacheEntryGenerator {
@Test
public void testEntryMatchesInputs() throws IOException {
public void testEntryMatchesInputs() {
CacheEntryGenerator gen = new CacheEntryGenerator();

View File

@ -1088,8 +1088,7 @@ public class TestCachingHttpClient {
mockCache.putEntry(theURI, entry);
}
private void generateCacheEntry(Date requestDate, Date responseDate, byte[] bytes)
throws IOException {
private void generateCacheEntry(Date requestDate, Date responseDate, byte[] bytes) {
org.easymock.EasyMock.expect(
mockEntryGenerator.generateEntry(requestDate, responseDate, mockBackendResponse,
bytes)).andReturn(mockCacheEntry);