Return-Path: X-Original-To: apmail-hc-commits-archive@www.apache.org Delivered-To: apmail-hc-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 46ABDD971 for ; Wed, 7 Nov 2012 02:47:46 +0000 (UTC) Received: (qmail 80310 invoked by uid 500); 7 Nov 2012 02:47:46 -0000 Delivered-To: apmail-hc-commits-archive@hc.apache.org Received: (qmail 80265 invoked by uid 500); 7 Nov 2012 02:47:46 -0000 Mailing-List: contact commits-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpComponents Project" Delivered-To: mailing list commits@hc.apache.org Received: (qmail 80257 invoked by uid 99); 7 Nov 2012 02:47:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Nov 2012 02:47:46 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Nov 2012 02:47:45 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id EB15C23888E7 for ; Wed, 7 Nov 2012 02:47:24 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1406425 - /httpcomponents/httpclient/trunk/httpclient-cache/src/test/java/org/apache/http/impl/client/cache/memcached/TestMemcachedHttpCacheStorage.java Date: Wed, 07 Nov 2012 02:47:24 -0000 To: commits@hc.apache.org From: sebb@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20121107024724.EB15C23888E7@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: sebb Date: Wed Nov 7 02:47:24 2012 New Revision: 1406425 URL: http://svn.apache.org/viewvc?rev=1406425&view=rev Log: Unthrown exceptions Modified: httpcomponents/httpclient/trunk/httpclient-cache/src/test/java/org/apache/http/impl/client/cache/memcached/TestMemcachedHttpCacheStorage.java Modified: httpcomponents/httpclient/trunk/httpclient-cache/src/test/java/org/apache/http/impl/client/cache/memcached/TestMemcachedHttpCacheStorage.java URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient-cache/src/test/java/org/apache/http/impl/client/cache/memcached/TestMemcachedHttpCacheStorage.java?rev=1406425&r1=1406424&r2=1406425&view=diff ============================================================================== --- httpcomponents/httpclient/trunk/httpclient-cache/src/test/java/org/apache/http/impl/client/cache/memcached/TestMemcachedHttpCacheStorage.java (original) +++ httpcomponents/httpclient/trunk/httpclient-cache/src/test/java/org/apache/http/impl/client/cache/memcached/TestMemcachedHttpCacheStorage.java Wed Nov 7 02:47:24 2012 @@ -129,7 +129,7 @@ public class TestMemcachedHttpCacheStora verifyMocks(); } - public void testThrowsIOExceptionWhenMemcachedPutTimesOut() throws IOException { + public void testThrowsIOExceptionWhenMemcachedPutTimesOut() { final String url = "foo"; final String key = "key"; final HttpCacheEntry value = HttpTestUtils.makeCacheEntry(); @@ -154,7 +154,7 @@ public class TestMemcachedHttpCacheStora } @Test - public void testCachePutThrowsIOExceptionIfCannotSerializeEntry() throws IOException { + public void testCachePutThrowsIOExceptionIfCannotSerializeEntry() { final String url = "foo"; final String key = "key"; final HttpCacheEntry value = HttpTestUtils.makeCacheEntry(); @@ -260,8 +260,7 @@ public class TestMemcachedHttpCacheStora } @Test - public void testThrowsIOExceptionIfMemcachedTimesOutOnGet() throws UnsupportedEncodingException, - IOException { + public void testThrowsIOExceptionIfMemcachedTimesOutOnGet() { final String url = "foo"; final String key = "key"; EasyMock.expect(mockKeyHashingScheme.hash(url)).andReturn(key); @@ -298,7 +297,7 @@ public class TestMemcachedHttpCacheStora } @Test - public void testCacheRemoveThrowsIOExceptionOnMemcachedTimeout() throws IOException { + public void testCacheRemoveThrowsIOExceptionOnMemcachedTimeout() { final String url = "foo"; final String key = "key"; EasyMock.expect(mockKeyHashingScheme.hash(url)).andReturn(key); @@ -423,8 +422,7 @@ public class TestMemcachedHttpCacheStora } @Test - public void testCacheUpdateThrowsExceptionsIfCASFailsEnoughTimes() throws IOException, - HttpCacheUpdateException { + public void testCacheUpdateThrowsExceptionsIfCASFailsEnoughTimes() throws IOException { final String url = "foo"; final String key = "key"; final HttpCacheEntry existingValue = HttpTestUtils.makeCacheEntry(); @@ -535,8 +533,7 @@ public class TestMemcachedHttpCacheStora @Test - public void testUpdateThrowsIOExceptionIfMemcachedTimesOut() throws IOException, - HttpCacheUpdateException { + public void testUpdateThrowsIOExceptionIfMemcachedTimesOut() throws HttpCacheUpdateException { final String url = "foo"; final String key = "key"; final HttpCacheEntry updatedValue = HttpTestUtils.makeCacheEntry();