From b51514deb69fc1ab3edefb8db4ed803adb7a808c Mon Sep 17 00:00:00 2001 From: Sebastian Bazley Date: Mon, 24 Feb 2014 21:24:53 +0000 Subject: [PATCH] Not thrown git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1571444 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/http/impl/conn/SessionInputBufferMock.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/httpclient/src/test/java/org/apache/http/impl/conn/SessionInputBufferMock.java b/httpclient/src/test/java/org/apache/http/impl/conn/SessionInputBufferMock.java index dd8120cf1..d96f6361f 100644 --- a/httpclient/src/test/java/org/apache/http/impl/conn/SessionInputBufferMock.java +++ b/httpclient/src/test/java/org/apache/http/impl/conn/SessionInputBufferMock.java @@ -99,7 +99,7 @@ public class SessionInputBufferMock extends SessionInputBufferImpl { public SessionInputBufferMock( final String s, - final Charset charset) throws UnsupportedEncodingException { + final Charset charset) { this(s.getBytes(charset), charset); }