Avoid autobox warning

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@940058 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sebastian Bazley 2010-05-01 15:45:08 +00:00
parent 8e89d40f37
commit 882eae6219
1 changed files with 2 additions and 2 deletions

View File

@ -92,8 +92,8 @@ public class TestCachedHttpResponseGenerator {
Assert.assertTrue(response.containsHeader("Content-Length"));
Assert.assertSame("HTTP", response.getProtocolVersion().getProtocol());
Assert.assertSame(1, response.getProtocolVersion().getMajor());
Assert.assertSame(1, response.getProtocolVersion().getMinor());
Assert.assertEquals(1, response.getProtocolVersion().getMajor());
Assert.assertEquals(1, response.getProtocolVersion().getMinor());
}
@Test