hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r940065 - in /httpcomponents/httpclient/trunk/httpclient-cache/src/test/java/org/apache/http/client/cache/impl: TestCachingHttpClient.java TestSizeLimitedResponseReader.java
Date Sat, 01 May 2010 16:04:28 GMT
Author: sebb
Date: Sat May  1 16:04:28 2010
New Revision: 940065

URL: http://svn.apache.org/viewvc?rev=940065&view=rev
Log:
Unthrown Exceptions

Modified:
    httpcomponents/httpclient/trunk/httpclient-cache/src/test/java/org/apache/http/client/cache/impl/TestCachingHttpClient.java
    httpcomponents/httpclient/trunk/httpclient-cache/src/test/java/org/apache/http/client/cache/impl/TestSizeLimitedResponseReader.java

Modified: httpcomponents/httpclient/trunk/httpclient-cache/src/test/java/org/apache/http/client/cache/impl/TestCachingHttpClient.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient-cache/src/test/java/org/apache/http/client/cache/impl/TestCachingHttpClient.java?rev=940065&r1=940064&r2=940065&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient-cache/src/test/java/org/apache/http/client/cache/impl/TestCachingHttpClient.java
(original)
+++ httpcomponents/httpclient/trunk/httpclient-cache/src/test/java/org/apache/http/client/cache/impl/TestCachingHttpClient.java
Sat May  1 16:04:28 2010
@@ -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);
     }

Modified: httpcomponents/httpclient/trunk/httpclient-cache/src/test/java/org/apache/http/client/cache/impl/TestSizeLimitedResponseReader.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient-cache/src/test/java/org/apache/http/client/cache/impl/TestSizeLimitedResponseReader.java?rev=940065&r1=940064&r2=940065&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient-cache/src/test/java/org/apache/http/client/cache/impl/TestSizeLimitedResponseReader.java
(original)
+++ httpcomponents/httpclient/trunk/httpclient-cache/src/test/java/org/apache/http/client/cache/impl/TestSizeLimitedResponseReader.java
Sat May  1 16:04:28 2010
@@ -239,7 +239,7 @@ public class TestSizeLimitedResponseRead
         }
     }
 
-    private void getReader() throws IOException {
+    private void getReader() {
         impl = new SizeLimitedResponseReader(MAX_SIZE, mockResponse);
     }
 



Mime
View raw message