hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r899517 - /httpcomponents/httpclient/trunk/httpclient/src/test/java/org/apache/http/impl/conn/TestDefaultResponseParser.java
Date Fri, 15 Jan 2010 02:13:17 GMT
Author: sebb
Date: Fri Jan 15 02:13:16 2010
New Revision: 899517

URL: http://svn.apache.org/viewvc?rev=899517&view=rev
Log:
Remove autoboxing

Modified:
    httpcomponents/httpclient/trunk/httpclient/src/test/java/org/apache/http/impl/conn/TestDefaultResponseParser.java

Modified: httpcomponents/httpclient/trunk/httpclient/src/test/java/org/apache/http/impl/conn/TestDefaultResponseParser.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/test/java/org/apache/http/impl/conn/TestDefaultResponseParser.java?rev=899517&r1=899516&r2=899517&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/test/java/org/apache/http/impl/conn/TestDefaultResponseParser.java
(original)
+++ httpcomponents/httpclient/trunk/httpclient/src/test/java/org/apache/http/impl/conn/TestDefaultResponseParser.java
Fri Jan 15 02:13:16 2010
@@ -104,7 +104,7 @@
     		"\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, 



Mime
View raw message