Unthrown Exceptions

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@940065 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sebastian Bazley 2010-05-01 16:04:28 +00:00
parent ebf24c65df
commit 1a26a94f95
2 changed files with 3 additions and 3 deletions

View File

@ -999,7 +999,7 @@ public class TestCachingHttpClient {
org.easymock.EasyMock.expect(impl.getCurrentDate()).andReturn(date);
}
private void getMockResponseReader() throws IOException {
private void getMockResponseReader() {
org.easymock.EasyMock.expect(impl.getResponseReader(mockBackendResponse)).andReturn(
mockResponseReader);
}
@ -1019,7 +1019,7 @@ public class TestCachingHttpClient {
return buffer;
}
private void readerReturnsReconstructedResponse() throws IOException {
private void readerReturnsReconstructedResponse() {
org.easymock.EasyMock.expect(mockResponseReader.getReconstructedResponse()).andReturn(
mockReconstructedResponse);
}

View File

@ -239,7 +239,7 @@ public class TestSizeLimitedResponseReader {
}
}
private void getReader() throws IOException {
private void getReader() {
impl = new SizeLimitedResponseReader(MAX_SIZE, mockResponse);
}