diff --git a/httpclient/src/test/java/org/apache/http/impl/conn/TestDefaultResponseParser.java b/httpclient/src/test/java/org/apache/http/impl/conn/TestDefaultResponseParser.java index 43eb08860..e4e73f962 100644 --- a/httpclient/src/test/java/org/apache/http/impl/conn/TestDefaultResponseParser.java +++ b/httpclient/src/test/java/org/apache/http/impl/conn/TestDefaultResponseParser.java @@ -104,7 +104,7 @@ public class TestDefaultResponseParser extends TestCase { "\r\n"; HttpParams params = new BasicHttpParams(); - params.setParameter(ConnConnectionPNames.MAX_STATUS_LINE_GARBAGE, 2); + params.setParameter(ConnConnectionPNames.MAX_STATUS_LINE_GARBAGE, Integer.valueOf(2)); SessionInputBuffer inbuffer = new SessionInputBufferMockup(s, "US-ASCII", params); HttpMessageParser parser = new DefaultResponseParser( inbuffer,