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); }